1. 15 Mar, 2024 17 commits
    • 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
    • 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 23 commits