1. 04 Apr, 2020 4 commits
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.7' of git://git.infradead.org/users/hch/dma-mapping · 6f43bae3
      Linus Torvalds authored
      Pull dma-mapping updates from Christoph Hellwig:
      
       - fix an integer overflow in the coherent pool (Kevin Grandemange)
      
       - provide support for in-place uncached remapping and use that for
         openrisc
      
       - fix the arm coherent allocator to take the bus limit into account
      
      * tag 'dma-mapping-5.7' of git://git.infradead.org/users/hch/dma-mapping:
        ARM/dma-mapping: merge __dma_supported into arm_dma_supported
        ARM/dma-mapping: take the bus limit into account in __dma_alloc
        ARM/dma-mapping: remove get_coherent_dma_mask
        openrisc: use the generic in-place uncached DMA allocator
        dma-direct: provide a arch_dma_clear_uncached hook
        dma-direct: make uncached_kernel_address more general
        dma-direct: consolidate the error handling in dma_direct_alloc_pages
        dma-direct: remove the cached_kernel_address hook
        dma-coherent: fix integer overflow in the reserved-memory dma allocation
      6f43bae3
    • Linus Torvalds's avatar
      Merge tag 'threads-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 1e396a5d
      Linus Torvalds authored
      Pull thread updates from Christian Brauner:
       "The main change for this cycle was the extension for clone3() to
        support spawning processes directly into cgroups via CLONE_INTO_CGROUP
        (commit ef2c41cf: "clone3: allow spawning processes
        into cgroups").
      
        But since I had to touch kernel/cgroup/ quite a bit I had Tejun route
        that through his tree this time around to make it easier for him to
        handle other changes.
      
        So here is just the unexciting leftovers: a regression test for the
        ENOMEM regression we fixed in commit b26ebfe1 ("pid: Fix error
        return value in some cases") verifying that we report ENOMEM when
        trying to create a new process in a pid namespace whose init
        process/subreaper has already exited"
      
      * tag 'threads-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        selftests: add pid namespace ENOMEM regression test
      1e396a5d
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.7-rc1' of git://github.com/awilliam/linux-vfio · 2fb732b3
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - vfio-pci SR-IOV support (Alex Williamson)
      
       - vfio DMA read/write interface (Yan Zhao)
      
       - Fix vfio-platform erroneous IRQ error log (Eric Auger)
      
       - Fix shared ATSD support for NVLink on POWER (Sam Bobroff)
      
       - Fix init error without CONFIG_IOMMU_DMA (Andre Przywara)
      
      * tag 'vfio-v5.7-rc1' of git://github.com/awilliam/linux-vfio:
        vfio: Ignore -ENODEV when getting MSI cookie
        vfio-pci/nvlink2: Allow fallback to ibm,mmio-atsd[0]
        vfio/pci: Cleanup .probe() exit paths
        vfio/pci: Remove dev_fmt definition
        vfio/pci: Add sriov_configure support
        vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user
        vfio/pci: Introduce VF token
        vfio/pci: Implement match ops
        vfio: Include optional device match in vfio_device_ops callbacks
        vfio: avoid inefficient operations on VFIO group in vfio_pin/unpin_pages
        vfio: introduce vfio_dma_rw to read/write a range of IOVAs
        vfio: allow external user to get vfio group from device
        vfio: platform: Switch to platform_get_irq_optional()
      2fb732b3
    • Linus Torvalds's avatar
      Merge tag 's390-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · ad0bf4eb
      Linus Torvalds authored
      Pull s390 updates from Vasily Gorbik:
      
       - Update maintainers. Niklas Schnelle takes over zpci and Vineeth
         Vijayan common io code.
      
       - Extend cpuinfo to include topology information.
      
       - Add new extended counters for IBM z15 and sampling buffer allocation
         rework in perf code.
      
       - Add control over zeroing out memory during system restart.
      
       - CCA protected key block version 2 support and other
         fixes/improvements in crypto code.
      
       - Convert to new fallthrough; annotations.
      
       - Replace zero-length arrays with flexible-arrays.
      
       - QDIO debugfs and other small improvements.
      
       - Drop 2-level paging support optimization for compat tasks. Varios mm
         cleanups.
      
       - Remove broken and unused hibernate / power management support.
      
       - Remove fake numa support which does not bring any benefits.
      
       - Exclude offline CPUs from CPU topology masks to be more consistent
         with other architectures.
      
       - Prevent last branching instruction address leaking to userspace.
      
       - Other small various fixes and improvements all over the code.
      
      * tag 's390-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (57 commits)
        s390/mm: cleanup init_new_context() callback
        s390/mm: cleanup virtual memory constants usage
        s390/mm: remove page table downgrade support
        s390/qdio: set qdio_irq->cdev at allocation time
        s390/qdio: remove unused function declarations
        s390/ccwgroup: remove pm support
        s390/ap: remove power management code from ap bus and drivers
        s390/zcrypt: use kvmalloc instead of kmalloc for 256k alloc
        s390/mm: cleanup arch_get_unmapped_area() and friends
        s390/ism: remove pm support
        s390/cio: use fallthrough;
        s390/vfio: use fallthrough;
        s390/zcrypt: use fallthrough;
        s390: use fallthrough;
        s390/cpum_sf: Fix wrong page count in error message
        s390/diag: fix display of diagnose call statistics
        s390/ap: Remove ap device suspend and resume callbacks
        s390/pci: Improve handling of unset UID
        s390/pci: Fix zpci_alloc_domain() over allocation
        s390/qdio: pass ISC as parameter to chsc_sadc()
        ...
      ad0bf4eb
  2. 03 Apr, 2020 23 commits
    • Linus Torvalds's avatar
      Merge tag 'arc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · 5364abc5
      Linus Torvalds authored
      Pull ARC updates from Vineet Gupta:
      
       - Support for DSP enabled userspace (save/restore regs)
      
       - Misc other platform fixes
      
      * tag 'arc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARC: allow userspace DSP applications to use AGU extensions
        ARC: add support for DSP-enabled userspace applications
        ARC: handle DSP presence in HW
        ARC: add helpers to sanitize config options
        ARC: [plat-axs10x]: PGU: remove unused encoder-slave property
      5364abc5
    • Linus Torvalds's avatar
      Merge tag 'arm-dt-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 854e80bc
      Linus Torvalds authored
      Pull ARM devicetree updates from Arnd Bergmann:
       "Most of the commits are for additional hardware support and minor
        fixes for existing machines for all the usual platforms: qcom,
        amlogic, at91, gemini, mediatek, ti, socfpga, i.mx, layerscape,
        uniphier, rockchip, exynos, ux500, mvebu, tegra, stm32, renesas,
        sunxi, broadcom, omap, and versatile.
      
        The conversion of binding files to machine-readable yaml format
        continues, along with fixes found during the validation. Andre
        Przywara takes over maintainership for the old Calxeda Highbank
        platform and provides a number of updates.
      
        The OMAP2+ platforms see a continued move from platform data into dts
        files, for many devices that relied on a mix of auxiliary data in
        addition to the DT description
      
        A moderate number of new SoCs and machines are added, here is a full
        list:
      
         - Two new Qualcomm SoCs with their evaluation boards: Snapdragon 865
           (SM8250) is the current high-end phone chip, and IPQ6018 is a new
           WiFi-6 router chip.
      
         - Mediatek MT8516 application processor SoC for voice assistants,
           along with the "pumpkin" development board
      
         - NXP i.MX8M Plus SoC, a variant of the popular i.MX8M, along with an
           evaluation board.
      
         - Kontron "sl28" board family based on NXP LS1028A
      
         - Eleven variations of the new i.MX6 TechNexion Pico board, combining
           the "dwarf", "hobbit", "nymph" and "pi" baseboards with i.MX6/i.MX7
           SoM carriers
      
         - Three additional variants of the Toradex Colibri board family, all
           based on versions of the NXP i.MX7.
      
         - The Pinebook Pro laptop based on Rockchip RK3399
      
         - Samsung S7710 Galaxy Xcover 2, a 2013 vintage Android phone based
           on the ST-Ericsson u8500 platform
      
         - DH Electronics DHCOM SoM and PDK2 rev. 400 carrier based on
           STMicroelectronics stm32mp157
      
         - Renesas M3ULCB starter kit for R-Car M3-W+
      
         - Hoperun HiHope development board with Renesas RZ/G2M
      
         - Pine64 PineTab tablet and PinePhone phone, both based on Allwinner
           A64
      
         - Linutronix Testbox v2 for the Lamobo R1 router, based on Allwinner
           A20
      
         - PocketBook Touch Lux 3 ebook reader, based on Allwinner A13"
      
      * tag 'arm-dt-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (520 commits)
        ARM: dts: ux500: Fix missing node renames
        arm64: dts: Revert "specify console via command line"
        MAINTAINERS: Update Calxeda Highbank maintainership
        arm: dts: calxeda: Group port-phys and sgpio-gpio items
        arm: dts: calxeda: Fix interrupt grouping
        arm: dts: calxeda: Provide UART clock
        arm: dts: calxeda: Basic DT file fixes
        arm64: dts: specify console via command line
        ARM: dts: at91: sama5d27_wlsom1_ek: add USB device node
        ARM: dts: gemini: Add thermal zone to DIR-685
        ARM: dts: gemini: Rename IDE nodes
        ARM: socfpga: arria10: Add ptp_ref clock to ethernet nodes
        arm64: dts: ti: k3-j721e-mcu: add scm node and phy-gmii-sel nodes
        arm64: dts: ti: k3-am65-mcu: add phy-gmii-sel node
        arm64: dts: ti: k3-am65-mcu: Add DMA entries for ADC
        arm64: dts: ti: k3-am65-main: Add DMA entries for main_spi0
        arm64: dts: ti: k3-j721e-mcu-wakeup: Add DMA entries for ADC
        arm64: dts: ti: k3-am65: Add clocks to dwc3 nodes
        arm64: dts: meson-g12b-odroid-n2: add SPIFC controller node
        arm64: dts: khadas-vim3: add SPIFC controller node
        ...
      854e80bc
    • Linus Torvalds's avatar
      Merge tag 'arm-defconfig-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 9b48c8f1
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "As usual, tons of new drivers and other options got merged and are now
        enabled in the defconfig files, usually as loadable modules"
      
      * tag 'arm-defconfig-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (45 commits)
        ARM: omap2plus_defconfig: Update for moved and dropped options
        ARM: omap2plus_defconfig: Enable ina2xx_adc as a loadable module
        ARM: omap2plus_defconfig: Enable McPDM optional PMIC clock as modules
        ARM: omap2plus_defconfig: Enable more droid4 devices as loadable modules
        ARM: omap2plus_defconfig: Enable zram as loadable modules
        ARM: omap2plus_defconfig: Enable simple-pm-bus
        arm64: defconfig: Enable Qualcomm SDM845 audio configs
        arm64: defconfig: Enable e1000 device
        arm64: defconfig: Enable PHY devices used on QorIQ boards
        arm64: defconfig: Enable RTC devices for QorIQ boards
        arm64: defconfig: Enable flash device drivers for QorIQ boards
        arm64: defconfig: Enable ARM Mali display driver
        arm64: defconfig: Enable QorIQ GPIO driver
        arm64: defconfig: Enable QorIQ IFC NAND controller driver
        arm64: defconfig: Enable ARM SBSA watchdog driver
        arm64: defconfig: Enable QorIQ cpufreq driver
        arm64: defconfig: Enable NXP/FSL SPI controller drivers
        arm64: defconfig: Enable ENETC Ethernet controller and FELIX switch
        arm64: defconfig: Enable QorIQ DPAA2 drivers
        arm64: defconfig: Enable QorIQ DPAA1 drivers
        ...
      9b48c8f1
    • Linus Torvalds's avatar
      Merge tag 'arm-drivers-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · d18292dc
      Linus Torvalds authored
      Pull ARM driver updates from Arnd Bergmann:
       "These are the usual updates for SoC specific device drivers and
        related subsystems that don't have their own top-level maintainers:
      
         - ARM SCMI/SCPI updates to allow pluggable transport layers
      
         - TEE subsystem cleanups
      
         - A new driver for the Amlogic secure power domain controller
      
         - Various driver updates for the NXP Layerscape DPAA2, NXP i.MX SCU
           and TI OMAP2+ sysc drivers.
      
         - Qualcomm SoC driver updates, including a new library module for
           "protection domain" notifications
      
         - Lots of smaller bugfixes and cleanups in other drivers"
      
      * tag 'arm-drivers-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (70 commits)
        soc: fsl: qe: fix sparse warnings for ucc_slow.c
        soc: fsl: qe: ucc_slow: remove 0 assignment for kzalloc'ed structure
        soc: fsl: qe: fix sparse warnings for ucc_fast.c
        soc: fsl: qe: fix sparse warnings for qe_ic.c
        soc: fsl: qe: fix sparse warnings for ucc.c
        soc: fsl: qe: fix sparse warning for qe_common.c
        soc: fsl: qe: fix sparse warnings for qe.c
        soc: qcom: Fix QCOM_APR dependencies
        soc: qcom: pdr: Avoid uninitialized use of found in pdr_indication_cb
        soc: imx: drop COMPILE_TEST for IMX_SCU_SOC
        firmware: imx: add COMPILE_TEST for IMX_SCU driver
        soc: imx: gpc: fix power up sequencing
        soc: imx: increase build coverage for imx8m soc driver
        soc: qcom: apr: Add avs/audio tracking functionality
        dt-bindings: soc: qcom: apr: Add protection domain bindings
        soc: qcom: Introduce Protection Domain Restart helpers
        devicetree: bindings: firmware: add ipq806x to qcom_scm
        memory: tegra: Correct debugfs clk rate-range on Tegra124
        memory: tegra: Correct debugfs clk rate-range on Tegra30
        memory: tegra: Correct debugfs clk rate-range on Tegra20
        ...
      d18292dc
    • Linus Torvalds's avatar
      Merge tag 'arm-soc-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 0e8fb69f
      Linus Torvalds authored
      Pull ARM SoC updates from Arnd Bergmann:
       "The code changes are mostly for 32-bit platforms and include:
      
         - Lots of updates for the Nvidia Tegra platform, including cpuidle,
           pmc, and dt-binding changes
      
         - Microchip at91 power management updates for the recently added
           sam9x60 SoC
      
         - Treewide setup_irq deprecation by afzal mohammed
      
         - STMicroelectronics stm32 gains earlycon support
      
         - Renesas platforms with Cortex-A9 can now use the global timer
      
         - Some TI OMAP2+ platforms gain cpuidle support
      
         - Various cleanups for the i.MX6 and Orion platforms, as well as
           Kconfig files across all platforms"
      
      * tag 'arm-soc-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (75 commits)
        ARM: qcom: Add support for IPQ40xx
        ARM: mmp: replace setup_irq() by request_irq()
        ARM: cns3xxx: replace setup_irq() by request_irq()
        ARM: spear: replace setup_irq() by request_irq()
        ARM: ep93xx: Replace setup_irq() by request_irq()
        ARM: iop32x: replace setup_irq() by request_irq()
        arm: mach-dove: Mark dove_io_desc as __maybe_unused
        ARM: orion: replace setup_irq() by request_irq()
        ARM: debug: stm32: add UART early console support for STM32MP1
        ARM: debug: stm32: add UART early console support for STM32H7
        ARM: debug: stm32: add UART early console configuration for STM32F7
        ARM: debug: stm32: add UART early console configuration for STM32F4
        cpuidle: tegra: Disable CC6 state if LP2 unavailable
        cpuidle: tegra: Squash Tegra114 driver into the common driver
        cpuidle: tegra: Squash Tegra30 driver into the common driver
        cpuidle: Refactor and move out NVIDIA Tegra20 driver into drivers/cpuidle
        ARM: tegra: cpuidle: Remove unnecessary memory barrier
        ARM: tegra: cpuidle: Make abort_flag atomic
        ARM: tegra: cpuidle: Handle case where secondary CPU hangs on entering LP2
        ARM: tegra: Make outer_disable() open-coded
        ...
      0e8fb69f
    • Linus Torvalds's avatar
      Merge tag 'for-5.7/dm-fixes' of... · de3c913c
      Linus Torvalds authored
      Merge tag 'for-5.7/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix excessive bio splitting that caused performance regressions
      
       - Fix logic bug in DM integrity discard support's integrity tag testing
      
       - Fix DM integrity warning on ppc64le due to missing cast
      
      * tag 'for-5.7/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm integrity: fix logic bug in integrity tag testing
        Revert "dm: always call blk_queue_split() in dm_process_bio()"
        dm integrity: fix ppc64le warning
      de3c913c
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 86f26a77
      Linus Torvalds authored
      Pull pci updates from Bjorn Helgaas:
       "Enumeration:
      
         - Revert sysfs "rescan" renames that broke apps (Kelsey Skunberg)
      
         - Add more 32 GT/s link speed decoding and improve the implementation
           (Yicong Yang)
      
        Resource management:
      
         - Add support for sizing programmable host bridge apertures and fix a
           related alpha Nautilus regression (Ivan Kokshaysky)
      
        Interrupts:
      
         - Add boot interrupt quirk mechanism for Xeon chipsets and document
           boot interrupts (Sean V Kelley)
      
        PCIe native device hotplug:
      
         - When possible, disable in-band presence detect and use PDS
           (Alexandru Gagniuc)
      
         - Add DMI table for devices that don't use in-band presence detection
           but don't advertise that correctly (Stuart Hayes)
      
         - Fix hang when powering slots up/down via sysfs (Lukas Wunner)
      
         - Fix an MSI interrupt race (Stuart Hayes)
      
        Virtualization:
      
         - Add ACS quirks for Zhaoxin devices (Raymond Pang)
      
        Error handling:
      
         - Add Error Disconnect Recover (EDR) support so firmware can report
           devices disconnected via DPC and we can try to recover (Kuppuswamy
           Sathyanarayanan)
      
        Peer-to-peer DMA:
      
         - Add Intel Sky Lake-E Root Ports B, C, D to the whitelist (Andrew
           Maier)
      
        ASPM:
      
         - Reduce severity of common clock config message (Chris Packham)
      
         - Clear the correct bits when enabling L1 substates, so we don't go
           to the wrong state (Yicong Yang)
      
        Endpoint framework:
      
         - Replace EPF linkup ops with notifier call chain and improve locking
           (Kishon Vijay Abraham I)
      
         - Fix concurrent memory allocation in OB address region (Kishon Vijay
           Abraham I)
      
         - Move PF function number assignment to EPC core to support multiple
           function creation methods (Kishon Vijay Abraham I)
      
         - Fix issue with clearing configfs "start" entry (Kunihiko Hayashi)
      
         - Fix issue with endpoint MSI-X ignoring BAR Indicator and Table
           Offset (Kishon Vijay Abraham I)
      
         - Add support for testing DMA transfers (Kishon Vijay Abraham I)
      
         - Add support for testing > 10 endpoint devices (Kishon Vijay Abraham I)
      
         - Add support for tests to clear IRQ (Kishon Vijay Abraham I)
      
         - Add common DT schema for endpoint controllers (Kishon Vijay Abraham I)
      
        Amlogic Meson PCIe controller driver:
      
         - Add DT bindings for AXG PCIe PHY, shared MIPI/PCIe analog PHY (Remi
           Pommarel)
      
         - Add Amlogic AXG PCIe PHY, AXG MIPI/PCIe analog PHY drivers (Remi
           Pommarel)
      
        Cadence PCIe controller driver:
      
         - Add Root Complex/Endpoint DT schema for Cadence PCIe (Kishon Vijay
           Abraham I)
      
        Intel VMD host bridge driver:
      
         - Add two VMD Device IDs that require bus restriction mode (Sushma
           Kalakota)
      
        Mobiveil PCIe controller driver:
      
         - Refactor and modularize mobiveil driver (Hou Zhiqiang)
      
         - Add support for Mobiveil GPEX Gen4 host (Hou Zhiqiang)
      
        Microsoft Hyper-V host bridge driver:
      
         - Add support for Hyper-V PCI protocol version 1.3 and
           PCI_BUS_RELATIONS2 (Long Li)
      
         - Refactor to prepare for virtual PCI on non-x86 architectures (Boqun
           Feng)
      
         - Fix memory leak in hv_pci_probe()'s error path (Dexuan Cui)
      
        NVIDIA Tegra PCIe controller driver:
      
         - Use pci_parse_request_of_pci_ranges() (Rob Herring)
      
         - Add support for endpoint mode and related DT updates (Vidya Sagar)
      
         - Reduce -EPROBE_DEFER error message log level (Thierry Reding)
      
        Qualcomm PCIe controller driver:
      
         - Restrict class fixup to specific Qualcomm devices (Bjorn Andersson)
      
        Synopsys DesignWare PCIe controller driver:
      
         - Refactor core initialization code for endpoint mode (Vidya Sagar)
      
         - Fix endpoint MSI-X to use correct table address (Kishon Vijay
           Abraham I)
      
        TI DRA7xx PCIe controller driver:
      
         - Fix MSI IRQ handling (Vignesh Raghavendra)
      
        TI Keystone PCIe controller driver:
      
         - Allow AM654 endpoint to raise MSI-X interrupt (Kishon Vijay Abraham I)
      
        Miscellaneous:
      
         - Quirk ASMedia XHCI USB to avoid "PME# from D0" defect (Kai-Heng
           Feng)
      
         - Use ioremap(), not phys_to_virt(), for platform ROM to fix video
           ROM mapping with CONFIG_HIGHMEM (Mikel Rychliski)"
      
      * tag 'pci-v5.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (96 commits)
        misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS
        PCI: tegra: Print -EPROBE_DEFER error message at debug level
        misc: pci_endpoint_test: Use full pci-endpoint-test name in request_irq()
        misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
        tools: PCI: Add 'e' to clear IRQ
        misc: pci_endpoint_test: Add ioctl to clear IRQ
        misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
        PCI: keystone: Allow AM654 PCIe Endpoint to raise MSI-X interrupt
        PCI: dwc: Fix dw_pcie_ep_raise_msix_irq() to get correct MSI-X table address
        PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments
        misc: pci_endpoint_test: Add support to get DMA option from userspace
        tools: PCI: Add 'd' command line option to support DMA
        misc: pci_endpoint_test: Use streaming DMA APIs for buffer allocation
        PCI: endpoint: functions/pci-epf-test: Print throughput information
        PCI: endpoint: functions/pci-epf-test: Add DMA support to transfer data
        PCI: pciehp: Fix MSI interrupt race
        PCI: pciehp: Fix indefinite wait on sysfs requests
        PCI: endpoint: Fix clearing start entry in configfs
        PCI: tegra: Add support for PCIe endpoint mode in Tegra194
        PCI: sysfs: Revert "rescan" file renames
        ...
      86f26a77
    • Arnd Bergmann's avatar
      Merge branch 'arm/late' into arm/dt · 8bdbf169
      Arnd Bergmann authored
      Include originally "late" updates for OMAP and Qualcomm,
      now that it's not late any more.
      
      * arm/late: (122 commits)
        ARM: OMAP2+: Drop legacy platform data for ti81xx edma
        ARM: dts: Configure interconnect target module for ti816x edma
        ARM: dts: Configure interconnect target module for dm814x tptc3
        ARM: dts: Configure interconnect target module for dm814x tptc2
        ARM: dts: Configure interconnect target module for dm814x tptc1
        ARM: dts: Configure interconnect target module for dm814x tptc0
        ARM: dts: Configure interconnect target module for dm814x tpcc
        ARM: OMAP2+: Drop legacy platform data for dm814x cpsw
        ARM: dts: Configure interconnect target module for dm814x cpsw
        clk: ti: Fix dm814x clkctrl for ethernet
        arm64: dts: qcom: sdm845-mtp: Relocate remoteproc firmware
        arm64: dts: sdm845: add IPA information
        arm64: dts: qcom: db845c: add analog audio support
        arm64: dts: qcom: sdm845: add pinctrl nodes for quat i2s
        arm64: dts: qcom: c630: Enable audio support
        arm64: dts: qcom: sdm845: add apr nodes
        arm64: dts: qcom: sdm845: add slimbus nodes
        arm64: dts: qcom: sc7180: Update reg names for SDHC
        arm64: dts: qcom: qcs404: Enable CQE support for eMMC
        arm64: dts: msm8916: Add fastrpc node
        ...
      8bdbf169
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 0ad5b053
      Linus Torvalds authored
      Pull char/misc driver updates from Greg KH:
       "Here is the big set of char/misc/other driver patches for 5.7-rc1.
      
        Lots of things in here, and it's later than expected due to some
        reverts to resolve some reported issues. All is now clean with no
        reported problems in linux-next.
      
        Included in here is:
         - interconnect updates
         - mei driver updates
         - uio updates
         - nvmem driver updates
         - soundwire updates
         - binderfs updates
         - coresight updates
         - habanalabs updates
         - mhi new bus type and core
         - extcon driver updates
         - some Kconfig cleanups
         - other small misc driver cleanups and updates
      
        As mentioned, all have been in linux-next for a while, and with the
        last two reverts, all is calm and good"
      
      * tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (174 commits)
        Revert "driver core: platform: Initialize dma_parms for platform devices"
        Revert "amba: Initialize dma_parms for amba devices"
        amba: Initialize dma_parms for amba devices
        driver core: platform: Initialize dma_parms for platform devices
        bus: mhi: core: Drop the references to mhi_dev in mhi_destroy_device()
        bus: mhi: core: Initialize bhie field in mhi_cntrl for RDDM capture
        bus: mhi: core: Add support for reading MHI info from device
        misc: rtsx: set correct pcr_ops for rts522A
        speakup: misc: Use dynamic minor numbers for speakup devices
        mei: me: add cedar fork device ids
        coresight: do not use the BIT() macro in the UAPI header
        Documentation: provide IBM contacts for embargoed hardware
        nvmem: core: remove nvmem_sysfs_get_groups()
        nvmem: core: use is_bin_visible for permissions
        nvmem: core: use device_register and device_unregister
        nvmem: core: add root_only member to nvmem device struct
        extcon: axp288: Add wakeup support
        extcon: Mark extcon_get_edev_name() function as exported symbol
        extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER
        dt-bindings: extcon: usbc-cros-ec: convert extcon-usbc-cros-ec.txt to yaml format
        ...
      0ad5b053
    • Linus Torvalds's avatar
      Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx · ff2ae607
      Linus Torvalds authored
      Pull SPDX updates from Greg KH:
       "Here are three SPDX patches for 5.7-rc1.
      
        One fixes up the SPDX tag for a single driver, while the other two go
        through the tree and add SPDX tags for all of the .gitignore files as
        needed.
      
        Nothing too complex, but you will get a merge conflict with your
        current tree, that should be trivial to handle (one file modified by
        two things, one file deleted.)
      
        All three of these have been in linux-next for a while, with no
        reported issues other than the merge conflict"
      
      * tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx:
        ASoC: MT6660: make spdxcheck.py happy
        .gitignore: add SPDX License Identifier
        .gitignore: remove too obvious comments
      ff2ae607
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 6cd3d401
      Linus Torvalds authored
      Pull xen updates from Juergen Gross:
      
       - a cleanup patch removing an unused function
      
       - a small fix for the xen pciback driver
      
       - a series for making the unwinder hyppay with the Xen PV guest idle
         task stacks
      
      * tag 'for-linus-5.7-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        x86/xen: Make the secondary CPU idle tasks reliable
        x86/xen: Make the boot CPU idle task reliable
        xen-pciback: fix INTERRUPT_TYPE_* defines
        xen/xenbus: remove unused xenbus_map_ring()
      6cd3d401
    • Linus Torvalds's avatar
      Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · 0adb8bc0
      Linus Torvalds authored
      Pull workqueue updates from Tejun Heo:
       "Nothing too interesting. Just two trivial patches"
      
      * 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: Mark up unlocked access to wq->first_flusher
        workqueue: Make workqueue_init*() return void
      0adb8bc0
    • Linus Torvalds's avatar
      Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · d8836005
      Linus Torvalds authored
      Pull cgroup updates from Tejun Heo:
      
       - Christian extended clone3 so that processes can be spawned into
         cgroups directly.
      
         This is not only neat in terms of semantics but also avoids grabbing
         the global cgroup_threadgroup_rwsem for migration.
      
       - Daniel added !root xattr support to cgroupfs.
      
         Userland already uses xattrs on cgroupfs for bookkeeping. This will
         allow delegated cgroups to support such usages.
      
       - Prateek tried to make cpuset hotplug handling synchronous but that
         led to possible deadlock scenarios. Reverted.
      
       - Other minor changes including release_agent_path handling cleanup.
      
      * 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        docs: cgroup-v1: Document the cpuset_v2_mode mount option
        Revert "cpuset: Make cpuset hotplug synchronous"
        cgroupfs: Support user xattrs
        kernfs: Add option to enable user xattrs
        kernfs: Add removed_size out param for simple_xattr_set
        kernfs: kvmalloc xattr value instead of kmalloc
        cgroup: Restructure release_agent_path handling
        selftests/cgroup: add tests for cloning into cgroups
        clone3: allow spawning processes into cgroups
        cgroup: add cgroup_may_write() helper
        cgroup: refactor fork helpers
        cgroup: add cgroup_get_from_file() helper
        cgroup: unify attach permission checking
        cpuset: Make cpuset hotplug synchronous
        cgroup.c: Use built-in RCU list checking
        kselftest/cgroup: add cgroup destruction test
        cgroup: Clean up css_set task traversal
      d8836005
    • Linus Torvalds's avatar
      Merge tag 'kgdb-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux · f2c3bec3
      Linus Torvalds authored
      Pull kgdb updates from Daniel Thompson:
       "Pretty quiet this cycle. Just a couple of small fixes from myself both
        of which were reviewed by Doug Anderson to keep me honest (thanks)"
      
      * tag 'kgdb-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
        kdb: Censor attempts to set PROMPT without ENABLE_MEM_READ
        kdb: Eliminate strncpy() warnings by replacing with strscpy()
      f2c3bec3
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · a943353d
      Linus Torvalds authored
      Pull ARM updates from Russell King:
      
       - replace setup_irq() with request_irq() for ebsa110, footbridge, rpc
      
       - fix clang assembly error in kexec code
      
       - remove .fixup section in boot stub
      
       - decompressor / EFI cache flushing updates
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 8966/1: rpc: replace setup_irq() by request_irq()
        ARM: 8965/2: footbridge: replace setup_irq() by request_irq()
        ARM: 8964/1: ebsa110: replace setup_irq() by request_irq()
        ARM: 8962/1: kexec: drop invalid assembly argument
        ARM: decompressor: switch to by-VA cache maintenance for v7 cores
        ARM: decompressor: prepare cache_clean_flush for doing by-VA maintenance
        ARM: decompressor: factor out routine to obtain the inflated image size
        ARM: 8959/1: Remove unused .fixup section in boot stub
        ARM: allow unwinder to unwind recursive functions
      a943353d
    • Nathan Chancellor's avatar
      remoteproc/omap: Fix set_load call in omap_rproc_request_timer · e6d05acd
      Nathan Chancellor authored
      When building arm allyesconfig:
      
      drivers/remoteproc/omap_remoteproc.c:174:44: error: too many arguments
      to function call, expected 2, have 3
              timer->timer_ops->set_load(timer->odt, 0, 0);
              ~~~~~~~~~~~~~~~~~~~~~~~~~~                ^
      1 error generated.
      
      This is due to commit 02e6d546 ("clocksource/drivers/timer-ti-dm:
      Enable autoreload in set_pwm") in the clockevents tree interacting with
      commit e28edc57 ("remoteproc/omap: Request a timer(s) for remoteproc
      usage") from the rpmsg tree.
      
      This should have been fixed during the merge of the remoteproc tree
      since it happened after the clockevents tree merge; however, it does not
      look like my email was noticed by either maintainer and I did not pay
      attention when the pull was sent since I was on CC.
      
      Fixes: c6570114 ("Merge tag 'rproc-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc")
      Link: https://lore.kernel.org/lkml/20200327185055.GA22438@ubuntu-m2-xlarge-x86/Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Acked-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e6d05acd
    • Mikulas Patocka's avatar
      dm integrity: fix logic bug in integrity tag testing · 8267d8fb
      Mikulas Patocka authored
      If all the bytes are equal to DISCARD_FILLER, we want to accept the
      buffer. If any of the bytes are different, we must do thorough
      tag-by-tag checking.
      
      The condition was inverted.
      
      Fixes: 84597a44 ("dm integrity: add optional discard support")
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      8267d8fb
    • Waiman Long's avatar
      docs: cgroup-v1: Document the cpuset_v2_mode mount option · 0c05b9bd
      Waiman Long authored
      The cpuset in cgroup v1 accepts a special "cpuset_v2_mode" mount
      option that make cpuset.cpus and cpuset.mems behave more like those in
      cgroup v2.  Document it to make other people more aware of this feature
      that can be useful in some circumstances.
      Signed-off-by: default avatarWaiman Long <longman@redhat.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      0c05b9bd
    • Mike Snitzer's avatar
      Revert "dm: always call blk_queue_split() in dm_process_bio()" · 120c9257
      Mike Snitzer authored
      This reverts commit effd58c9.
      
      blk_queue_split() is causing excessive IO splitting -- because
      blk_max_size_offset() depends on 'chunk_sectors' limit being set and
      if it isn't (as is the case for DM targets!) it falls back to
      splitting on a 'max_sectors' boundary regardless of offset.
      
      "Fix" this by reverting back to _not_ using blk_queue_split() in
      dm_process_bio() for normal IO (reads and writes).  Long-term fix is
      still TBD but it should focus on training blk_max_size_offset() to
      call into a DM provided hook (to call DM's max_io_len()).
      
      Test results from simple misaligned IO test on 4-way dm-striped device
      with chunksize of 128K and stripesize of 512K:
      
      xfs_io -d -c 'pread -b 2m 224s 4072s' /dev/mapper/stripe_dev
      
      before this revert:
      
      253,0   21        1     0.000000000  2206  Q   R 224 + 4072 [xfs_io]
      253,0   21        2     0.000008267  2206  X   R 224 / 480 [xfs_io]
      253,0   21        3     0.000010530  2206  X   R 224 / 256 [xfs_io]
      253,0   21        4     0.000027022  2206  X   R 480 / 736 [xfs_io]
      253,0   21        5     0.000028751  2206  X   R 480 / 512 [xfs_io]
      253,0   21        6     0.000033323  2206  X   R 736 / 992 [xfs_io]
      253,0   21        7     0.000035130  2206  X   R 736 / 768 [xfs_io]
      253,0   21        8     0.000039146  2206  X   R 992 / 1248 [xfs_io]
      253,0   21        9     0.000040734  2206  X   R 992 / 1024 [xfs_io]
      253,0   21       10     0.000044694  2206  X   R 1248 / 1504 [xfs_io]
      253,0   21       11     0.000046422  2206  X   R 1248 / 1280 [xfs_io]
      253,0   21       12     0.000050376  2206  X   R 1504 / 1760 [xfs_io]
      253,0   21       13     0.000051974  2206  X   R 1504 / 1536 [xfs_io]
      253,0   21       14     0.000055881  2206  X   R 1760 / 2016 [xfs_io]
      253,0   21       15     0.000057462  2206  X   R 1760 / 1792 [xfs_io]
      253,0   21       16     0.000060999  2206  X   R 2016 / 2272 [xfs_io]
      253,0   21       17     0.000062489  2206  X   R 2016 / 2048 [xfs_io]
      253,0   21       18     0.000066133  2206  X   R 2272 / 2528 [xfs_io]
      253,0   21       19     0.000067507  2206  X   R 2272 / 2304 [xfs_io]
      253,0   21       20     0.000071136  2206  X   R 2528 / 2784 [xfs_io]
      253,0   21       21     0.000072764  2206  X   R 2528 / 2560 [xfs_io]
      253,0   21       22     0.000076185  2206  X   R 2784 / 3040 [xfs_io]
      253,0   21       23     0.000077486  2206  X   R 2784 / 2816 [xfs_io]
      253,0   21       24     0.000080885  2206  X   R 3040 / 3296 [xfs_io]
      253,0   21       25     0.000082316  2206  X   R 3040 / 3072 [xfs_io]
      253,0   21       26     0.000085788  2206  X   R 3296 / 3552 [xfs_io]
      253,0   21       27     0.000087096  2206  X   R 3296 / 3328 [xfs_io]
      253,0   21       28     0.000093469  2206  X   R 3552 / 3808 [xfs_io]
      253,0   21       29     0.000095186  2206  X   R 3552 / 3584 [xfs_io]
      253,0   21       30     0.000099228  2206  X   R 3808 / 4064 [xfs_io]
      253,0   21       31     0.000101062  2206  X   R 3808 / 3840 [xfs_io]
      253,0   21       32     0.000104956  2206  X   R 4064 / 4096 [xfs_io]
      253,0   21       33     0.001138823     0  C   R 4096 + 200 [0]
      
      after this revert:
      
      253,0   18        1     0.000000000  4430  Q   R 224 + 3896 [xfs_io]
      253,0   18        2     0.000018359  4430  X   R 224 / 256 [xfs_io]
      253,0   18        3     0.000028898  4430  X   R 256 / 512 [xfs_io]
      253,0   18        4     0.000033535  4430  X   R 512 / 768 [xfs_io]
      253,0   18        5     0.000065684  4430  X   R 768 / 1024 [xfs_io]
      253,0   18        6     0.000091695  4430  X   R 1024 / 1280 [xfs_io]
      253,0   18        7     0.000098494  4430  X   R 1280 / 1536 [xfs_io]
      253,0   18        8     0.000114069  4430  X   R 1536 / 1792 [xfs_io]
      253,0   18        9     0.000129483  4430  X   R 1792 / 2048 [xfs_io]
      253,0   18       10     0.000136759  4430  X   R 2048 / 2304 [xfs_io]
      253,0   18       11     0.000152412  4430  X   R 2304 / 2560 [xfs_io]
      253,0   18       12     0.000160758  4430  X   R 2560 / 2816 [xfs_io]
      253,0   18       13     0.000183385  4430  X   R 2816 / 3072 [xfs_io]
      253,0   18       14     0.000190797  4430  X   R 3072 / 3328 [xfs_io]
      253,0   18       15     0.000197667  4430  X   R 3328 / 3584 [xfs_io]
      253,0   18       16     0.000218751  4430  X   R 3584 / 3840 [xfs_io]
      253,0   18       17     0.000226005  4430  X   R 3840 / 4096 [xfs_io]
      253,0   18       18     0.000250404  4430  Q   R 4120 + 176 [xfs_io]
      253,0   18       19     0.000847708     0  C   R 4096 + 24 [0]
      253,0   18       20     0.000855783     0  C   R 4120 + 176 [0]
      
      Fixes: effd58c9 ("dm: always call blk_queue_split() in dm_process_bio()")
      Cc: stable@vger.kernel.org
      Reported-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      Tested-by: default avatarBarry Marson <bmarson@redhat.com>
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      120c9257
    • Tejun Heo's avatar
      Revert "cpuset: Make cpuset hotplug synchronous" · 2b729fe7
      Tejun Heo authored
      This reverts commit a49e4629 ("cpuset: Make cpuset hotplug synchronous") as
      it may deadlock with cpu hotplug path.
      
      Link: http://lkml.kernel.org/r/F0388D99-84D7-453B-9B6B-EEFF0E7BE4CC@lca.pwSigned-off-by: default avatarTejun Heo <tj@kernel.org>
      Reported-by: default avatarQian Cai <cai@lca.pw>
      Cc: Prateek Sood <prsood@codeaurora.org>
      2b729fe7
    • Mike Snitzer's avatar
      dm integrity: fix ppc64le warning · e7fc1e57
      Mike Snitzer authored
      Otherwise:
      
      In file included from drivers/md/dm-integrity.c:13:
      drivers/md/dm-integrity.c: In function 'dm_integrity_status':
      drivers/md/dm-integrity.c:3061:10: error: format '%llu' expects
      argument of type 'long long unsigned int', but argument 4 has type
      'long int' [-Werror=format=]
         DMEMIT("%llu %llu",
                ^~~~~~~~~~~
          atomic64_read(&ic->number_of_mismatches),
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ./include/linux/device-mapper.h:550:46: note: in definition of macro 'DMEMIT'
            0 : scnprintf(result + sz, maxlen - sz, x))
                                                    ^
      cc1: all warnings being treated as errors
      
      Fixes: 7649194a ("dm integrity: remove sector type casts")
      Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
      e7fc1e57
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · bef7b2a7
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
      
       - Unit test for overlays with GPIO hogs
      
       - Improve dma-ranges parsing to handle dma-ranges with multiple entries
      
       - Update dtc to upstream version v1.6.0-2-g87a656ae5ff9
      
       - Improve overlay error reporting
      
       - Device link support for power-domains and hwlocks bindings
      
       - Add vendor prefixes for Beacon, Topwise, ENE, Dell, SG Micro, Elida,
         PocketBook, Xiaomi, Linutronix, OzzMaker, Waveshare Electronics, and
         ITE Tech
      
       - Add deprecated Marvell vendor prefix 'mrvl'
      
       - A bunch of binding conversions to DT schema continues. Of note, the
         common serial and USB connector bindings are converted.
      
       - Add more Arm CPU compatibles
      
       - Drop Mark Rutland as DT maintainer :(
      
      * tag 'devicetree-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (106 commits)
        MAINTAINERS: drop an old reference to stm32 pwm timers doc
        MAINTAINERS: dt: update etnaviv file reference
        dt-bindings: usb: dwc2: fix bindings for amlogic, meson-gxbb-usb
        dt-bindings: uniphier-system-bus: fix warning in the example
        dt-bindings: display: meson-vpu: fix indentation of reg-names' "items"
        dt-bindings: iio: Fix adi, ltc2983 uint64-matrix schema constraints
        dt-bindings: power: Fix example for power-domain
        dt-bindings: arm: Add some constraints for PSCI nodes
        of: some unittest overlays not untracked
        of: gpio unittest kfree() wrong object
        dt-bindings: phy: convert phy-rockchip-inno-usb2 bindings to yaml
        dt-bindings: serial: sh-sci: Convert to json-schema
        dt-bindings: serial: Document serialN aliases
        dt-bindings: thermal: tsens: Set 'additionalProperties: false'
        dt-bindings: thermal: tsens: Fix nvmem-cell-names schema
        dt-bindings: vendor-prefixes: Add Beacon vendor prefix
        dt-bindings: vendor-prefixes: Add Topwise
        of: of_private.h: Replace zero-length array with flexible-array member
        docs: dt: fix a broken reference to input.yaml
        docs: dt: fix references to ap806-system-controller.txt
        ...
      bef7b2a7
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 79f51b7b
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This series has a huge amount of churn because it pulls in Mauro's doc
        update changing all our txt files to rst ones.
      
        Excluding that, we have the usual driver updates (qla2xxx, ufs, lpfc,
        zfcp, ibmvfc, pm80xx, aacraid), a treewide update for scnprintf and
        some other minor updates.
      
        The major core change is Hannes moving functions out of the aacraid
        driver and into the core"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (223 commits)
        scsi: aic7xxx: aic97xx: Remove FreeBSD-specific code
        scsi: ufs: Do not rely on prefetched data
        scsi: dc395x: remove dc395x_bios_param
        scsi: libiscsi: Fix error count for active session
        scsi: hpsa: correct race condition in offload enabled
        scsi: message: fusion: Replace zero-length array with flexible-array member
        scsi: qedi: Add PCI shutdown handler support
        scsi: qedi: Add MFW error recovery process
        scsi: ufs: Enable block layer runtime PM for well-known logical units
        scsi: ufs-qcom: Override devfreq parameters
        scsi: ufshcd: Let vendor override devfreq parameters
        scsi: ufshcd: Update the set frequency to devfreq
        scsi: ufs: Resume ufs host before accessing ufs device
        scsi: ufs-mediatek: customize the delay for enabling host
        scsi: ufs: make HCE polling more compact to improve initialization latency
        scsi: ufs: allow custom delay prior to host enabling
        scsi: ufs-mediatek: use common delay function
        scsi: ufs: introduce common and flexible delay function
        scsi: ufs: use an enum for host capabilities
        scsi: ufs: fix uninitialized tx_lanes in ufshcd_disable_tx_lcc()
        ...
      79f51b7b
  3. 02 Apr, 2020 13 commits
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · e109f506
      Linus Torvalds authored
      Pull MTD updates from Miquel Raynal:
       "MTD core changes:
         - Fix issue where write_cached_data() fails but write() still returns
           success
      
         - maps: sa1100-flash: Replace zero-length array with flexible-array
           member
      
         - phram: Fix a double free issue in error path
      
         - Convert fallthrough comments into statements
      
         - MAINTAINERS: Add the IRC channel to the MTD related subsystems
      
        Raw NAND core changes:
         - Add support for manufacturer specific suspend/resume operation
      
         - Add support for manufacturer specific lock/unlock operation
      
         - Replace zero-length array with flexible-array member
      
         - Fix a typo ("manufecturer")
      
         - Ensure nand_soft_waitrdy wait period is enough
      
        Raw NAND controller driver changes:
         - Brcmnand:
             * Add support for flash-edu for dma transfers (+ bindings)
      
         - Cadence:
             * Reinit completion before executing a new command
             * Change bad block marker size
             * Fix the calculation of the avaialble OOB size
             * Get meta data size from registers
      
         - Qualcom:
             * Use dma_request_chan() instead dma_request_slave_channel()
             * Release resources on failure within qcom_nandc_alloc()
      
         - Allwinner:
             * Use dma_request_chan() instead dma_request_slave_channel()
      
         - Marvell:
             * Use dma_request_chan() instead dma_request_slave_channel()
             * Release DMA channel on error
      
         - Freescale:
             * Use dma_request_chan() instead dma_request_slave_channel()
      
         - Macronix:
             * Add support for Macronix NAND randomizer (+ bindings)
      
         - Ams-delta:
             * Rename structures and functions to gpio_nand*
             * Make the driver custom I/O ready
             * Drop useless local variable
             * Support custom driver initialisation
             * Add module device tables
             * Handle more GPIO pins as optional
             * Make read pulses optional
             * Don't hardcode read/write pulse widths
             * Push inversion handling to gpiolib
             * Enable OF partition info support
             * Drop board specific partition info
             * Use struct gpio_nand_platdata
             * Write protect device during probe
      
         - Ingenic:
             * Use devm_platform_ioremap_resource()
             * Add dependency on MIPS || COMPILE_TEST
      
         - Denali:
             * Deassert write protect pin
      
         - ST:
             * Use dma_request_chan() instead dma_request_slave_channel()
      
        Raw NAND chip driver changes:
         - Toshiba:
             * Support reading the number of bitflips for BENAND (Built-in ECC NAND)
      
         - Macronix:
             * Add support for deep power down mode
             * Add support for block protection
      
        SPI-NAND core changes:
         - Do not erase the block before writing a bad block marker
      
         - Explicitly use MTD_OPS_RAW to write the bad block marker to OOB
      
         - Stop using spinand->oobbuf for buffering bad block markers
      
         - Rework detect procedure for different READ_ID operation
      
        SPI-NAND driver changes:
         - Toshiba:
             * Support for new Kioxia Serial NAND
             * Rename function name to change suffix and prefix (8Gbit)
             * Add comment about Kioxia ID
      
         - Micron:
             * Add new Micron SPI NAND devices with multiple dies
             * Add M70A series Micron SPI NAND devices
             * identify SPI NAND device with Continuous Read mode
             * Add new Micron SPI NAND devices
             * Describe the SPI NAND device MT29F2G01ABAGD
             * Generalize the OOB layout structure and function names
      
        SPI NOR core changes:
         - Move all the manufacturer specific quirks/code out of the core, to
           make the core logic more readable and thus ease maintenance.
      
         - Move the SFDP logic out of the core, it provides a better
           separation between the SFDP parsing and core logic.
      
         - Trim what is exposed in spi-nor.h. The SPI NOR controllers drivers
           must not be able to use structures that are meant just for the SPI
           NOR core.
      
         - Use the spi-mem direct mapping API to let advanced controllers
           optimize the read/write operations when they support direct
           mapping.
      
         - Add generic formula for the Status Register block protection
           handling. It fixes some long standing locking limitations and eases
           the addition of the 4bit block protection support.
      
         - Add block protection support for flashes with 4 block protection
           bits in the Status Register.
      
        SPI NOR controller drivers changes:
         - The mtk-quadspi driver is replaced by the new spi-mem spi-mtk-nor
           driver.
      
         - Merge tag 'mtk-mtd-spi-move' into spi-nor/next to avoid conflicts.
      
        HyperBus changes:
         - Print error msg when compatible is wrong or missing
      
         - Move mapping of direct access window from core to individual
           drivers"
      
      * tag 'mtd/for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (103 commits)
        mtd: Convert fallthrough comments into statements
        mtd: rawnand: toshiba: Support reading the number of bitflips for BENAND (Built-in ECC NAND)
        MAINTAINERS: Add the IRC channel to the MTD related subsystems
        mtd: Fix issue where write_cached_data() fails but write() still returns success
        mtd: maps: sa1100-flash: Replace zero-length array with flexible-array member
        mtd: phram: fix a double free issue in error path
        mtd: spinand: toshiba: Support for new Kioxia Serial NAND
        mtd: spinand: toshiba: Rename function name to change suffix and prefix (8Gbit)
        mtd: rawnand: macronix: Add support for deep power down mode
        mtd: rawnand: Add support for manufacturer specific suspend/resume operation
        mtd: spi-nor: Enable locking for n25q512ax3/n25q512a
        mtd: spi-nor: Add SR 4bit block protection support
        mtd: spi-nor: Add generic formula for SR block protection handling
        mtd: spi-nor: Set all BP bits to one when lock_len == mtd->size
        mtd: spi-nor: controllers: aspeed-smc: Replace zero-length array with flexible-array member
        mtd: spi-nor: Clear WEL bit when erase or program errors occur
        MAINTAINERS: update entry after SPI NOR controller move
        mtd: spi-nor: Trim what is exposed in spi-nor.h
        mtd: spi-nor: Drop the MFR definitions
        mtd: spi-nor: Get rid of the now empty spi_nor_ids[] table
        ...
      e109f506
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-5.7-rc1' of git://git.infradead.org/users/vkoul/slave-dma · e964f1e0
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "Core:
         - Some code cleanup and optimization in core by Andy
      
         - Debugfs support for displaying dmaengine channels by Peter
      
        Drivers:
         - New driver for uniphier-xdmac controller
      
         - Updates to stm32 dma, mdma and dmamux drivers and PM support
      
         - More updates to idxd drivers
      
         - Bunch of changes in tegra-apb driver and cleaning up of pm
           functions
      
         - Bunch of spelling fixes and Replace zero-length array patches
      
         - Shutdown hook for fsl-dpaa2-qdma driver
      
         - Support for interleaved transfers for ti-edma and virtualization
           support for k3-dma driver
      
         - Support for reset and updates in xilinx_dma driver
      
         - Improvements and locking updates in at_hdma driver"
      
      * tag 'dmaengine-5.7-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (89 commits)
        dt-bindings: dma: renesas,usb-dmac: add r8a77961 support
        dmaengine: uniphier-xdmac: Remove redandant error log for platform_get_irq
        dmaengine: tegra-apb: Improve DMA synchronization
        dmaengine: tegra-apb: Don't save/restore IRQ flags in interrupt handler
        dmaengine: tegra-apb: mark PM functions as __maybe_unused
        dmaengine: fix spelling mistake "exceds" -> "exceeds"
        dmaengine: sprd: Set request pending flag when DMA controller is active
        dmaengine: ppc4xx: Use scnprintf() for avoiding potential buffer overflow
        dmaengine: idxd: remove global token limit check
        dmaengine: idxd: reflect shadow copy of traffic class programming
        dmaengine: idxd: Merge definition of dsa_batch_desc into dsa_hw_desc
        dmaengine: Create debug directories for DMA devices
        dmaengine: ti: k3-udma: Implement custom dbg_summary_show for debugfs
        dmaengine: Add basic debugfs support
        dmaengine: fsl-dpaa2-qdma: remove set but not used variable 'dpaa2_qdma'
        dmaengine: ti: edma: fix null dereference because of a typo in pointer name
        dmaengine: fsl-dpaa2-qdma: Adding shutdown hook
        dmaengine: uniphier-xdmac: Add UniPhier external DMA controller driver
        dt-bindings: dmaengine: Add UniPhier external DMA controller bindings
        dmaengine: ti: k3-udma: Implement support for atype (for virtualization)
        ...
      e964f1e0
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 5c8db3eb
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "I2C has:
      
         - using defines for bus speeds to avoid mistakes in hardcoded values;
           lots of small driver updates because of that. Thanks, Andy!
      
         - API change: i2c_setup_smbus_alert() was renamed to
           i2c_new_smbus_alert_device() and returns ERRPTR now. All in-tree
           users have been converted
      
         - in the core, a rare race condition when deleting the cdev has been
           fixed. Thanks, Kevin!
      
         - lots of driver updates. Thanks, everyone!
      
        I also want to mention: The amount of review and testing tags given
        was quite high this time. Thank you to these people, too. I hope we
        can keep it like this!"
      
      * 'i2c/for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (34 commits)
        i2c: rcar: clean up after refactoring i2c_timings
        macintosh: convert to i2c_new_scanned_device
        i2c: drivers: Use generic definitions for bus frequencies
        i2c: algo: Use generic definitions for bus frequencies
        i2c: stm32f7: switch to I²C generic property parsing
        i2c: rcar: Consolidate timings calls in rcar_i2c_clock_calculate()
        i2c: core: Allow override timing properties with 0
        i2c: core: Provide generic definitions for bus frequencies
        i2c: mxs: Use dma_request_chan() instead dma_request_slave_channel()
        i2c: imx: remove duplicate print after platform_get_irq()
        i2c: designware: Fix spelling typos in the comments
        i2c: designware: Discard i2c_dw_read_comp_param() function
        i2c: designware: Detect the FIFO size in the common code
        i2c: dev: Fix the race between the release of i2c_dev and cdev
        i2c: qcom-geni: Drop of_platform.h include
        i2c: qcom-geni: Grow a dev pointer to simplify code
        i2c: qcom-geni: Let firmware specify irq trigger flags
        i2c: stm32f7: do not backup read-only PECR register
        i2c: smbus: remove outdated references to irq level triggers
        i2c: convert SMBus alert setup function to return an ERRPTR
        ...
      5c8db3eb
    • Linus Torvalds's avatar
      Merge tag 'sound-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 848960e5
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "This became again a busy development cycle.  There are few ALSA core
        updates (merely API cleanups and sparse fixes), with the majority of
        other changes are found in ASoC scene.
      
        Here are some highlights:
      
        ALSA core:
         - More helper macros for sparse warning fixes (e.g. bitwise types)
         - Slight optimization of PCM OSS locks
         - Make common handling for PCM / compress buffers (for SOF)
      
        ASoC:
         - Lots of code refactoring and modernization for (still ongoing)
           componentization works
         - Conversion of SND_SOC_ALL_CODECS to use imply
         - Continued refactoring and fixing of the Intel SOF/SST support,
           including the initial (but still incomplete) SoundWire support
         - SoundWire and more advanced clocking support for Realtek RT5682
         - Support for amlogic GX, Meson 8, Meson 8B and T9015 DAC, Broadcom
           DSL/PON, Ingenic JZ4760 and JZ4770, Realtek RL6231, and TI TAS2563
           and TLV320ADCX140
      
        HD-audio:
         - Optimizations in HDMI jack handling
         - A few new quirks and fixups for Realtek codecs
      
        USB-audio:
         - Delayed registration support
         - New quirks for Motu, Kingston, Presonus"
      
      * tag 'sound-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (415 commits)
        ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptor
        Revert "ALSA: uapi: Drop asound.h inclusion from asoc.h"
        ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups
        ALSA: hda/realtek - Set principled PC Beep configuration for ALC256
        ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
        ALSA: hda/realtek - a fake key event is triggered by running shutup
        ALSA: hda: default enable CA0132 DSP support
        ASoC: amd: acp3x-pcm-dma: clean up two indentation issues
        ASoC: tlv320adcx140: Remove undocumented property
        ASoC: Intel: sof_sdw: Add Volteer support with RT5682 SNDW helper function
        ASoC: Intel: common: add match table for TGL RT5682 SoundWire driver
        ASoC: Intel: boards: add sof_sdw machine driver
        ASoC: Intel: soc-acpi: update topology and driver name for SoundWire platforms
        ASoC: rt5682: move DAI clock registry to I2S mode
        ASoC: pxa: magician: convert to use i2c_new_client_device()
        ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing capabilities
        Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq thread
        ASoC: SOF: Intel: hda: add WAKEEN interrupt support for SoundWire
        ASoC: SOF: Intel: hda: add parameter to control SoundWire clock stop quirks
        ASoC: SOF: Intel: hda: merge IPC, stream and SoundWire interrupt handlers
        ...
      848960e5
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · bc3b3f4b
      Linus Torvalds authored
      Pull pin control updates from Linus Walleij:
       "This is the bulk of pin control changes for the v5.7 kernel cycle.
      
        There are no core changes this time, only driver developments:
      
         - New driver for the Dialog Semiconductor DA9062 Power Management
           Integrated Circuit (PMIC).
      
         - Renesas SH-PFC has improved consistency, with group and register
           checks in the configuration checker.
      
         - New subdriver for the Qualcomm IPQ6018.
      
         - Add the RGMII pin control functionality to Qualcomm IPQ8064.
      
         - Performance and code quality cleanups in the Mediatek driver.
      
         - Improve the Broadcom BCM2835 support to cover all the GPIOs that
           exist in it.
      
         - The Allwinner/Sunxi driver properly masks non-wakeup IRQs on
           suspend.
      
         - Add some missing groups and functions to the Ingenic driver.
      
         - Convert some of the Freescale device tree bindings to use the new
           and all improved JSON YAML markup.
      
         - Refactorings and support for the SFIO/GPIO in the Tegra194 SoC
           driver.
      
         - Support high impedance mode in the Spreadtrum/Unisoc driver"
      
      * tag 'pinctrl-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (64 commits)
        pinctrl: qcom: fix compilation error
        pinctrl: qcom: use scm_call to route GPIO irq to Apps
        pinctrl: sprd: Add pin high impedance mode support
        pinctrl: sprd: Use the correct pin output configuration
        pinctrl: tegra: Add SFIO/GPIO programming on Tegra194
        pinctrl: tegra: Renumber the GG.0 and GG.1 pins
        pinctrl: tegra: Do not add default pin range on Tegra194
        pinctrl: tegra: Pass struct tegra_pmx for pin range check
        pinctrl: tegra: Fix "Scmitt" -> "Schmitt" typo
        pinctrl: tegra: Fix whitespace issues for improved readability
        pinctrl: mediatek: Use scnprintf() for avoiding potential buffer overflow
        pinctrl: freescale: drop the dependency on ARM64 for i.MX8M
        Revert "pinctrl: mvebu: armada-37xx: use use platform api"
        dt-bindings: pinctrl: at91: Fix a typo ("descibe")
        pinctrl: meson: add tsin pinctrl for meson gxbb/gxl/gxm
        pinctrl: sprd: Fix the kconfig warning
        pinctrl: ingenic: add hdmi-ddc pin control group
        pinctrl: sirf/atlas7: Replace zero-length array with flexible-array member
        pinctrl: sprd: Allow the SPRD pinctrl driver building into a module
        pinctrl: Export some needed symbols at module load time
        ...
      bc3b3f4b
    • Linus Torvalds's avatar
      Merge tag 'hwlock-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc · 11786191
      Linus Torvalds authored
      Pull hwspinlock updates from Bjorn Andersson:
       "This marks all hwspinlock driver COMPILE_TESTable and replaces the
        zero-length array in hwspinlock_device with a flexible-array member"
      
      * tag 'hwlock-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc:
        hwspinlock: hwspinlock_internal.h: Replace zero-length array with flexible-array member
        hwspinlock: Allow drivers to be built with COMPILE_TEST
      11786191
    • Linus Torvalds's avatar
      Merge tag 'rproc-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc · c6570114
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
      
       - a range of improvements to the OMAP remoeteproc driver; among other
         things adding devicetree, suspend/resume and watchdog support, and
         adds support the remoteprocs in the DRA7xx SoC
      
       - support for 64-bit firmware, extends the ELF loader to support this
         and fixes for a number of race conditions in the recovery handling
      
       - a generic mechanism to allow remoteproc drivers to sync state with
         remote processors during a panic, and uses this to prepare Qualcomm
         remote processors for post mortem analysis
      
       - fixes to cleanly recover from crashes in the modem firmware on
         production Qualcomm devices
      
      * tag 'rproc-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc: (37 commits)
        remoteproc/omap: Switch to SPDX license identifiers
        remoteproc/omap: Add watchdog functionality for remote processors
        remoteproc/omap: Report device exceptions and trigger recovery
        remoteproc/omap: Add support for runtime auto-suspend/resume
        remoteproc/omap: Add support for system suspend/resume
        remoteproc/omap: Request a timer(s) for remoteproc usage
        remoteproc/omap: Check for undefined mailbox messages
        remoteproc/omap: Remove the platform_data header
        remoteproc/omap: Add support for DRA7xx remote processors
        remoteproc/omap: Initialize and assign reserved memory node
        remoteproc/omap: Add the rproc ops .da_to_va() implementation
        remoteproc/omap: Add support to parse internal memories from DT
        remoteproc/omap: Add a sanity check for DSP boot address alignment
        remoteproc/omap: Add device tree support
        dt-bindings: remoteproc: Add OMAP remoteproc bindings
        remoteproc: qcom: Introduce panic handler for PAS and ADSP
        remoteproc: qcom: q6v5: Add common panic handler
        remoteproc: Introduce "panic" callback in ops
        remoteproc: Traverse rproc_list under RCU read lock
        remoteproc: Fix NULL pointer dereference in rproc_virtio_notify
        ...
      c6570114
    • Linus Torvalds's avatar
      Merge branch 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu · ac438771
      Linus Torvalds authored
      Pull percpu updates from Dennis Zhou:
       "This is just a few documentation fixes for percpu refcount and bitmap
        helpers that went in v5.6, and moving my emails to all be at korg"
      
      * 'for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
        percpu: update copyright emails to dennis@kernel.org
        include/bitmap.h: add new functions to documentation
        include/bitmap.h: add missing parameter in docs
        percpu_ref: Fix comment regarding percpu_ref_init flags
      ac438771
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 8c1b724d
      Linus Torvalds authored
      Pull kvm updates from Paolo Bonzini:
       "ARM:
         - GICv4.1 support
      
         - 32bit host removal
      
        PPC:
         - secure (encrypted) using under the Protected Execution Framework
           ultravisor
      
        s390:
         - allow disabling GISA (hardware interrupt injection) and protected
           VMs/ultravisor support.
      
        x86:
         - New dirty bitmap flag that sets all bits in the bitmap when dirty
           page logging is enabled; this is faster because it doesn't require
           bulk modification of the page tables.
      
         - Initial work on making nested SVM event injection more similar to
           VMX, and less buggy.
      
         - Various cleanups to MMU code (though the big ones and related
           optimizations were delayed to 5.8). Instead of using cr3 in
           function names which occasionally means eptp, KVM too has
           standardized on "pgd".
      
         - A large refactoring of CPUID features, which now use an array that
           parallels the core x86_features.
      
         - Some removal of pointer chasing from kvm_x86_ops, which will also
           be switched to static calls as soon as they are available.
      
         - New Tigerlake CPUID features.
      
         - More bugfixes, optimizations and cleanups.
      
        Generic:
         - selftests: cleanups, new MMU notifier stress test, steal-time test
      
         - CSV output for kvm_stat"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (277 commits)
        x86/kvm: fix a missing-prototypes "vmread_error"
        KVM: x86: Fix BUILD_BUG() in __cpuid_entry_get_reg() w/ CONFIG_UBSAN=y
        KVM: VMX: Add a trampoline to fix VMREAD error handling
        KVM: SVM: Annotate svm_x86_ops as __initdata
        KVM: VMX: Annotate vmx_x86_ops as __initdata
        KVM: x86: Drop __exit from kvm_x86_ops' hardware_unsetup()
        KVM: x86: Copy kvm_x86_ops by value to eliminate layer of indirection
        KVM: x86: Set kvm_x86_ops only after ->hardware_setup() completes
        KVM: VMX: Configure runtime hooks using vmx_x86_ops
        KVM: VMX: Move hardware_setup() definition below vmx_x86_ops
        KVM: x86: Move init-only kvm_x86_ops to separate struct
        KVM: Pass kvm_init()'s opaque param to additional arch funcs
        s390/gmap: return proper error code on ksm unsharing
        KVM: selftests: Fix cosmetic copy-paste error in vm_mem_region_move()
        KVM: Fix out of range accesses to memslots
        KVM: X86: Micro-optimize IPI fastpath delay
        KVM: X86: Delay read msr data iff writes ICR MSR
        KVM: PPC: Book3S HV: Add a capability for enabling secure guests
        KVM: arm64: GICv4.1: Expose HW-based SGIs in debugfs
        KVM: arm64: GICv4.1: Allow non-trapping WFI when using HW SGIs
        ...
      8c1b724d
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2020-04-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f14a9532
      Linus Torvalds authored
      Pull x86 fix from Ingo Molnar:
       "A single fix addressing Sparse warnings. <asm/bitops.h> is changed
        non-trivially to avoid the warnings, but generated code is not
        supposed to be affected"
      
      * tag 'x86-urgent-2020-04-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Fix bitops.h warning with a moved cast
      f14a9532
    • Linus Torvalds's avatar
      Merge branch 'next-integrity' of... · 7f218319
      Linus Torvalds authored
      Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
      
      Pull integrity updates from Mimi Zohar:
       "Just a couple of updates for linux-5.7:
      
         - A new Kconfig option to enable IMA architecture specific runtime
           policy rules needed for secure and/or trusted boot, as requested.
      
         - Some message cleanup (eg. pr_fmt, additional error messages)"
      
      * 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        ima: add a new CONFIG for loading arch-specific policies
        integrity: Remove duplicate pr_fmt definitions
        IMA: Add log statements for failure conditions
        IMA: Update KBUILD_MODNAME for IMA files to ima
      7f218319
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 6cad420c
      Linus Torvalds authored
      Merge updates from Andrew Morton:
       "A large amount of MM, plenty more to come.
      
        Subsystems affected by this patch series:
         - tools
         - kthread
         - kbuild
         - scripts
         - ocfs2
         - vfs
         - mm: slub, kmemleak, pagecache, gup, swap, memcg, pagemap, mremap,
               sparsemem, kasan, pagealloc, vmscan, compaction, mempolicy,
               hugetlbfs, hugetlb"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (155 commits)
        include/linux/huge_mm.h: check PageTail in hpage_nr_pages even when !THP
        mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS
        selftests/vm: fix map_hugetlb length used for testing read and write
        mm/hugetlb: remove unnecessary memory fetch in PageHeadHuge()
        mm/hugetlb.c: clean code by removing unnecessary initialization
        hugetlb_cgroup: add hugetlb_cgroup reservation docs
        hugetlb_cgroup: add hugetlb_cgroup reservation tests
        hugetlb: support file_region coalescing again
        hugetlb_cgroup: support noreserve mappings
        hugetlb_cgroup: add accounting for shared mappings
        hugetlb: disable region_add file_region coalescing
        hugetlb_cgroup: add reservation accounting for private mappings
        mm/hugetlb_cgroup: fix hugetlb_cgroup migration
        hugetlb_cgroup: add interface for charge/uncharge hugetlb reservations
        hugetlb_cgroup: add hugetlb_cgroup reservation counter
        hugetlbfs: Use i_mmap_rwsem to address page fault/truncate race
        hugetlbfs: use i_mmap_rwsem for more pmd sharing synchronization
        mm/memblock.c: remove redundant assignment to variable max_addr
        mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
        mm: mempolicy: use VM_BUG_ON_VMA in queue_pages_test_walk()
        ...
      6cad420c
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.7-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 7be97138
      Linus Torvalds authored
      Pull xfs updates from Darrick Wong:
       "There's a lot going on this cycle with cleanups in the log code, the
        btree code, and the xattr code.
      
        We're tightening of metadata validation and online fsck checking, and
        introducing a common btree rebuilding library so that we can refactor
        xfs_repair and introduce online repair in a future cycle.
      
        We also fixed a few visible bugs -- most notably there's one in
        getdents that we introduced in 5.6; and a fix for hangs when disabling
        quotas.
      
        This series has been running fstests & other QA in the background for
        over a week and looks good so far.
      
        I anticipate sending a second pull request next week. That batch will
        change how xfs interacts with memory reclaim; how the log batches and
        throttles log items; how hard writes near ENOSPC will try to squeeze
        more space out of the filesystem; and hopefully fix the last of the
        umount hangs after a catastrophic failure. That should ease a lot of
        problems when running at the limits, but for now I'm leaving that in
        for-next for another week to make sure we got all the subtleties
        right.
      
        Summary:
      
         - Fix a hard to trigger race between iclog error checking and log
           shutdown.
      
         - Strengthen the AGF verifier.
      
         - Ratelimit some of the more spammy error messages.
      
         - Remove the icdinode uid/gid members and just use the ones in the
           vfs inode.
      
         - Hold ILOCK across insert/collapse range.
      
         - Clean up the extended attribute interfaces.
      
         - Clean up the attr flags mess.
      
         - Restore PF_MEMALLOC after exiting xfsaild thread to avoid
           triggering warnings in the process accounting code.
      
         - Remove the flexibly-sized array from struct xfs_agfl to eliminate
           compiler warnings about unaligned pointers and packed structures.
      
         - Various macro and typedef removals.
      
         - Stale metadata buffers if we decide they're corrupt outside of a
           verifier.
      
         - Check directory data/block/free block owners.
      
         - Fix a UAF when aborting inactivation of a corrupt xattr fork.
      
         - Teach online scrub to report failed directory and attr name lookups
           as a metadata corruption instead of a runtime error.
      
         - Avoid potential buffer overflows in sysfs files by using scnprintf.
      
         - Fix a regression in getdents lookups due to a mistake in pointer
           arithmetic.
      
         - Refactor btree cursor private data structures to use anonymous
           unions.
      
         - Cleanups in the log unmounting code.
      
         - Fix a potential mishandling of ENOMEM errors on multi-block
           directory buffer lookups.
      
         - Fix an incorrect test in the block allocation code.
      
         - Cleanups and name prefix shortening in the scrub code.
      
         - Introduce btree bulk loading code for online repair and scrub.
      
         - Fix a quotaoff log item leak (and hang) when the fs goes down
           midway through a quotaoff operation.
      
         - Remove di_version from the incore inode.
      
         - Refactor some of the log shutdown checking code.
      
         - Record the forcing of the log unmount records in the log force
           counters.
      
         - Fix a longstanding bug where quotacheck would purge the
           administrator's default quota grace interval and warning limits.
      
         - Reduce memory usage when scrubbing directory and xattr trees.
      
         - Don't let fsfreeze race with GETFSMAP or online scrub.
      
         - Handle bio_add_page failures more gracefully in xlog_write_iclog"
      
      * tag 'xfs-5.7-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (108 commits)
        xfs: prohibit fs freezing when using empty transactions
        xfs: shutdown on failure to add page to log bio
        xfs: directory bestfree check should release buffers
        xfs: drop all altpath buffers at the end of the sibling check
        xfs: preserve default grace interval during quotacheck
        xfs: remove xlog_state_want_sync
        xfs: move the ioerror check out of xlog_state_clean_iclog
        xfs: refactor xlog_state_clean_iclog
        xfs: remove the aborted parameter to xlog_state_done_syncing
        xfs: simplify log shutdown checking in xfs_log_release_iclog
        xfs: simplify the xfs_log_release_iclog calling convention
        xfs: factor out a xlog_wait_on_iclog helper
        xfs: merge xlog_cil_push into xlog_cil_push_work
        xfs: remove the di_version field from struct icdinode
        xfs: simplify a check in xfs_ioctl_setattr_check_cowextsize
        xfs: simplify di_flags2 inheritance in xfs_ialloc
        xfs: only check the superblock version for dinode size calculation
        xfs: add a new xfs_sb_version_has_v3inode helper
        xfs: fix unmount hang and memory leak on shutdown during quotaoff
        xfs: factor out quotaoff intent AIL removal and memory free
        ...
      7be97138