1. 15 Mar, 2024 23 commits
    • Linus Torvalds's avatar
      Merge tag 'block-6.9-20240315' of git://git.kernel.dk/linux · 277100b3
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Revert of a change for mq-deadline that went into the 6.8 release,
         causing a performance regression for some (Bart)
      
       - Revert of the interruptible discard handling. This needs more work
         since the ioctl and fs path aren't properly split, and will happen
         for the 6.10 kernel release. For 6.9, do the minimal revert
         (Christoph)
      
       - Fix for an issue with the timestamp caching code (me)
      
       - kerneldoc fix (Jiapeng)
      
      * tag 'block-6.9-20240315' of git://git.kernel.dk/linux:
        block: fix mismatched kerneldoc function name
        Revert "blk-lib: check for kill signal"
        Revert "block/mq-deadline: use correct way to throttling write requests"
        block: limit block time caching to in_task() context
      277100b3
    • Linus Torvalds's avatar
      Merge tag 'v6.9-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · c8e76996
      Linus Torvalds authored
      Pull crypto updates from Herbert Xu:
       "API:
      
         - Avoid unnecessary copying in scomp for trivial SG lists
      
        Algorithms:
      
         - Optimise NEON CCM implementation on ARM64
      
        Drivers:
      
         - Add queue stop/query debugfs support in hisilicon/qm
      
         - Intel qat updates and cleanups"
      
      * tag 'v6.9-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (79 commits)
        Revert "crypto: remove CONFIG_CRYPTO_STATS"
        crypto: scomp - remove memcpy if sg_nents is 1 and pages are lowmem
        crypto: tcrypt - add ffdhe2048(dh) test
        crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
        crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
        hwrng: hisi - use dev_err_probe
        MAINTAINERS: Remove T Ambarus from few mchp entries
        crypto: iaa - Fix comp/decomp delay statistics
        crypto: iaa - Fix async_disable descriptor leak
        dt-bindings: rng: atmel,at91-trng: add sam9x7 TRNG
        dt-bindings: crypto: add sam9x7 in Atmel TDES
        dt-bindings: crypto: add sam9x7 in Atmel SHA
        dt-bindings: crypto: add sam9x7 in Atmel AES
        crypto: remove CONFIG_CRYPTO_STATS
        crypto: dh - Make public key test FIPS-only
        crypto: rockchip - fix to check return value
        crypto: jitter - fix CRYPTO_JITTERENTROPY help text
        crypto: qat - make ring to service map common for QAT GEN4
        crypto: qat - fix ring to service map for dcc in 420xx
        crypto: qat - fix ring to service map for dcc in 4xxx
        ...
      c8e76996
    • Linus Torvalds's avatar
      Merge tag 'vfio-v6.9-rc1' of https://github.com/awilliam/linux-vfio · 4138f022
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - Add warning in unlikely case that device is not captured with
         driver_override (Kunwu Chan)
      
       - Error handling improvements in mlx5-vfio-pci to detect firmware
         tracking object error states, logging of firmware error syndrom, and
         releasing of firmware resources in aborted migration sequence (Yishai
         Hadas)
      
       - Correct an un-alphabetized VFIO MAINTAINERS entry (Alex Williamson)
      
       - Make the mdev_bus_type const and also make the class struct const for
         a couple of the vfio-mdev sample drivers (Ricardo B. Marliere)
      
       - Addition of a new vfio-pci variant driver for the GPU of NVIDIA's
         Grace-Hopper superchip. During initialization of the chip-to-chip
         interconnect in this hardware module, the PCI BARs of the device
         become unused in favor of a faster, coherent mechanism for exposing
         device memory. This driver primarily changes the VFIO representation
         of the device to masquerade this coherent aperture to replace the
         physical PCI BARs for userspace drivers. This also incorporates use
         of a new vma flag allowing KVM to use write combining attributes for
         uncached device memory (Ankit Agrawal)
      
       - Reset fixes and cleanups for the pds-vfio-pci driver. Save and
         restore files were previously leaked if the device didn't pass
         through an error state, this is resolved and later re-fixed to
         prevent access to the now freed files. Reset handling is also
         refactored to remove the complicated deferred reset mechanism (Brett
         Creeley)
      
       - Remove some references to pl330 in the vfio-platform amba driver
         (Geert Uytterhoeven)
      
       - Remove twice redundant and ugly code to unpin incidental pins of the
         zero-page (Alex Williamson)
      
       - Deferred reset logic is also removed from the hisi-acc-vfio-pci
         driver as a simplification (Shameer Kolothum)
      
       - Enforce that mlx5-vfio-pci devices must support PRE_COPY and remove
         resulting unnecessary code. There is no device firmware that has been
         available publicly without this support (Yishai Hadas)
      
       - Switch over to using the .remove_new callback for vfio-platform in
         support of the broader transition for a void remove function (Uwe
         Kleine-König)
      
       - Resolve multiple issues in interrupt code for VFIO bus drivers that
         allow calling eventfd_signal() on a NULL context. This also remove a
         potential race in INTx setup on certain hardware for vfio-pci, races
         with various mechanisms to mask INTx, and leaked virqfds in
         vfio-platform (Alex Williamson)
      
      * tag 'vfio-v6.9-rc1' of https://github.com/awilliam/linux-vfio: (29 commits)
        vfio/fsl-mc: Block calling interrupt handler without trigger
        vfio/platform: Create persistent IRQ handlers
        vfio/platform: Disable virqfds on cleanup
        vfio/pci: Create persistent INTx handler
        vfio: Introduce interface to flush virqfd inject workqueue
        vfio/pci: Lock external INTx masking ops
        vfio/pci: Disable auto-enable of exclusive INTx IRQ
        vfio/pds: Refactor/simplify reset logic
        vfio/pds: Make sure migration file isn't accessed after reset
        vfio/platform: Convert to platform remove callback returning void
        vfio/mlx5: Enforce PRE_COPY support
        vfio/mbochs: make mbochs_class constant
        vfio/mdpy: make mdpy_class constant
        hisi_acc_vfio_pci: Remove the deferred_reset logic
        Revert "vfio/type1: Unpin zero pages"
        vfio/nvgrace-gpu: Convey kvm to map device memory region as noncached
        vfio: amba: Rename pl330_ids[] to vfio_amba_ids[]
        vfio/pds: Always clear the save/restore FDs on reset
        vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper
        vfio/pci: rename and export range_intersect_range
        ...
      4138f022
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 4f712ee0
      Linus Torvalds authored
      Pull kvm updates from Paolo Bonzini:
       "S390:
      
         - Changes to FPU handling came in via the main s390 pull request
      
         - Only deliver to the guest the SCLP events that userspace has
           requested
      
         - More virtual vs physical address fixes (only a cleanup since
           virtual and physical address spaces are currently the same)
      
         - Fix selftests undefined behavior
      
        x86:
      
         - Fix a restriction that the guest can't program a PMU event whose
           encoding matches an architectural event that isn't included in the
           guest CPUID. The enumeration of an architectural event only says
           that if a CPU supports an architectural event, then the event can
           be programmed *using the architectural encoding*. The enumeration
           does NOT say anything about the encoding when the CPU doesn't
           report support the event *in general*. It might support it, and it
           might support it using the same encoding that made it into the
           architectural PMU spec
      
         - Fix a variety of bugs in KVM's emulation of RDPMC (more details on
           individual commits) and add a selftest to verify KVM correctly
           emulates RDMPC, counter availability, and a variety of other
           PMC-related behaviors that depend on guest CPUID and therefore are
           easier to validate with selftests than with custom guests (aka
           kvm-unit-tests)
      
         - Zero out PMU state on AMD if the virtual PMU is disabled, it does
           not cause any bug but it wastes time in various cases where KVM
           would check if a PMC event needs to be synthesized
      
         - Optimize triggering of emulated events, with a nice ~10%
           performance improvement in VM-Exit microbenchmarks when a vPMU is
           exposed to the guest
      
         - Tighten the check for "PMI in guest" to reduce false positives if
           an NMI arrives in the host while KVM is handling an IRQ VM-Exit
      
         - Fix a bug where KVM would report stale/bogus exit qualification
           information when exiting to userspace with an internal error exit
           code
      
         - Add a VMX flag in /proc/cpuinfo to report 5-level EPT support
      
         - Rework TDP MMU root unload, free, and alloc to run with mmu_lock
           held for read, e.g. to avoid serializing vCPUs when userspace
           deletes a memslot
      
         - Tear down TDP MMU page tables at 4KiB granularity (used to be
           1GiB). KVM doesn't support yielding in the middle of processing a
           zap, and 1GiB granularity resulted in multi-millisecond lags that
           are quite impolite for CONFIG_PREEMPT kernels
      
         - Allocate write-tracking metadata on-demand to avoid the memory
           overhead when a kernel is built with i915 virtualization support
           but the workloads use neither shadow paging nor i915 virtualization
      
         - Explicitly initialize a variety of on-stack variables in the
           emulator that triggered KMSAN false positives
      
         - Fix the debugregs ABI for 32-bit KVM
      
         - Rework the "force immediate exit" code so that vendor code
           ultimately decides how and when to force the exit, which allowed
           some optimization for both Intel and AMD
      
         - Fix a long-standing bug where kvm_has_noapic_vcpu could be left
           elevated if vCPU creation ultimately failed, causing extra
           unnecessary work
      
         - Cleanup the logic for checking if the currently loaded vCPU is
           in-kernel
      
         - Harden against underflowing the active mmu_notifier invalidation
           count, so that "bad" invalidations (usually due to bugs elsehwere
           in the kernel) are detected earlier and are less likely to hang the
           kernel
      
        x86 Xen emulation:
      
         - Overlay pages can now be cached based on host virtual address,
           instead of guest physical addresses. This removes the need to
           reconfigure and invalidate the cache if the guest changes the gpa
           but the underlying host virtual address remains the same
      
         - When possible, use a single host TSC value when computing the
           deadline for Xen timers in order to improve the accuracy of the
           timer emulation
      
         - Inject pending upcall events when the vCPU software-enables its
           APIC to fix a bug where an upcall can be lost (and to follow Xen's
           behavior)
      
         - Fall back to the slow path instead of warning if "fast" IRQ
           delivery of Xen events fails, e.g. if the guest has aliased xAPIC
           IDs
      
        RISC-V:
      
         - Support exception and interrupt handling in selftests
      
         - New self test for RISC-V architectural timer (Sstc extension)
      
         - New extension support (Ztso, Zacas)
      
         - Support userspace emulation of random number seed CSRs
      
        ARM:
      
         - Infrastructure for building KVM's trap configuration based on the
           architectural features (or lack thereof) advertised in the VM's ID
           registers
      
         - Support for mapping vfio-pci BARs as Normal-NC (vaguely similar to
           x86's WC) at stage-2, improving the performance of interacting with
           assigned devices that can tolerate it
      
         - Conversion of KVM's representation of LPIs to an xarray, utilized
           to address serialization some of the serialization on the LPI
           injection path
      
         - Support for _architectural_ VHE-only systems, advertised through
           the absence of FEAT_E2H0 in the CPU's ID register
      
         - Miscellaneous cleanups, fixes, and spelling corrections to KVM and
           selftests
      
        LoongArch:
      
         - Set reserved bits as zero in CPUCFG
      
         - Start SW timer only when vcpu is blocking
      
         - Do not restart SW timer when it is expired
      
         - Remove unnecessary CSR register saving during enter guest
      
         - Misc cleanups and fixes as usual
      
        Generic:
      
         - Clean up Kconfig by removing CONFIG_HAVE_KVM, which was basically
           always true on all architectures except MIPS (where Kconfig
           determines the available depending on CPU capabilities). It is
           replaced either by an architecture-dependent symbol for MIPS, and
           IS_ENABLED(CONFIG_KVM) everywhere else
      
         - Factor common "select" statements in common code instead of
           requiring each architecture to specify it
      
         - Remove thoroughly obsolete APIs from the uapi headers
      
         - Move architecture-dependent stuff to uapi/asm/kvm.h
      
         - Always flush the async page fault workqueue when a work item is
           being removed, especially during vCPU destruction, to ensure that
           there are no workers running in KVM code when all references to
           KVM-the-module are gone, i.e. to prevent a very unlikely
           use-after-free if kvm.ko is unloaded
      
         - Grab a reference to the VM's mm_struct in the async #PF worker
           itself instead of gifting the worker a reference, so that there's
           no need to remember to *conditionally* clean up after the worker
      
        Selftests:
      
         - Reduce boilerplate especially when utilize selftest TAP
           infrastructure
      
         - Add basic smoke tests for SEV and SEV-ES, along with a pile of
           library support for handling private/encrypted/protected memory
      
         - Fix benign bugs where tests neglect to close() guest_memfd files"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (246 commits)
        selftests: kvm: remove meaningless assignments in Makefiles
        KVM: riscv: selftests: Add Zacas extension to get-reg-list test
        RISC-V: KVM: Allow Zacas extension for Guest/VM
        KVM: riscv: selftests: Add Ztso extension to get-reg-list test
        RISC-V: KVM: Allow Ztso extension for Guest/VM
        RISC-V: KVM: Forward SEED CSR access to user space
        KVM: riscv: selftests: Add sstc timer test
        KVM: riscv: selftests: Change vcpu_has_ext to a common function
        KVM: riscv: selftests: Add guest helper to get vcpu id
        KVM: riscv: selftests: Add exception handling support
        LoongArch: KVM: Remove unnecessary CSR register saving during enter guest
        LoongArch: KVM: Do not restart SW timer when it is expired
        LoongArch: KVM: Start SW timer only when vcpu is blocking
        LoongArch: KVM: Set reserved bits as zero in CPUCFG
        KVM: selftests: Explicitly close guest_memfd files in some gmem tests
        KVM: x86/xen: fix recursive deadlock in timer injection
        KVM: pfncache: simplify locking and make more self-contained
        KVM: x86/xen: remove WARN_ON_ONCE() with false positives in evtchn delivery
        KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled
        KVM: x86/xen: improve accuracy of Xen timers
        ...
      4f712ee0
    • Linus Torvalds's avatar
      Merge tag 'sparc-for-6.9-tag1' of... · 8a2fbffc
      Linus Torvalds authored
      Merge tag 'sparc-for-6.9-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc
      
      Pull sparc updates from Andreas Larsson:
      
       - Fix missing prototype warnings in various places, including switching
         to using generic cmpdi2/ucmpdi2 and parport.h and stop selecting
         unneeded GENERIC_ISA_DMA.
      
       - Reduce duplicate code by using shared font data, with dependency
         fixup in separate commit touching lib/fonts.
      
       - Convert sbus drives to use remove callbacks returning void
      
       - Fix return values of __setup handlers
      
       - Section mismatch fix for grpci pci drivers
      
       - Make the vio bus type constant
      
       - Kconfig cleanups and fixes
      
       - Typo fixes
      
      * tag 'sparc-for-6.9-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc:
        lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console
        sbus: uctrl: Convert to platform remove callback returning void
        sbus: flash: Convert to platform remove callback returning void
        sbus: envctrl: Convert to platform remove callback returning void
        sbus: display7seg: Convert to platform remove callback returning void
        sbus: bbc_i2c: Convert to platform remove callback returning void
        sbus: Add prototype for bbc_envctrl_init and bbc_envctrl_cleanup to header
        sparc32: Fix section mismatch in leon_pci_grpci
        sparc32: Fix parport build with sparc32
        sparc32: Do not select GENERIC_ISA_DMA
        mtd: maps: sun_uflash: Declare uflash_devinit static
        sparc32: Fix build with trapbase
        sparc32: Use generic cmpdi2/ucmpdi2 variants
        sparc: select FRAME_POINTER instead of redefining it
        sparc: vDSO: fix return value of __setup handler
        sparc64: NMI watchdog: fix return value of __setup handler
        sparc: vio: make vio_bus_type const
        sparc: Fix typos
        sparc: Use shared font data
        sparc: remove obsolete config ARCH_ATU
      8a2fbffc
    • Linus Torvalds's avatar
      Merge tag 'mips_6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 54f42d2c
      Linus Torvalds authored
      Pull MIPS updates from Thomas Bogendoerfer:
      
       - added support for Mobileye SoCs
      
       - unified GPR/CP0 regs handling for uasm
      
       - cleanups and fixes
      
      * tag 'mips_6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (56 commits)
        mips: cm: Convert __mips_cm_phys_base() to weak function
        mips: cm: Convert __mips_cm_l2sync_phys_base() to weak function
        mips: dts: ralink: mt7621: add cell count properties to usb
        mips: dts: ralink: mt7621: add serial1 and serial2 nodes
        mips: dts: ralink: mt7621: reorder serial0 properties
        mips: dts: ralink: mt7621: associate uart1_pins with serial0
        MIPS: ralink: Don't use "proxy" headers
        mips: sibyte: make tb_class constant
        mips: mt: make mt_class constant
        MIPS: ralink: Remove unused of_gpio.h
        bus: bt1-apb: Remove duplicate include
        MAINTAINERS: remove entry to non-existing file in MOBILEYE MIPS SOCS
        MIPS: mipsregs: Parse fp and sp register by name in parse_r
        tty: mips_ejtag_fdc: Fix passing incompatible pointer type warning
        mips: zboot: Fix "no previous prototype" build warning
        MIPS: mipsregs: Set proper ISA level for virt extensions
        MIPS: Implement microMIPS MT ASE helpers
        MIPS: Limit MIPS_MT_SMP support by ISA reversion
        MIPS: Loongson64: test for -march=loongson3a cflag
        MIPS: BMIPS: Drop unnecessary assembler flag
        ...
      54f42d2c
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · ab522e14
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
       "DT core:
      
         - Add cleanup.h based auto release of struct device_node pointers via
           __free marking and new for_each_child_of_node_scoped() iterator to
           use it.
      
         - Always create a base skeleton DT when CONFIG_OF is enabled. This
           supports several usecases of adding DT data on non-DT booted
           systems.
      
         - Move around some /reserved-memory code in preparation for further
           improvements
      
         - Add a stub for_each_property_of_node() for !OF
      
         - Adjust the printk levels on some messages
      
         - Fix __be32 sparse warning
      
         - Drop RESERVEDMEM_OF_DECLARE usage from Freescale qbman driver
           (currently orphaned)
      
         - Add Saravana Kannan and drop Frank Rowand as DT maintainers
      
        DT bindings:
      
         - Convert Mediatek timer, Mediatek sysirq, fsl,imx6ul-tsc,
           fsl,imx6ul-pinctrl, Atmel AIC, Atmel HLCDC, FPGA region, and
           xlnx,sd-fec to DT schemas
      
         - Add existing, but undocumented fsl,imx-anatop binding
      
         - Add bunch of undocumented vendor prefixes used in compatible
           strings
      
         - Drop obsolete brcm,bcm2835-pm-wdt binding
      
         - Drop obsolete i2c.txt which as been replaced with schema in
           dtschema
      
         - Add DPS310 device and sort trivial-devices.yaml
      
         - Enable undocumented compatible checks on DT binding examples
      
         - More QCom maintainer fixes/updates
      
         - Updates to writing-schema.rst and DT submitting-patches.rst to
           cover some frequent review comments
      
         - Clean-up SPDX tags to use 'OR' rather than 'or'"
      
      * tag 'devicetree-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (56 commits)
        dt-bindings: soc: imx: fsl,imx-anatop: add imx6q regulators
        of: unittest: Use for_each_child_of_node_scoped()
        of: Introduce for_each_*_child_of_node_scoped() to automate of_node_put() handling
        of: Add cleanup.h based auto release via __free(device_node) markings
        of: Move all FDT reserved-memory handling into of_reserved_mem.c
        of: Add KUnit test to confirm DTB is loaded
        of: unittest: treat missing of_root as error instead of fixing up
        x86/of: Unconditionally call unflatten_and_copy_device_tree()
        um: Unconditionally call unflatten_device_tree()
        of: Create of_root if no dtb provided by firmware
        of: Always unflatten in unflatten_and_copy_device_tree()
        dt-bindings: timer: mediatek: Convert to json-schema
        dt-bindings: interrupt-controller: fsl,intmux: Include power-domains support
        soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage
        dt-bindings: fsl-imx-sdma: fix HDMI audio index
        dt-bindings: soc: imx: fsl,imx-iomuxc-gpr: add imx6
        dt-bindings: soc: imx: fsl,imx-anatop: add binding
        dt-bindings: input: touchscreen: fsl,imx6ul-tsc convert to YAML
        dt-bindings: pinctrl: fsl,imx6ul-pinctrl: convert to YAML
        of: make for_each_property_of_node() available to to !OF
        ...
      ab522e14
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 3c5d127f
      Linus Torvalds authored
      Pull MTD updates from Miquel Raynal:
       "MTD:
      
         - The Carillo Ranch driver has been removed
      
         - Top level mtd bindings have received a couple of improvements
           (references, selects)
      
         - The ssfdc driver received few minor adjustments
      
         - The usual load of misc/small improvements and fixes
      
        Raw NAND:
      
         - The main series brought is an update of the Broadcom support to
           support all BCMBCA SoCs and their specificity (ECC, write
           protection, configuration straps), plus a few misc fixes and
           changes in the main driver. Device tree updates are also part of
           this PR, initially because of a misunderstanding on my side.
      
         - The STM32_FMC2 controller driver is also upgraded to properly
           support MP1 and MP25 SoCs.
      
         - A new compatible is added for an Atmel flavor.
      
         - Among all these feature changes, there is as well a load of
           continuous read related fixes, avoiding more corner conditions and
           clarifying the logic. Finally a few miscellaneous fixes are made to
           the core, the lpx32xx_mlc, fsl_lbc, Meson and Atmel controller
           driver, as well as final one in the Hynix vendor driver.
      
        SPI-NAND:
      
         - The ESMT support has been extended to match 5 bytes ID to avoid
           collisions. Winbond support on its side receives support for
           W25N04KV chips.
      
        SPI NOR:
      
         - SPI NOR gets the non uniform erase code cleaned. We stopped using
           bitmasks for erase types and flags, and instead introduced
           dedicated members. We then passed the SPI NOR erase map to MTD.
           Users can now determine the erase regions and make informed
           decisions on partitions size.
      
         - An optional interrupt property is now described in the bindings"
      
      * tag 'mtd/for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (50 commits)
        mtd: rawnand: Ensure continuous reads are well disabled
        mtd: rawnand: Constrain even more when continuous reads are enabled
        mtd: rawnand: brcmnand: Add support for getting ecc setting from strap
        mtd: rawnand: brcmnand: fix sparse warnings
        mtd: nand: raw: atmel: Fix comment in timings preparation
        mtd: rawnand: Ensure all continuous terms are always in sync
        mtd: rawnand: Add a helper for calculating a page index
        mtd: rawnand: Fix and simplify again the continuous read derivations
        mtd: rawnand: hynix: remove @nand_technology kernel-doc description
        dt-bindings: atmel-nand: add microchip,sam9x7-pmecc
        mtd: rawnand: brcmnand: Support write protection setting from dts
        mtd: rawnand: brcmnand: Add BCMBCA read data bus interface
        mtd: rawnand: brcmnand: Rename bcm63138 nand driver
        arm64: dts: broadcom: bcmbca: Update router boards
        arm64: dts: broadcom: bcmbca: Add NAND controller node
        ARM: dts: broadcom: bcmbca: Add NAND controller node
        mtd: spi-nor: core: correct type of i
        mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
        mtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flag
        mtd: spi-nor: core: get rid of SNOR_LAST_REGION flag
        ...
      3c5d127f
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 2b3a4192
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "New hardware support:
         - Allwinner H616 dma support
         - Renesas r8a779h0 dma controller support
         - TI CSI2RX dma support
      
        Updates:
         - Freescale edma driver updates for TCD64csupport for i.MX95
         - constify of pointers and args
         - Yaml conversion for MediaTek High-Speed controller binding
         - TI k3 udma support for TX/RX DMA channels for thread IDs:
      
      * tag 'dmaengine-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (25 commits)
        dmaengine: of: constify of_phandle_args in of_dma_find_controller()
        dmaengine: pl08x: constify pointer to char in filter function
        MAINTAINERS: change in AMD ptdma maintainer
        MAINTAINERS: adjust file entry in MEDIATEK DMA DRIVER
        dmaengine: idxd: constify the struct device_type usage
        dt-bindings: renesas,rcar-dmac: Add r8a779h0 support
        dt-bindings: dma: convert MediaTek High-Speed controller to the json-schema
        dmaengine: idxd: make dsa_bus_type const
        dmaengine: fsl-edma: integrate TCD64 support for i.MX95
        dt-bindings: fsl-dma: fsl-edma: add fsl,imx95-edma5 compatible string
        dmaengine: mcf-edma: utilize edma_write_tcdreg() macro for TCD Access
        dmaengine: fsl-edma: add address for channel mux register in fsl_edma_chan
        dmaengine: fsl-edma: fix spare build warning
        dmaengine: fsl-edma: involve help macro fsl_edma_set(get)_tcd()
        dt-bindings: mmp-dma: convert to YAML
        dmaengine: ti: k3-psil-j721s2: Add entry for CSI2RX
        dmaengine: ti: k3-udma-glue: Add function to request RX chan for thread ID
        dmaengine: ti: k3-udma-glue: Add function to request TX chan for thread ID
        dmaengine: ti: k3-udma-glue: Update name for remote RX channel device
        dmaengine: ti: k3-udma-glue: Add function to parse channel by ID
        ...
      2b3a4192
    • Linus Torvalds's avatar
      Merge tag 'soundwire-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire · b898db92
      Linus Torvalds authored
      Pull soundwire updates from Vinod Koul:
      
       - Constify sdw_bus and sdw_master_type objects
      
       - use of rtd helper for better code
      
       - intel aux device remove redundant assignment
      
      * tag 'soundwire-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
        soundwire: Use snd_soc_substream_to_rtd() to obtain rtd
        soundwire: constify the struct device_type usage
        soundwire: bus_type: make sdw_bus_type const
        soundwire: intel_auxdevice: remove redundant assignment to variable link_flags
        soundwire: stream: add missing const to Documentation
      b898db92
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · c77756d3
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "Minor changes to the I2C core. Most changes are in drivers:
      
        The i801 and designware drivers received most of the changes,
        including refactorings and some additions.
      
        Recovery changes for the iMX and iMX-LPI2C are now utilizing the
        generic i2c support.
      
        The Cadence driver now supports system suspend and resume.
      
        The hisi, mpc, sh_mobile, and npcm drivers have undergone some
        cleanups and improvements. Meanwhile, Uwe continues his work on
        converting the "remove" callback to become a void function.
      
        The pca954x mux driver now supports additional configurations, such as
        isolating faulty channels and flushing stuck buses, among others.
      
        Support has been added for Renesas r8a779h0, i.MX95 LPI2C, and
        Microchip sam9x7. Meanwhile, Geert lays the groundwork for the
        upcoming R-Car Gen4"
      
      * tag 'i2c-for-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (34 commits)
        i2c: sprd: Convert to platform remove callback returning void
        Documentation: i2c: Document that client auto-detection is a legacy mechanism
        i2c: remove redundant condition
        i2c: rcar: Prepare for the advent of ARCH_RCAR_GEN4
        i2c: imx-lpi2c: add generic GPIO recovery for LPI2C
        i2c: cadence: Add system suspend and resume PM support
        i2c: mpc: remove outdated macro
        i2c: mpc: use proper binding for transfer timeouts
        dt-bindings: i2c: mpc: use proper binding for transfer timeouts
        i2c: smbus: Prepare i2c_register_spd for usage on muxed segments
        i2c: constify the struct device_type usage
        i2c: designware: Implement generic polling mode code for Wangxun 10Gb NIC
        i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NIC
        i2c: designware: Move interrupt handling functions before i2c_dw_xfer()
        i2c: designware: Use accessors to DW_IC_INTR_MASK register
        i2c: designware: Do not enable interrupts shortly in polling mode
        i2c: designware: Uniform initialization flow for polling mode
        dt-bindings: i2c: at91: Add sam9x7 compatible string
        dt-bindings: i2c: imx-lpi2c: add i.MX95 LPI2C
        i2c: Remove redundant comparison in npcm_i2c_reg_slave
        ...
      c77756d3
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 4757c3c6
      Linus Torvalds authored
      Pull libnvdimm updates from Dave Jiang:
      
       - ACPI_NFIT Kconfig documetation fix
      
       - Make nvdimm_bus_type const
      
       - Make dax_bus_type const
      
       - remove SLAB_MEM_SPREAD flag usage in DAX
      
      * tag 'libnvdimm-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        dax: remove SLAB_MEM_SPREAD flag usage
        device-dax: make dax_bus_type const
        nvdimm: make nvdimm_bus_type const
        libnvdimm: Fix ACPI_NFIT in BLK_DEV_PMEM help
      4757c3c6
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 6dff52b8
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "Not a ton of stuff happening in the clk framework. We got some more
        devm helpers and we seem to be going in the direction of "just turn
        this stuff on already and leave me alone!" with the addition of a
        devm_clk_bulk_get_all_enable() API. I'm hoping that we can make that
        into a pmdomain that drivers attach instead, but this API should help
        drivers simplify in the meantime.
      
        Outside of the devm wrappers, we've got the usual clk driver updates
        that are dominated by the major phone SoC vendors (Samsung and
        Qualcomm) and the non-critical driver fixes for things like incorrect
        topology descriptions and wrong registers or bit fields. More details
        are below, but I'd say that it looks pretty ordinary. The only thing
        that really jumps out at me is the Renesas clk driver that's ignoring
        clks that are assigned to remote processors in DeviceTree. That's a
        new feature that they're using to avoid marking clks as
        CLK_IGNORE_UNUSED based on the configuration of the system.
      
        Core:
         - Increase dev_id len for clkdev lookups
         - Add a devm_clk_bulk_get_all_enable() API to get and enable all clks
           for a device
         - Add a devm variant of clk_rate_exclusive_get()
      
        New Drivers:
         - Display, TCSR, GPU, and Camera clock controllers for Qualcomm's X1
           Elite SoC
         - Google GS101 PERIC0 and PERIC1 clock controllers
         - Exynos850 PDMA clocks
         - Exynos850 CPU cluster 0 and 1 (CMU_CPUCLK0/CMU_CPUCLK1) clock
           controllers
      
        Removed Drivers:
         - Remove the unused Qualcomm sc7180 modem clk driver
      
        Updates:
         - Fix some static checker errors in the Hisilicon clk driver
         - Polarfire MSSPLL hardware has 4 output clocks (the driver supported
           previously only one output); each of these 4 outputs feed dividers
           and the output of each divider feed individual hardware blocks
           (e.g. CAN, Crypto, eMMC); individual hardware block drivers need to
           control their clocks thus clock driver support was added for all
           MSSPLL output clocks
         - Typo fixes in the Qualcomm IPQ5018 GCC driver
         - Add "qdss_at" clk on Qualcomm IPQ6018, needed for WiFi
         - Properly terminate frequency tables in different Qualcomm clk
           drivers
         - Add MDSS, crypto, and SDCC resets on Qualcomm MSM8953
         - Add missing UFS CLKREF clks on Qualcomm SC8180X
         - Avoid significant delays during boot by adding a softdep on rpmhpd
           to Qualcomm SDM845 gcc driver
         - Add QUPv3 RCGS w/ DFS and video resets to Qualcomm SM8150 GCC
           driver
         - Fix the custom GPU GX "do-nothing" method in the Qualcomm GDSC
           driver
         - Add an external regulator to GX GDSC on Qualcomm SC8280XP GPU clk
           driver
         - Switch display, GPU, video, and camera Qualcomm clk drivers to
           module_platform_driver()
         - Set a longer delay for Venus resets on many Qualcomm SoCs
         - Correct the GDSC wait times in the Qualcomm SDM845 display clk
           driver
         - Fix clock listing Oops on Amlogic axg
         - New pll-rate for Rockchip rk3568
         - i2s rate improvements for Rockchip rk3399
         - Rockchip rk3588 syscon clock fixes and removal of overall
           clock-number from the rk3588 binding header
         - A prerequisite for later improvements to the Rockchip rk3588 linked
           clocks
         - Minor clean-ups and error handling improvements in both
           composite-8m and SCU i.MX clock drivers
         - Fix for SAI_MCLK_SEL definition for i.MX8MP
         - Register the Samsung CMU MISC clock controller earlier, so the
           Multi Core Timer clocksource can use it on Google GS101
         - Propagate Exynos850 SPI IPCLK rate change to parents, so the SPI
           will get proper clock rates
         - Refactor the generic Samsung CPU clock controllers code, preparing
           it for supporting Exynos850 CPU clocks
         - Fix some clk kerneldoc warnings
         - Add Ethernet, SDHI, DMA, and HyperFLASH/QSPI (RPC-IF) clocks on
           Renesas R-Car V4M
         - Ignore all clocks which are assigned to a non-Linux system in the
           Renesas clk driver
         - Add watchdog clock on Renesas RZ/G3S
         - Add camera (CRU) clock and reset on Renesas RZ/G2UL
         - Add support for the Renesas R-Car V4M (R8A779H0) SoC
         - Convert some clk bindings to YAML so they can be validated"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (150 commits)
        clk: zynq: Prevent null pointer dereference caused by kmalloc failure
        clk: fractional-divider: Use bit operations consistently
        clk: fractional-divider: Move mask calculations out of lock
        clk: Fix clk_core_get NULL dereference
        clk: starfive: jh7110-vout: Convert to platform remove callback returning void
        clk: starfive: jh7110-isp: Convert to platform remove callback returning void
        clk: imx: imx8-acm: Convert to platform remove callback returning void
        clk: qcom: gcc-ipq5018: fix register offset for GCC_UBI0_AXI_ARES reset
        clk: qcom: gcc-ipq5018: fix 'halt_reg' offset of 'gcc_pcie1_pipe_clk'
        clk: qcom: gcc-ipq5018: fix 'enable_reg' offset of 'gcc_gmac0_sys_clk'
        clk: qcom: camcc-x1e80100: Fix missing DT_IFACE enum in x1e80100 camcc
        clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
        clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
        clk: qcom: camcc-sc8280xp: fix terminating of frequency table arrays
        clk: qcom: gcc-ipq9574: fix terminating of frequency table arrays
        clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
        clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
        clk: qcom: gcc-ipq5018: fix terminating of frequency table arrays
        clk: mediatek: clk-mt8173-apmixedsys: Use common error handling code in clk_mt8173_apmixed_probe()
        clk: Add a devm variant of clk_rate_exclusive_get()
        ...
      6dff52b8
    • Linus Torvalds's avatar
      Merge tag 'media/v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · eb7cca1f
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - DVB budget legacy API was finally documented. It took only 20+ years
         to get some documentation about it...
      
       - hantro driver has gained support for STM32MP25 VDEC/VENC
      
       - rkisp1 has gained support for i.MX8MP
      
       - atomisp got rid of two items from its todo list. Still 5 items
         pending for moving it out of staging
      
       - lots of driver fixes, cleanups and improvements
      
      * tag 'media/v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (252 commits)
        media: rcar-isp: Disallow unbind of devices
        media: usbtv: Remove useless locks in usbtv_video_free()
        media: mediatek: vcodec: avoid -Wcast-function-type-strict warning
        media: ttpci: fix two memleaks in budget_av_attach
        media: go7007: fix a memleak in go7007_load_encoder
        media: dvb-frontends: avoid stack overflow warnings with clang
        media: pvrusb2: fix uaf in pvr2_context_set_notify
        media: usb: s2255: Refactor s2255_get_fx2fw
        media: ti: j721e-csi2rx: Convert to platform remove callback returning void
        media: stm32-dcmipp: Convert to platform remove callback returning void
        media: nxp: imx8-isi: Convert to platform remove callback returning void
        media: nuvoton: Convert to platform remove callback returning void
        media: chips-media: wave5: Convert to platform remove callback returning void
        media: chips-media: wave5: Remove unnecessary semicolons
        media: i2c: imx290: Fix IMX920 typo
        media: platform: replace of_graph_get_next_endpoint()
        media: i2c: replace of_graph_get_next_endpoint()
        media: ivsc: csi: Make use of sub-device state
        media: ivsc: csi: Swap SINK and SOURCE pads
        media: ipu-bridge: Serialise calls to IPU bridge init
        ...
      eb7cca1f
    • Linus Torvalds's avatar
      Merge tag '9p-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs · c442a423
      Linus Torvalds authored
      Pull 9p updates from Eric Van Hensbergen:
       "This includes a number of patches addressing improvements in the cache
        portions of the 9p client.
      
        The biggest improvements have to do with fixing handling of inodes and
        eliminating duplicate structures and unnecessary allocation/release of
        inode structures and many associated unnecessary protocol traffic.
        This also dramatically reduced code complexity across the code and
        sets us up to add proper temporal cache capabilities"
      
      * tag '9p-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
        fs/9p: fix dups even in uncached mode
        fs/9p: simplify iget to remove unnecessary paths
        fs/9p: rework qid2ino logic
        fs/9p: Eliminate now unused v9fs_get_inode
        fs/9p: Eliminate redundant non-cache path in mknod
        fs/9p: remove walk and inode allocation from symlink
        fs/9p: convert mkdir to use get_new_inode
        fs/9p: switch vfsmount to use v9fs_get_new_inode
      c442a423
    • Alexander Stein's avatar
      dt-bindings: soc: imx: fsl,imx-anatop: add imx6q regulators · 7e98fe49
      Alexander Stein authored
      imx6q has additional regulators compared to imx6ul. Add them to the list
      of allowed patterns.
      Signed-off-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
      Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
      Link: https://lore.kernel.org/r/20240314145953.2957313-1-alexander.stein@ew.tq-group.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
      7e98fe49
    • Linus Torvalds's avatar
      Merge tag 'fuse-update-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · 6ce8b2ce
      Linus Torvalds authored
      Pull fuse updates from Miklos Szeredi:
      
       - Add passthrough mode for regular file I/O.
      
         This allows performing read and write (also via memory maps) on a
         backing file without incurring the overhead of roundtrips to
         userspace. For now this is only allowed to privileged servers, but
         this limitation will go away in the future (Amir Goldstein)
      
       - Fix interaction of direct I/O mode with memory maps (Bernd Schubert)
      
       - Export filesystem tags through sysfs for virtiofs (Stefan Hajnoczi)
      
       - Allow resending queued requests for server crash recovery (Zhao Chen)
      
       - Misc fixes and cleanups
      
      * tag 'fuse-update-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: (38 commits)
        fuse: get rid of ff->readdir.lock
        fuse: remove unneeded lock which protecting update of congestion_threshold
        fuse: Fix missing FOLL_PIN for direct-io
        fuse: remove an unnecessary if statement
        fuse: Track process write operations in both direct and writethrough modes
        fuse: Use the high bit of request ID for indicating resend requests
        fuse: Introduce a new notification type for resend pending requests
        fuse: add support for explicit export disabling
        fuse: __kuid_val/__kgid_val helpers in fuse_fill_attr_from_inode()
        fuse: fix typo for fuse_permission comment
        fuse: Convert fuse_writepage_locked to take a folio
        fuse: Remove fuse_writepage
        virtio_fs: remove duplicate check if queue is broken
        fuse: use FUSE_ROOT_ID in fuse_get_root_inode()
        fuse: don't unhash root
        fuse: fix root lookup with nonzero generation
        fuse: replace remaining make_bad_inode() with fuse_make_bad()
        virtiofs: drop __exit from virtio_fs_sysfs_exit()
        fuse: implement passthrough for mmap
        fuse: implement splice read/write passthrough
        ...
      6ce8b2ce
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 68bf6bfd
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "Ext4 bug fixes and cleanups, plus some additional kunit tests"
      
      * tag 'ext4_for_linus-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (23 commits)
        ext4: initialize sbi->s_freeclusters_counter and sbi->s_dirtyclusters_counter before use in kunit test
        ext4: hold group lock in ext4 kunit test
        ext4: alloc test super block from sget
        ext4: kunit: use dynamic inode allocation
        ext4: enable meta_bg only when new desc blocks are needed
        ext4: remove unused parameter biop in ext4_issue_discard()
        ext4: remove SLAB_MEM_SPREAD flag usage
        ext4: verify s_clusters_per_group even without bigalloc
        ext4: fix corruption during on-line resize
        ext4: don't report EOPNOTSUPP errors from discard
        ext4: drop duplicate ea_inode handling in ext4_xattr_block_set()
        ext4: fold quota accounting into ext4_xattr_inode_lookup_create()
        ext4: correct best extent lstart adjustment logic
        ext4: forbid commit inconsistent quota data when errors=remount-ro
        ext4: add a hint for block bitmap corrupt state in mb_groups
        ext4: fix the comment of ext4_map_blocks()/ext4_ext_map_blocks()
        ext4: improve error msg for ext4_mb_seq_groups_show
        ext4: remove unused buddy_loaded in ext4_mb_seq_groups_show
        ext4: Add unit test for ext4_mb_mark_diskspace_used
        ext4: Add unit test for mb_free_blocks
        ...
      68bf6bfd
    • Linus Torvalds's avatar
      Merge tag 'bcachefs-2024-03-13' of https://evilpiepirate.org/git/bcachefs · 32a50540
      Linus Torvalds authored
      Pull bcachefs updates from Kent Overstreet:
      
       - Subvolume children btree; this is needed for providing a userspace
         interface for walking subvolumes, which will come later
      
       - Lots of improvements to directory structure checking
      
       - Improved journal pipelining, significantly improving performance on
         high iodepth write workloads
      
       - Discard path improvements: the discard path is more efficient, and no
         longer flushes the journal unnecessarily
      
       - Buffered write path can now avoid taking the inode lock
      
       - new mm helper: memalloc_flags_{save|restore}
      
       - mempool now does kvmalloc mempools
      
      * tag 'bcachefs-2024-03-13' of https://evilpiepirate.org/git/bcachefs: (128 commits)
        bcachefs: time_stats: shrink time_stat_buffer for better alignment
        bcachefs: time_stats: split stats-with-quantiles into a separate structure
        bcachefs: mean_and_variance: put struct mean_and_variance_weighted on a diet
        bcachefs: time_stats: add larger units
        bcachefs: pull out time_stats.[ch]
        bcachefs: reconstruct_alloc cleanup
        bcachefs: fix bch_folio_sector padding
        bcachefs: Fix btree key cache coherency during replay
        bcachefs: Always flush write buffer in delete_dead_inodes()
        bcachefs: Fix order of gc_done passes
        bcachefs: fix deletion of indirect extents in btree_gc
        bcachefs: Prefer struct_size over open coded arithmetic
        bcachefs: Kill unused flags argument to btree_split()
        bcachefs: Check for writing superblocks with nonsense member seq fields
        bcachefs: fix bch2_journal_buf_to_text()
        lib/generic-radix-tree.c: Make nodes more reasonably sized
        bcachefs: copy_(to|from)_user_errcode()
        bcachefs: Split out bkey_types.h
        bcachefs: fix lost journal buf wakeup due to improved pipelining
        bcachefs: intercept mountoption value for bool type
        ...
      32a50540
    • Miquel Raynal's avatar
      Merge tag 'nand/for-6.9' into mtd/next · 09888e97
      Miquel Raynal authored
      Raw NAND
      
      The main series brought is an update of the Broadcom support to support
      all BCMBCA SoCs and their specificity (ECC, write protection,
      configuration straps), plus a few misc fixes and changes in the main
      driver. Device tree updates are also part of this PR, initially because
      of a misunderstanding on my side.
      
      The STM32_FMC2 controller driver is also upgraded to properly support
      MP1 and MP25 SoCs.
      
      A new compatible is added for an Atmel flavor.
      
      Among all these feature changes, there is as well a load of continuous
      read related fixes, avoiding more corner conditions and clarifying the
      logic. Finally a few miscellaneous fixes are made to the core, the
      lpx32xx_mlc, fsl_lbc, Meson and Atmel controller driver, as well as
      final one in the Hynix vendor driver.
      
      SPI-NAND
      
      The ESMT support has been extended to match 5 bytes ID to avoid
      collisions. Winbond support on its side receives support for W25N04KV
      chips.
      09888e97
    • Paolo Bonzini's avatar
      selftests: kvm: remove meaningless assignments in Makefiles · 47811790
      Paolo Bonzini authored
      $(shell ...) expands to the output of the command. It expands to the
      empty string when the command does not print anything to stdout.
      Hence, $(shell mkdir ...) is sufficient and does not need any
      variable assignment in front of it.
      
      Commit c2bd08ba ("treewide: remove meaningless assignments in
      Makefiles", 2024-02-23) did this to all of tools/ but ignored in-flight
      changes to tools/testing/selftests/kvm/Makefile, so reapply the change.
      
      Cc: Masahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      47811790
    • Linus Torvalds's avatar
      Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of... · e5eb28f6
      Linus Torvalds authored
      Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull non-MM updates from Andrew Morton:
      
       - Kuan-Wei Chiu has developed the well-named series "lib min_heap: Min
         heap optimizations".
      
       - Kuan-Wei Chiu has also sped up the library sorting code in the series
         "lib/sort: Optimize the number of swaps and comparisons".
      
       - Alexey Gladkov has added the ability for code running within an IPC
         namespace to alter its IPC and MQ limits. The series is "Allow to
         change ipc/mq sysctls inside ipc namespace".
      
       - Geert Uytterhoeven has contributed some dhrystone maintenance work in
         the series "lib: dhry: miscellaneous cleanups".
      
       - Ryusuke Konishi continues nilfs2 maintenance work in the series
      
      	"nilfs2: eliminate kmap and kmap_atomic calls"
      	"nilfs2: fix kernel bug at submit_bh_wbc()"
      
       - Nathan Chancellor has updated our build tools requirements in the
         series "Bump the minimum supported version of LLVM to 13.0.1".
      
       - Muhammad Usama Anjum continues with the selftests maintenance work in
         the series "selftests/mm: Improve run_vmtests.sh".
      
       - Oleg Nesterov has done some maintenance work against the signal code
         in the series "get_signal: minor cleanups and fix".
      
      Plus the usual shower of singleton patches in various parts of the tree.
      Please see the individual changelogs for details.
      
      * tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (77 commits)
        nilfs2: prevent kernel bug at submit_bh_wbc()
        nilfs2: fix failure to detect DAT corruption in btree and direct mappings
        ocfs2: enable ocfs2_listxattr for special files
        ocfs2: remove SLAB_MEM_SPREAD flag usage
        assoc_array: fix the return value in assoc_array_insert_mid_shortcut()
        buildid: use kmap_local_page()
        watchdog/core: remove sysctl handlers from public header
        nilfs2: use div64_ul() instead of do_div()
        mul_u64_u64_div_u64: increase precision by conditionally swapping a and b
        kexec: copy only happens before uchunk goes to zero
        get_signal: don't initialize ksig->info if SIGNAL_GROUP_EXIT/group_exec_task
        get_signal: hide_si_addr_tag_bits: fix the usage of uninitialized ksig
        get_signal: don't abuse ksig->info.si_signo and ksig->sig
        const_structs.checkpatch: add device_type
        Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>"
        dyndbg: replace kstrdup() + strchr() with kstrdup_and_replace()
        list: leverage list_is_head() for list_entry_is_head()
        nilfs2: MAINTAINERS: drop unreachable project mirror site
        smp: make __smp_processor_id() 0-argument macro
        fat: fix uninitialized field in nostale filehandles
        ...
      e5eb28f6
    • Linus Torvalds's avatar
      Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm · 902861e3
      Linus Torvalds authored
      Pull MM updates from Andrew Morton:
      
       - Sumanth Korikkar has taught s390 to allocate hotplug-time page frames
         from hotplugged memory rather than only from main memory. Series
         "implement "memmap on memory" feature on s390".
      
       - More folio conversions from Matthew Wilcox in the series
      
      	"Convert memcontrol charge moving to use folios"
      	"mm: convert mm counter to take a folio"
      
       - Chengming Zhou has optimized zswap's rbtree locking, providing
         significant reductions in system time and modest but measurable
         reductions in overall runtimes. The series is "mm/zswap: optimize the
         scalability of zswap rb-tree".
      
       - Chengming Zhou has also provided the series "mm/zswap: optimize zswap
         lru list" which provides measurable runtime benefits in some
         swap-intensive situations.
      
       - And Chengming Zhou further optimizes zswap in the series "mm/zswap:
         optimize for dynamic zswap_pools". Measured improvements are modest.
      
       - zswap cleanups and simplifications from Yosry Ahmed in the series
         "mm: zswap: simplify zswap_swapoff()".
      
       - In the series "Add DAX ABI for memmap_on_memory", Vishal Verma has
         contributed several DAX cleanups as well as adding a sysfs tunable to
         control the memmap_on_memory setting when the dax device is
         hotplugged as system memory.
      
       - Johannes Weiner has added the large series "mm: zswap: cleanups",
         which does that.
      
       - More DAMON work from SeongJae Park in the series
      
      	"mm/damon: make DAMON debugfs interface deprecation unignorable"
      	"selftests/damon: add more tests for core functionalities and corner cases"
      	"Docs/mm/damon: misc readability improvements"
      	"mm/damon: let DAMOS feeds and tame/auto-tune itself"
      
       - In the series "mm/mempolicy: weighted interleave mempolicy and sysfs
         extension" Rakie Kim has developed a new mempolicy interleaving
         policy wherein we allocate memory across nodes in a weighted fashion
         rather than uniformly. This is beneficial in heterogeneous memory
         environments appearing with CXL.
      
       - Christophe Leroy has contributed some cleanup and consolidation work
         against the ARM pagetable dumping code in the series "mm: ptdump:
         Refactor CONFIG_DEBUG_WX and check_wx_pages debugfs attribute".
      
       - Luis Chamberlain has added some additional xarray selftesting in the
         series "test_xarray: advanced API multi-index tests".
      
       - Muhammad Usama Anjum has reworked the selftest code to make its
         human-readable output conform to the TAP ("Test Anything Protocol")
         format. Amongst other things, this opens up the use of third-party
         tools to parse and process out selftesting results.
      
       - Ryan Roberts has added fork()-time PTE batching of THP ptes in the
         series "mm/memory: optimize fork() with PTE-mapped THP". Mainly
         targeted at arm64, this significantly speeds up fork() when the
         process has a large number of pte-mapped folios.
      
       - David Hildenbrand also gets in on the THP pte batching game in his
         series "mm/memory: optimize unmap/zap with PTE-mapped THP". It
         implements batching during munmap() and other pte teardown
         situations. The microbenchmark improvements are nice.
      
       - And in the series "Transparent Contiguous PTEs for User Mappings"
         Ryan Roberts further utilizes arm's pte's contiguous bit ("contpte
         mappings"). Kernel build times on arm64 improved nicely. Ryan's
         series "Address some contpte nits" provides some followup work.
      
       - In the series "mm/hugetlb: Restore the reservation" Breno Leitao has
         fixed an obscure hugetlb race which was causing unnecessary page
         faults. He has also added a reproducer under the selftest code.
      
       - In the series "selftests/mm: Output cleanups for the compaction
         test", Mark Brown did what the title claims.
      
       - Kinsey Ho has added the series "mm/mglru: code cleanup and
         refactoring".
      
       - Even more zswap material from Nhat Pham. The series "fix and extend
         zswap kselftests" does as claimed.
      
       - In the series "Introduce cpu_dcache_is_aliasing() to fix DAX
         regression" Mathieu Desnoyers has cleaned up and fixed rather a mess
         in our handling of DAX on archiecctures which have virtually aliasing
         data caches. The arm architecture is the main beneficiary.
      
       - Lokesh Gidra's series "per-vma locks in userfaultfd" provides
         dramatic improvements in worst-case mmap_lock hold times during
         certain userfaultfd operations.
      
       - Some page_owner enhancements and maintenance work from Oscar Salvador
         in his series
      
      	"page_owner: print stacks and their outstanding allocations"
      	"page_owner: Fixup and cleanup"
      
       - Uladzislau Rezki has contributed some vmalloc scalability
         improvements in his series "Mitigate a vmap lock contention". It
         realizes a 12x improvement for a certain microbenchmark.
      
       - Some kexec/crash cleanup work from Baoquan He in the series "Split
         crash out from kexec and clean up related config items".
      
       - Some zsmalloc maintenance work from Chengming Zhou in the series
      
      	"mm/zsmalloc: fix and optimize objects/page migration"
      	"mm/zsmalloc: some cleanup for get/set_zspage_mapping()"
      
       - Zi Yan has taught the MM to perform compaction on folios larger than
         order=0. This a step along the path to implementaton of the merging
         of large anonymous folios. The series is named "Enable >0 order folio
         memory compaction".
      
       - Christoph Hellwig has done quite a lot of cleanup work in the
         pagecache writeback code in his series "convert write_cache_pages()
         to an iterator".
      
       - Some modest hugetlb cleanups and speedups in Vishal Moola's series
         "Handle hugetlb faults under the VMA lock".
      
       - Zi Yan has changed the page splitting code so we can split huge pages
         into sizes other than order-0 to better utilize large folios. The
         series is named "Split a folio to any lower order folios".
      
       - David Hildenbrand has contributed the series "mm: remove
         total_mapcount()", a cleanup.
      
       - Matthew Wilcox has sought to improve the performance of bulk memory
         freeing in his series "Rearrange batched folio freeing".
      
       - Gang Li's series "hugetlb: parallelize hugetlb page init on boot"
         provides large improvements in bootup times on large machines which
         are configured to use large numbers of hugetlb pages.
      
       - Matthew Wilcox's series "PageFlags cleanups" does that.
      
       - Qi Zheng's series "minor fixes and supplement for ptdesc" does that
         also. S390 is affected.
      
       - Cleanups to our pagemap utility functions from Peter Xu in his series
         "mm/treewide: Replace pXd_large() with pXd_leaf()".
      
       - Nico Pache has fixed a few things with our hugepage selftests in his
         series "selftests/mm: Improve Hugepage Test Handling in MM
         Selftests".
      
       - Also, of course, many singleton patches to many things. Please see
         the individual changelogs for details.
      
      * tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (435 commits)
        mm/zswap: remove the memcpy if acomp is not sleepable
        crypto: introduce: acomp_is_async to expose if comp drivers might sleep
        memtest: use {READ,WRITE}_ONCE in memory scanning
        mm: prohibit the last subpage from reusing the entire large folio
        mm: recover pud_leaf() definitions in nopmd case
        selftests/mm: skip the hugetlb-madvise tests on unmet hugepage requirements
        selftests/mm: skip uffd hugetlb tests with insufficient hugepages
        selftests/mm: dont fail testsuite due to a lack of hugepages
        mm/huge_memory: skip invalid debugfs new_order input for folio split
        mm/huge_memory: check new folio order when split a folio
        mm, vmscan: retry kswapd's priority loop with cache_trim_mode off on failure
        mm: add an explicit smp_wmb() to UFFDIO_CONTINUE
        mm: fix list corruption in put_pages_list
        mm: remove folio from deferred split list before uncharging it
        filemap: avoid unnecessary major faults in filemap_fault()
        mm,page_owner: drop unnecessary check
        mm,page_owner: check for null stack_record before bumping its refcount
        mm: swap: fix race between free_swap_and_cache() and swapoff()
        mm/treewide: align up pXd_leaf() retval across archs
        mm/treewide: drop pXd_large()
        ...
      902861e3
  2. 14 Mar, 2024 17 commits