1. 23 10月, 2020 7 次提交
    • L
      Merge tag 'pwm/for-5.10-rc1' of... · ceae608a
      Linus Torvalds 提交于
      Merge tag 'pwm/for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm updates from Thierry Reding:
       "This release cycle's updates are mostly cleanup and some minor fixes"
      
      * tag 'pwm/for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
        dt-bindings: pwm: renesas,pwm-rcar: Add r8a7742 support
        dt-bindings: pwm: renesas,tpu-pwm: Document r8a7742 support
        pwm: Allow store 64-bit duty cycle from sysfs interface
        pwm: img: Fix null pointer access in probe
        pwm: pca9685: Disable unused alternative addresses
        pwm: pca9685: Use BIT() macro instead of shift
        pwm: pca9685: Make comments more consistent
        pwm: sun4i: Simplify with dev_err_probe()
        pwm: sprd: Simplify with dev_err_probe()
        pwm: sifive: Simplify with dev_err_probe()
        pwm: rockchip: Simplify with dev_err_probe()
        pwm: jz4740: Simplify with dev_err_probe()
        pwm: bcm2835: Simplify with dev_err_probe()
        pwm: Convert to use DEFINE_SEQ_ATTRIBUTE macro
        pwm: rockchip: Keep enabled PWMs running while probing
        dt-bindings: pwm: renesas,pwm-rcar: Add r8a774e1 support
      ceae608a
    • L
      Merge tag 'pci-v5.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 00937f36
      Linus Torvalds 提交于
      Pull PCI updates from Bjorn Helgaas:
       "Enumeration:
         - Print IRQ number used by PCIe Link Bandwidth Notification (Dongdong
           Liu)
         - Add schedule point in pci_read_config() to reduce max latency
           (Jiang Biao)
         - Add Kconfig options for MPS/MRRS strategy (Jim Quinlan)
      
        Resource management:
         - Fix pci_iounmap() memory leak when !CONFIG_GENERIC_IOMAP (Lorenzo
           Pieralisi)
      
        PCIe native device hotplug:
         - Reduce noisiness on hot removal (Lukas Wunner)
      
        Power management:
         - Revert "PCI/PM: Apply D2 delay as milliseconds, not microseconds"
           that was done on the basis of spec typo (Bjorn Helgaas)
         - Rename pci_dev.d3_delay to d3hot_delay to remove D3hot/D3cold
           ambiguity (Krzysztof Wilczyński)
         - Remove unused pcibios_pm_ops (Vaibhav Gupta)
      
        IOMMU:
         - Enable Translation Blocking for external devices to harden against
           DMA attacks (Rajat Jain)
      
        Error handling:
         - Add an ACPI APEI notifier chain for vendor CPER records to enable
           device-specific error handling (Shiju Jose)
      
        ASPM:
         - Remove struct aspm_register_info to simplify code (Saheed O.
           Bolarinwa)
      
        Amlogic Meson PCIe controller driver:
         - Build as module by default (Kevin Hilman)
      
        Ampere Altra PCIe controller driver:
         - Add MCFG quirk to work around non-standard ECAM implementation
           (Tuan Phan)
      
        Broadcom iProc PCIe controller driver:
         - Set affinity mask on MSI interrupts (Mark Tomlinson)
      
        Broadcom STB PCIe controller driver:
         - Make PCIE_BRCMSTB depend on ARCH_BRCMSTB (Jim Quinlan)
         - Add DT bindings for more Brcmstb chips (Jim Quinlan)
         - Add bcm7278 register info (Jim Quinlan)
         - Add bcm7278 PERST# support (Jim Quinlan)
         - Add suspend and resume pm_ops (Jim Quinlan)
         - Add control of rescal reset (Jim Quinlan)
         - Set additional internal memory DMA viewport sizes (Jim Quinlan)
         - Accommodate MSI for older chips (Jim Quinlan)
         - Set bus max burst size by chip type (Jim Quinlan)
         - Add support for bcm7211, bcm7216, bcm7445, bcm7278 (Jim Quinlan)
      
        Freescale i.MX6 PCIe controller driver:
         - Use dev_err_probe() to reduce redundant messages (Anson Huang)
      
        Freescale Layerscape PCIe controller driver:
         - Enforce 4K DMA buffer alignment in endpoint test (Hou Zhiqiang)
         - Add DT compatible strings for ls1088a, ls2088a (Xiaowei Bao)
         - Add endpoint support for ls1088a, ls2088a (Xiaowei Bao)
         - Add endpoint test support for lS1088a (Xiaowei Bao)
         - Add MSI-X support for ls1088a (Xiaowei Bao)
      
        HiSilicon HIP PCIe controller driver:
         - Handle HIP-specific errors via ACPI APEI (Yicong Yang)
      
        HiSilicon Kirin PCIe controller driver:
         - Return -EPROBE_DEFER if the GPIO isn't ready (Bean Huo)
      
        Intel VMD host bridge driver:
         - Factor out physical offset, bus offset, IRQ domain, IRQ allocation
           (Jon Derrick)
         - Use generic PCI PM correctly (Jon Derrick)
      
        Marvell Aardvark PCIe controller driver:
         - Fix compilation on s390 (Pali Rohár)
         - Implement driver 'remove' function and allow to build it as module
           (Pali Rohár)
         - Move PCIe reset card code to advk_pcie_train_link() (Pali Rohár)
         - Convert mvebu a3700 internal SMCC firmware return codes to errno
           (Pali Rohár)
         - Fix initialization with old Marvell's Arm Trusted Firmware (Pali
           Rohár)
      
        Microsoft Hyper-V host bridge driver:
         - Fix hibernation in case interrupts are not re-created (Dexuan Cui)
      
        NVIDIA Tegra PCIe controller driver:
         - Stop checking return value of debugfs_create() functions (Greg
           Kroah-Hartman)
         - Convert to use DEFINE_SEQ_ATTRIBUTE macro (Liu Shixin)
      
        Qualcomm PCIe controller driver:
         - Reset PCIe to work around Qsdk U-Boot issue (Ansuel Smith)
      
        Renesas R-Car PCIe controller driver:
         - Add DT documentation for r8a774a1, r8a774b1, r8a774e1 endpoints
           (Lad Prabhakar)
         - Add RZ/G2M, RZ/G2N, RZ/G2H IDs to endpoint test (Lad Prabhakar)
         - Add DT support for r8a7742 (Lad Prabhakar)
      
        Socionext UniPhier Pro5 controller driver:
         - Add DT descriptions of iATU register (host and endpoint) (Kunihiko
           Hayashi)
      
        Synopsys DesignWare PCIe controller driver:
         - Add link up check in dw_child_pcie_ops.map_bus() (racy, but seems
           unavoidable) (Hou Zhiqiang)
         - Fix endpoint Header Type check so multi-function devices work (Hou
           Zhiqiang)
         - Skip PCIE_MSI_INTR0* programming if MSI is disabled (Jisheng Zhang)
         - Stop leaking MSI page in suspend/resume (Jisheng Zhang)
         - Add common iATU register support instead of keystone-specific code
           (Kunihiko Hayashi)
         - Major config space access and other cleanups in dwc core and
           drivers that use it (al, exynos, histb, imx6, intel-gw, keystone,
           kirin, meson, qcom, tegra) (Rob Herring)
         - Add multiple PFs support for endpoint (Xiaowei Bao)
         - Add MSI-X doorbell mode in endpoint mode (Xiaowei Bao)
      
        Miscellaneous:
         - Use fallthrough pseudo-keyword (Gustavo A. R. Silva)
         - Fix "0 used as NULL pointer" warnings (Gustavo Pimentel)
         - Fix "cast truncates bits from constant value" warnings (Gustavo
           Pimentel)
         - Remove redundant zeroing for sg_init_table() (Julia Lawall)
         - Use scnprintf(), not snprintf(), in sysfs "show" functions
           (Krzysztof Wilczyński)
         - Remove unused assignments (Krzysztof Wilczyński)
         - Fix "0 used as NULL pointer" warning (Krzysztof Wilczyński)
         - Simplify bool comparisons (Krzysztof Wilczyński)
         - Use for_each_child_of_node() and for_each_node_by_name() (Qinglang
           Miao)
         - Simplify return expressions (Qinglang Miao)"
      
      * tag 'pci-v5.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (147 commits)
        PCI: vmd: Update VMD PM to correctly use generic PCI PM
        PCI: vmd: Create IRQ allocation helper
        PCI: vmd: Create IRQ Domain configuration helper
        PCI: vmd: Create bus offset configuration helper
        PCI: vmd: Create physical offset helper
        PCI: v3-semi: Remove unneeded break
        PCI: dwc: Add link up check in dw_child_pcie_ops.map_bus()
        PCI/ASPM: Remove struct pcie_link_state.l1ss
        PCI/ASPM: Remove struct aspm_register_info.l1ss_cap
        PCI/ASPM: Pass L1SS Capabilities value, not struct aspm_register_info
        PCI/ASPM: Remove struct aspm_register_info.l1ss_ctl1
        PCI/ASPM: Remove struct aspm_register_info.l1ss_ctl2 (unused)
        PCI/ASPM: Remove struct aspm_register_info.l1ss_cap_ptr
        PCI/ASPM: Remove struct aspm_register_info.latency_encoding
        PCI/ASPM: Remove struct aspm_register_info.enabled
        PCI/ASPM: Remove struct aspm_register_info.support
        PCI/ASPM: Use 'parent' and 'child' for readability
        PCI/ASPM: Move LTR path check to where it's used
        PCI/ASPM: Move pci_clear_and_set_dword() earlier
        PCI: dwc: Fix MSI page leakage in suspend/resume
        ...
      00937f36
    • L
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 96485e44
      Linus Torvalds 提交于
      Pull ext4 updates from Ted Ts'o:
       "The siginificant new ext4 feature this time around is Harshad's new
        fast_commit mode.
      
        In addition, thanks to Mauricio for fixing a race where mmap'ed pages
        that are being changed in parallel with a data=journal transaction
        commit could result in bad checksums in the failure that could cause
        journal replays to fail.
      
        Also notable is Ritesh's buffered write optimization which can result
        in significant improvements on parallel write workloads. (The kernel
        test robot reported a 330.6% improvement on fio.write_iops on a 96
        core system using DAX)
      
        Besides that, we have the usual miscellaneous cleanups and bug fixes"
      
      Link: https://lore.kernel.org/r/20200925071217.GO28663@shao2-debian
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (46 commits)
        ext4: fix invalid inode checksum
        ext4: add fast commit stats in procfs
        ext4: add a mount opt to forcefully turn fast commits on
        ext4: fast commit recovery path
        jbd2: fast commit recovery path
        ext4: main fast-commit commit path
        jbd2: add fast commit machinery
        ext4 / jbd2: add fast commit initialization
        ext4: add fast_commit feature and handling for extended mount options
        doc: update ext4 and journalling docs to include fast commit feature
        ext4: Detect already used quota file early
        jbd2: avoid transaction reuse after reformatting
        ext4: use the normal helper to get the actual inode
        ext4: fix bs < ps issue reported with dioread_nolock mount opt
        ext4: data=journal: write-protect pages on j_submit_inode_data_buffers()
        ext4: data=journal: fixes for ext4_page_mkwrite()
        jbd2, ext4, ocfs2: introduce/use journal callbacks j_submit|finish_inode_data_buffers()
        jbd2: introduce/export functions jbd2_journal_submit|finish_inode_data_buffers()
        ext4: introduce ext4_sb_bread_unmovable() to replace sb_bread_unmovable()
        ext4: use ext4_sb_bread() instead of sb_bread()
        ...
      96485e44
    • L
      Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · f56e65df
      Linus Torvalds 提交于
      Pull initial set_fs() removal from Al Viro:
       "Christoph's set_fs base series + fixups"
      
      * 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: Allow a NULL pos pointer to __kernel_read
        fs: Allow a NULL pos pointer to __kernel_write
        powerpc: remove address space overrides using set_fs()
        powerpc: use non-set_fs based maccess routines
        x86: remove address space overrides using set_fs()
        x86: make TASK_SIZE_MAX usable from assembly code
        x86: move PAGE_OFFSET, TASK_SIZE & friends to page_{32,64}_types.h
        lkdtm: remove set_fs-based tests
        test_bitmap: remove user bitmap tests
        uaccess: add infrastructure for kernel builds with set_fs()
        fs: don't allow splice read/write without explicit ops
        fs: don't allow kernel reads and writes without iter ops
        sysctl: Convert to iter interfaces
        proc: add a read_iter method to proc proc_ops
        proc: cleanup the compat vs no compat file ops
        proc: remove a level of indentation in proc_get_inode
      f56e65df
    • L
      Merge tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linux · 24717cfb
      Linus Torvalds 提交于
      Pull nfsd updates from Bruce Fields:
       "The one new feature this time, from Anna Schumaker, is READ_PLUS,
        which has the same arguments as READ but allows the server to return
        an array of data and hole extents.
      
        Otherwise it's a lot of cleanup and bugfixes"
      
      * tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linux: (43 commits)
        NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy
        SUNRPC: fix copying of multiple pages in gss_read_proxy_verf()
        sunrpc: raise kernel RPC channel buffer size
        svcrdma: fix bounce buffers for unaligned offsets and multiple pages
        nfsd: remove unneeded break
        net/sunrpc: Fix return value for sysctl sunrpc.transports
        NFSD: Encode a full READ_PLUS reply
        NFSD: Return both a hole and a data segment
        NFSD: Add READ_PLUS hole segment encoding
        NFSD: Add READ_PLUS data support
        NFSD: Hoist status code encoding into XDR encoder functions
        NFSD: Map nfserr_wrongsec outside of nfsd_dispatch
        NFSD: Remove the RETURN_STATUS() macro
        NFSD: Call NFSv2 encoders on error returns
        NFSD: Fix .pc_release method for NFSv2
        NFSD: Remove vestigial typedefs
        NFSD: Refactor nfsd_dispatch() error paths
        NFSD: Clean up nfsd_dispatch() variables
        NFSD: Clean up stale comments in nfsd_dispatch()
        NFSD: Clean up switch statement in nfsd_dispatch()
        ...
      24717cfb
    • L
      Merge tag 'exfat-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat · 9b06f57b
      Linus Torvalds 提交于
      Pull exfat updates from Namjae Jeon:
      
       - Replace memcpy with structure assignment
      
       - Remove unneeded codes and use helper function i_blocksize()
      
       - Fix typos found by codespell
      
      * tag 'exfat-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
        exfat: remove useless check in exfat_move_file()
        exfat: remove 'rwoffset' in exfat_inode_info
        exfat: replace memcpy with structure assignment
        exfat: remove useless directory scan in exfat_add_entry()
        exfat: eliminate dead code in exfat_find()
        exfat: use i_blocksize() to get blocksize
        exfat: fix misspellings using codespell tool
      9b06f57b
    • L
      Merge tag '9p-for-5.10-rc1' of git://github.com/martinetd/linux · 334d431f
      Linus Torvalds 提交于
      Pull 9p updates from Dominique Martinet:
       "A couple of small fixes (loff_t overflow on 32bit, syzbot
        uninitialized variable warning) and code cleanup (xen)"
      
      * tag '9p-for-5.10-rc1' of git://github.com/martinetd/linux:
        net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
        9p/xen: Fix format argument warning
        9P: Cast to loff_t before multiplying
      334d431f
  2. 22 10月, 2020 22 次提交
  3. 21 10月, 2020 11 次提交
    • B
      Merge branch 'remotes/lorenzo/pci/xilinx' · 28e34e75
      Bjorn Helgaas 提交于
      - Remove leftover bridge initialization (Lorenzo Pieralisi)
      
      * remotes/lorenzo/pci/xilinx:
        PCI: xilinx-cpm: Remove leftover bridge initialization
      28e34e75
    • B
      Merge branch 'remotes/lorenzo/pci/xgene' · 4c0e51f8
      Bjorn Helgaas 提交于
      - Remove unused assignment (Krzysztof Wilczyński)
      
      * remotes/lorenzo/pci/xgene:
        PCI: xgene: Remove unused assignment to variable msi_val
      4c0e51f8
    • B
      Merge branch 'pci/vmd' · a2340daa
      Bjorn Helgaas 提交于
      - Add physical offset helper (Jon Derrick)
      
      - Add bus offset configuration helper (Jon Derrick)
      
      - Add IRQ domain configuration helper (Jon Derrick)
      
      - Add IRQ allocation helper (Jon Derrick)
      
      - Drop pci_save_state()/pci_restore_state() in favor of the PCI core PM
        (Jon Derrick)
      
      * pci/vmd:
        PCI: vmd: Update VMD PM to correctly use generic PCI PM
        PCI: vmd: Create IRQ allocation helper
        PCI: vmd: Create IRQ Domain configuration helper
        PCI: vmd: Create bus offset configuration helper
        PCI: vmd: Create physical offset helper
      a2340daa
    • B
      Merge branch 'remotes/lorenzo/pci/tegra' · 214b2e04
      Bjorn Helgaas 提交于
      - Drop return value checking for debugfs_create() calls (Greg
        Kroah-Hartman)
      
      - Convert debugfs "ports" file to use DEFINE_SEQ_ATTRIBUTE() (Liu Shixin)
      
      * remotes/lorenzo/pci/tegra:
        PCI: tegra: Convert to use DEFINE_SEQ_ATTRIBUTE macro
        PCI: tegra: No need to check return value of debugfs_create() functions
      214b2e04
    • B
      Merge branch 'remotes/lorenzo/pci/rcar' · f95f023d
      Bjorn Helgaas 提交于
      - Document R8A774A1, R8A774B1, R8A774E1 endpoint support in DT (Lad
        Prabhakar)
      
      - Add R8A774A1, R8A774B1, R8A774E1 (RZ/G2M, RZ/G2N, RZ/G2H) IDs to endpoint
        test (Lad Prabhakar)
      
      - Add device tree support for R8A7742 (Lad Prabhakar)
      
      - Use "fallthrough" pseudo-keyword (Gustavo A. R. Silva)
      
      * remotes/lorenzo/pci/rcar:
        dt-bindings: PCI: rcar: Add device tree support for r8a7742
        PCI: rcar-gen2: Use fallthrough pseudo-keyword
        misc: pci_endpoint_test: Add Device ID for RZ/G2H PCIe controller
        dt-bindings: pci: rcar-pci-ep: Document r8a774e1
        misc: pci_endpoint_test: Add Device ID for RZ/G2M and RZ/G2N PCIe controllers
        dt-bindings: pci: rcar-pci-ep: Document r8a774a1 and r8a774b1
      f95f023d
    • B
      Merge branch 'remotes/lorenzo/pci/qcom' · 3b353982
      Bjorn Helgaas 提交于
      - Make sure PCIe is reset before init to work around QSDK U-Boot issue
        (Ansuel Smith)
      
      - Set iproc affinity mask on MSI interrupts (Mark Tomlinson)
      
      * remotes/lorenzo/pci/qcom:
        PCI: qcom: Make sure PCIe is reset before init for rev 2.1.0
      3b353982
    • B
      Merge branch 'remotes/lorenzo/pci/mvebu' · be36e9b9
      Bjorn Helgaas 提交于
      - Remove useless msi_controller pointer allocation (Lorenzo Pieralisi)
      
      * remotes/lorenzo/pci/mvebu:
        PCI: mvebu: Remove useless msi_controller pointer allocation
      be36e9b9
    • B
      Merge branch 'remotes/lorenzo/pci/mobiveil' · 4f317eac
      Bjorn Helgaas 提交于
      - Simplify mobiveil_pcie_init_irq_domain() (Liu Shixin)
      
      * remotes/lorenzo/pci/mobiveil:
        PCI: mobiveil: Simplify mobiveil_pcie_init_irq_domain() return expression
      4f317eac
    • B
      Merge branch 'remotes/lorenzo/pci/meson' · 92f27db7
      Bjorn Helgaas 提交于
      - Add pci-meson module support and enable by default on ARCH_MESON (Kevin
        Hilman)
      
      * remotes/lorenzo/pci/meson:
        PCI: meson: Build as module by default
      92f27db7
    • B
      Merge branch 'remotes/lorenzo/pci/loongson' · 1f287b5c
      Bjorn Helgaas 提交于
      * remotes/lorenzo/pci/loongson:
        PCI: loongson: Simplify loongson_pci_probe() return expression
      1f287b5c
    • B
      Merge branch 'remotes/lorenzo/pci/kirin' · 29828fc2
      Bjorn Helgaas 提交于
      - Return -EPROBE_DEFER in case the gpio isn't ready (Bean Huo)
      
      * remotes/lorenzo/pci/kirin:
        PCI: kirin: Return -EPROBE_DEFER in case the gpio isn't ready
      29828fc2