1. 01 May, 2024 1 commit
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v6.9-rc6' of... · 01066798
      Linus Torvalds authored
      Merge tag 'regulator-fix-v6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "There's a few simple driver specific fixes here, plus some core
        cleanups from Matti which fix issues found with client drivers due to
        the API being confusing.
      
        The two fixes for the stubs provide more constructive behaviour with
        !REGULATOR configurations, issues were noticed with some hwmon drivers
        which would otherwise have needed confusing bodges in the users.
      
        The irq_helpers fix to duplicate the provided name for the interrupt
        controller was found because a driver got this wrong and it's again a
        case where the core is the sensible place to put the fix"
      
      * tag 'regulator-fix-v6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: change devm_regulator_get_enable_optional() stub to return Ok
        regulator: change stubbed devm_regulator_get_enable to return Ok
        regulator: vqmmc-ipq4019: fix module autoloading
        regulator: qcom-refgen: fix module autoloading
        regulator: mt6360: De-capitalize devicetree regulator subnodes
        regulator: irq_helpers: duplicate IRQ name
      01066798
  2. 30 Apr, 2024 5 commits
  3. 29 Apr, 2024 11 commits
  4. 28 Apr, 2024 9 commits
  5. 27 Apr, 2024 9 commits
    • Linus Torvalds's avatar
      Merge tag 'rust-fixes-6.9' of https://github.com/Rust-for-Linux/linux · 2c815938
      Linus Torvalds authored
      Pull Rust fixes from Miguel Ojeda:
      
       - Soundness: make internal functions generated by the 'module!' macro
         inaccessible, do not implement 'Zeroable' for 'Infallible' and
         require 'Send' for the 'Module' trait.
      
       - Build: avoid errors with "empty" files and workaround 'rustdoc' ICE.
      
       - Kconfig: depend on '!CFI_CLANG' and avoid selecting 'CONSTRUCTORS'.
      
       - Code docs: remove non-existing key from 'module!' macro example.
      
       - Docs: trivial rendering fix in arch table.
      
      * tag 'rust-fixes-6.9' of https://github.com/Rust-for-Linux/linux:
        rust: remove `params` from `module` macro example
        kbuild: rust: force `alloc` extern to allow "empty" Rust files
        kbuild: rust: remove unneeded `@rustc_cfg` to avoid ICE
        rust: kernel: require `Send` for `Module` implementations
        rust: phy: implement `Send` for `Registration`
        rust: make mutually exclusive with CFI_CLANG
        rust: macros: fix soundness issue in `module!` macro
        rust: init: remove impl Zeroable for Infallible
        docs: rust: fix improper rendering in Arch Support page
        rust: don't select CONSTRUCTORS
      2c815938
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 57865f39
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix for TASK_SIZE on rv64/NOMMU, to reflect the lack of user/kernel
         separation
      
       - A fix to avoid loading rv64/NOMMU kernel past the start of RAM
      
       - A fix for RISCV_HWPROBE_EXT_ZVFHMIN on ilp32 to avoid signed integer
         overflow in the bitmask
      
       - The sud_test kselftest has been fixed to properly swizzle the syscall
         number into the return register, which are not the same on RISC-V
      
       - A fix for a build warning in the perf tools on rv32
      
       - A fix for the CBO selftests, to avoid non-constants leaking into the
         inline asm
      
       - A pair of fixes for T-Head PBMT errata probing, which has been
         renamed MAE by the vendor
      
      * tag 'riscv-for-linus-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        RISC-V: selftests: cbo: Ensure asm operands match constraints, take 2
        perf riscv: Fix the warning due to the incompatible type
        riscv: T-Head: Test availability bit before enabling MAE errata
        riscv: thead: Rename T-Head PBMT to MAE
        selftests: sud_test: return correct emulated syscall value on RISC-V
        riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
        riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
        riscv: Fix TASK_SIZE on 64-bit NOMMU
      57865f39
    • Linus Torvalds's avatar
      Merge tag '6.9-rc5-cifs-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · d43df69f
      Linus Torvalds authored
      Pull smb client fixes from Steve French:
       "Three smb3 client fixes, all also for stable:
      
         - two small locking fixes spotted by Coverity
      
         - FILE_ALL_INFO and network_open_info packing fix"
      
      * tag '6.9-rc5-cifs-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
        smb3: missing lock when picking channel
        smb: client: Fix struct_group() usage in __packed structs
      d43df69f
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 5d12ed4b
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Fix a race condition in the at24 eeprom handler, a NULL pointer
        exception in the I2C core for controllers only using target modes,
        drop a MAINTAINERS entry, and fix an incorrect DT binding for at24"
      
      * tag 'i2c-for-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: smbus: fix NULL function pointer dereference
        MAINTAINERS: Drop entry for PCA9541 bus master selector
        eeprom: at24: fix memory corruption race condition
        dt-bindings: eeprom: at24: Fix ST M24C64-D compatible schema
      5d12ed4b
    • Tetsuo Handa's avatar
      profiling: Remove create_prof_cpu_mask(). · 2e5449f4
      Tetsuo Handa authored
      create_prof_cpu_mask() is no longer used after commit 1f44a225 ("s390:
      convert interrupt handling to use generic hardirq").
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2e5449f4
    • Linus Torvalds's avatar
      Merge tag 'soundwire-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire · 8a5c3ef7
      Linus Torvalds authored
      Pull soundwire fix from Vinod Koul:
      
       - Single AMD driver fix for wake interrupt handling in clockstop mode
      
      * tag 'soundwire-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
        soundwire: amd: fix for wake interrupt handling for clockstop mode
      8a5c3ef7
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 6fba14a7
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
      
       - Revert pl330 issue_pending waits until WFP state due to regression
         reported in Bluetooth loading
      
       - Xilinx driver fixes for synchronization, buffer offsets, locking and
         kdoc
      
       - idxd fixes for spinlock and preventing the migration of the perf
         context to an invalid target
      
       - idma driver fix for interrupt handling when powered off
      
       - Tegra driver residual calculation fix
      
       - Owl driver register access fix
      
      * tag 'dmaengine-fix-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine:
        dmaengine: idxd: Fix oops during rmmod on single-CPU platforms
        dmaengine: xilinx: xdma: Clarify kdoc in XDMA driver
        dmaengine: xilinx: xdma: Fix synchronization issue
        dmaengine: xilinx: xdma: Fix wrong offsets in the buffers addresses in dma descriptor
        dma: xilinx_dpdma: Fix locking
        dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue
        idma64: Don't try to serve interrupts when device is powered off
        dmaengine: tegra186: Fix residual calculation
        dmaengine: owl: fix register access functions
        dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"
      6fba14a7
    • Linus Torvalds's avatar
      Merge tag 'phy-fixes-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 63407d30
      Linus Torvalds authored
      Pull phy fixes from Vinod Koul:
      
       - static checker (array size, bounds) fix for marvel driver
      
       - Rockchip rk3588 pcie fixes for bifurcation and mux
      
       - Qualcomm qmp-compbo fix for VCO, register base and regulator name for
         m31 driver
      
       - charger det crash fix for ti driver
      
      * tag 'phy-fixes-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
        phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered
        phy: qcom: qmp-combo: fix VCO div offset on v5_5nm and v6
        phy: phy-rockchip-samsung-hdptx: Select CONFIG_RATIONAL
        phy: qcom: m31: match requested regulator name with dt schema
        phy: qcom: qmp-combo: Fix register base for QSERDES_DP_PHY_MODE
        phy: qcom: qmp-combo: Fix VCO div offset on v3
        phy: rockchip: naneng-combphy: Fix mux on rk3588
        phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits
        phy: rockchip-snps-pcie3: fix bifurcation on rk3588
        phy: freescale: imx8m-pcie: fix pcie link-up instability
        phy: marvell: a3700-comphy: Fix hardcoded array size
        phy: marvell: a3700-comphy: Fix out of bounds read
      63407d30
    • Wolfram Sang's avatar
      i2c: smbus: fix NULL function pointer dereference · 91811a31
      Wolfram Sang authored
      Baruch reported an OOPS when using the designware controller as target
      only. Target-only modes break the assumption of one transfer function
      always being available. Fix this by always checking the pointer in
      __i2c_transfer.
      Reported-by: default avatarBaruch Siach <baruch@tkos.co.il>
      Closes: https://lore.kernel.org/r/4269631780e5ba789cf1ae391eec1b959def7d99.1712761976.git.baruch@tkos.co.il
      Fixes: 4b1acc43 ("i2c: core changes for slave support")
      [wsa: dropped the simplification in core-smbus to avoid theoretical regressions]
      Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
      Tested-by: default avatarBaruch Siach <baruch@tkos.co.il>
      91811a31
  6. 26 Apr, 2024 5 commits
    • Linus Torvalds's avatar
      Merge tag 'soc-fixes-6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 5eb4573e
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "There are a lot of minor DT fixes for Mediatek, Rockchip, Qualcomm and
        Microchip and NXP, addressing both build-time warnings and bugs found
        during runtime testing.
      
        Most of these changes are machine specific fixups, but there are a few
        notable regressions that affect an entire SoC:
      
         - The Qualcomm MSI support that was improved for 6.9 ended up being
           wrong on some chips and now gets fixed.
      
         - The i.MX8MP camera interface broke due to a typo and gets updated
           again.
      
        The main driver fix is also for Qualcomm platforms, rewriting an
        interface in the QSEECOM firmware support that could lead to crashing
        the kernel from a trusted application.
      
        The only other code changes are minor fixes for Mediatek SoC drivers"
      
      * tag 'soc-fixes-6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (50 commits)
        ARM: dts: imx6ull-tarragon: fix USB over-current polarity
        soc: mediatek: mtk-socinfo: depends on CONFIG_SOC_BUS
        soc: mediatek: mtk-svs: Append "-thermal" to thermal zone names
        arm64: dts: imx8mp: Fix assigned-clocks for second CSI2
        ARM: dts: microchip: at91-sama7g54_curiosity: Replace regulator-suspend-voltage with the valid property
        ARM: dts: microchip: at91-sama7g5ek: Replace regulator-suspend-voltage with the valid property
        arm64: dts: rockchip: Fix USB interface compatible string on kobol-helios64
        arm64: dts: qcom: sc8180x: Fix ss_phy_irq for secondary USB controller
        arm64: dts: qcom: sm8650: Fix the msi-map entries
        arm64: dts: qcom: sm8550: Fix the msi-map entries
        arm64: dts: qcom: sm8450: Fix the msi-map entries
        arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP
        arm64: dts: qcom: x1e80100: Fix the compatible for cluster idle states
        arm64: dts: qcom: Fix type of "wdog" IRQs for remoteprocs
        arm64: dts: rockchip: regulator for sd needs to be always on for BPI-R2Pro
        dt-bindings: rockchip: grf: Add missing type to 'pcie-phy' node
        arm64: dts: rockchip: drop redundant disable-gpios in Lubancat 2
        arm64: dts: rockchip: drop redundant disable-gpios in Lubancat 1
        arm64: dts: rockchip: drop redundant pcie-reset-suspend in Scarlet Dumo
        arm64: dts: rockchip: mark system power controller and fix typo on orangepi-5-plus
        ...
      5eb4573e
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2024-04-26-13-30' of... · e6ebf011
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2024-04-26-13-30' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull misc fixes from Andrew Morton:
       "11 hotfixes. 8 are cc:stable and the remaining 3 (nice ratio!) address
        post-6.8 issues or aren't considered suitable for backporting.
      
        All except one of these are for MM. I see no particular theme - it's
        singletons all over"
      
      * tag 'mm-hotfixes-stable-2024-04-26-13-30' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        mm/hugetlb: fix DEBUG_LOCKS_WARN_ON(1) when dissolve_free_hugetlb_folio()
        selftests: mm: protection_keys: save/restore nr_hugepages value from launch script
        stackdepot: respect __GFP_NOLOCKDEP allocation flag
        hugetlb: check for anon_vma prior to folio allocation
        mm: zswap: fix shrinker NULL crash with cgroup_disable=memory
        mm: turn folio_test_hugetlb into a PageType
        mm: support page_mapcount() on page_has_type() pages
        mm: create FOLIO_FLAG_FALSE and FOLIO_TYPE_OPS macros
        mm/hugetlb: fix missing hugetlb_lock for resv uncharge
        selftests: mm: fix unused and uninitialized variable warning
        selftests/harness: remove use of LINE_MAX
      e6ebf011
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 4630932a
      Linus Torvalds authored
      Pull MMC host fixes from Ulf Hansson:
      
       - moxart: Fix regression for sg_miter for PIO mode
      
       - sdhci-msm: Avoid hang by preventing access to suspended controller
      
       - sdhci-of-dwcmshc: Fix SD card tuning error for th1520
      
      * tag 'mmc-v6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: moxart: fix handling of sgm->consumed, otherwise WARN_ON triggers
        mmc: sdhci-of-dwcmshc: th1520: Increase tuning loop count to 128
        mmc: sdhci-msm: pervent access to suspended controller
      4630932a
    • Linus Torvalds's avatar
      Merge tag 'arc-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · c9e35b4a
      Linus Torvalds authored
      Pull ARC fixes from Vineet Gupta:
      
       - Incorrect VIPT aliasing assumption
      
       - Misc build warning fixes and some typos
      
      * tag 'arc-6.9-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARC: [plat-hsdk]: Remove misplaced interrupt-cells property
        ARC: Fix typos
        ARC: mm: fix new code about cache aliasing
        ARC: Fix -Wmissing-prototypes warnings
      c9e35b4a
    • Linus Torvalds's avatar
      Merge tag 'mtd/fixes-for-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · bbacf717
      Linus Torvalds authored
      Pull MTD fixes from Miquel Raynal:
       "There has been OTP support improvements in the NVMEM subsystem, and
        later also improvements of OTP support in the NAND subsystem. This
        lead to situations that we currently cannot handle, so better prevent
        this situation from happening in order to avoid canceling device's
        probe.
      
        In the raw NAND subsystem, two runtime fixes have been shared, one
        fixing two important commands in the Qcom driver since it got reworked
        and a NULL pointer dereference happening on STB chips.
      
        Arnd also fixed a UBSAN link failure on diskonchip"
      
      * tag 'mtd/fixes-for-6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
        mtd: limit OTP NVMEM cell parse to non-NAND devices
        mtd: diskonchip: work around ubsan link failure
        mtd: rawnand: qcom: Fix broken OP_RESET_DEVICE command in qcom_misc_cmd_type_exec()
        mtd: rawnand: brcmnand: Fix data access violation for STB chip
      bbacf717