1. 11 Jul, 2024 28 commits
  2. 07 Jul, 2024 3 commits
    • Linus Torvalds's avatar
      Linux 6.10-rc7 · 256abd8e
      Linus Torvalds authored
      256abd8e
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 5a4bd506
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A set of clk fixes for the Qualcomm, Mediatek, and Allwinner drivers:
      
         - Fix the Qualcomm Stromer Plus PLL set_rate() clk_op to explicitly
           set the alpha enable bit and not set bits that don't exist
      
         - Mark Qualcomm IPQ9574 crypto clks as voted to avoid stuck clk
           warnings
      
         - Fix the parent of some PLLs on Qualcomm sm6530 so their rate is
           correct
      
         - Fix the min/max rate clamping logic in the Allwinner driver that
           got broken in v6.9
      
         - Limit runtime PM enabling in the Mediatek driver to only
           mt8183-mfgcfg so that system wide resume doesn't break on other
           Mediatek SoCs"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: mediatek: mt8183: Only enable runtime PM on mt8183-mfgcfg
        clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
        clk: qcom: gcc-ipq9574: Add BRANCH_HALT_VOTED flag
        clk: qcom: apss-ipq-pll: remove 'config_ctl_hi_val' from Stromer pll configs
        clk: qcom: clk-alpha-pll: set ALPHA_EN bit for Stromer Plus PLLs
        clk: qcom: gcc-sm6350: Fix gpll6* & gpll7 parents
      5a4bd506
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · c6653f49
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix unnecessary copy to 0 when kernel is booted at address 0
      
       - Fix usercopy crash when dumping dtl via debugfs
      
       - Avoid possible crash when PCI hotplug races with error handling
      
       - Fix kexec crash caused by scv being disabled before other CPUs
         call-in
      
       - Fix powerpc selftests build with USERCFLAGS set
      
      Thanks to Anjali K, Ganesh Goudar, Gautam Menghani, Jinglin Wen,
      Nicholas Piggin, Sourabh Jain, Srikar Dronamraju, and Vishal Chourasia.
      
      * tag 'powerpc-6.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        selftests/powerpc: Fix build with USERCFLAGS set
        powerpc/pseries: Fix scv instruction crash with kexec
        powerpc/eeh: avoid possible crash when edev->pdev changes
        powerpc/pseries: Whitelist dtl slub object for copying to userspace
        powerpc/64s: Fix unnecessary copy to 0 when kernel is booted at address 0
      c6653f49
  3. 06 Jul, 2024 3 commits
    • Linus Torvalds's avatar
      Merge tag '6.10-rc6-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6 · 256fdd4b
      Linus Torvalds authored
      Pull smb client fix from Steve French:
       "Fix for smb3 readahead performance regression"
      
      * tag '6.10-rc6-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: Fix read-performance regression by dropping readahead expansion
      256fdd4b
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 22f902df
      Linus Torvalds authored
      Pull i2c fix from Wolfram Sang:
       "An i2c driver fix"
      
      * tag 'i2c-for-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
      22f902df
    • Michael Ellerman's avatar
      selftests/powerpc: Fix build with USERCFLAGS set · 8b7f59de
      Michael Ellerman authored
      Currently building the powerpc selftests with USERCFLAGS set to anything
      causes the build to break:
      
        $ make -C tools/testing/selftests/powerpc V=1 USERCFLAGS=-Wno-error
        ...
        gcc -Wno-error    cache_shape.c ...
        cache_shape.c:18:10: fatal error: utils.h: No such file or directory
           18 | #include "utils.h"
              |          ^~~~~~~~~
        compilation terminated.
      
      This happens because the USERCFLAGS are added to CFLAGS in lib.mk, which
      causes the check of CFLAGS in powerpc/flags.mk to skip setting CFLAGS at
      all, resulting in none of the usual CFLAGS being passed. That can
      be seen in the output above, the only flag passed to the compiler is
      -Wno-error.
      
      Fix it by dropping the conditional setting of CFLAGS in flags.mk.
      Instead always set CFLAGS, but also append USERCFLAGS if they are set.
      
      Note that appending to CFLAGS (with +=) wouldn't work, because flags.mk
      is included by multiple Makefiles (to support partial builds), causing
      CFLAGS to be appended to multiple times. Additionally that would place
      the USERCFLAGS prior to the standard CFLAGS, meaning the USERCFLAGS
      couldn't override the standard flags. Being able to override the
      standard flags is desirable, for example for adding -Wno-error.
      
      With the fix in place, the CFLAGS are set correctly, including the
      USERCFLAGS:
      
        $ make -C tools/testing/selftests/powerpc V=1 USERCFLAGS=-Wno-error
        ...
        gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"v6.10-rc2-7-gdea17e7e56c3"'
        -I/home/michael/linux/tools/testing/selftests/powerpc/include -Wno-error
        cache_shape.c ...
      
      Fixes: 5553a793 ("selftests/powerpc: Add flags.mk to support pmu buildable")
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://msgid.link/20240706120833.909853-1-mpe@ellerman.id.au
      8b7f59de
  4. 05 Jul, 2024 6 commits
    • Linus Torvalds's avatar
      Merge tag 'integrity-v6.10-fix' of... · 1dd28064
      Linus Torvalds authored
      Merge tag 'integrity-v6.10-fix' of ssh://ra.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
      
      Pull integrity fix from Mimi Zohar:
       "A single bug fix to properly remove all of the securityfs IMA
        measurement lists"
      
      * tag 'integrity-v6.10-fix' of ssh://ra.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        ima: fix wrong zero-assignment during securityfs dentry remove
      1dd28064
    • Linus Torvalds's avatar
      Merge tag 'pci-v6.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci · d270dd21
      Linus Torvalds authored
      Pull pci update from Bjorn Helgaas:
      
       - Update MAINTAINERS and CREDITS to credit Gustavo Pimentel with the
         Synopsys DesignWare eDMA driver and reflect that he is no longer at
         Synopsys and isn't in a position to maintain the DesignWare xData
         traffic generator (Bjorn Helgaas)
      
      * tag 'pci-v6.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
        CREDITS: Add Synopsys DesignWare eDMA driver for Gustavo Pimentel
        MAINTAINERS: Orphan Synopsys DesignWare xData traffic generator
      d270dd21
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · b673f2bd
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix for the CMODX example in the recently added icache flushing
         prctl()
      
       - A fix to the perf driver to avoid corrupting event data on counter
         overflows when external overflow handlers are in use
      
       - A fix to clear all hardware performance monitor events on boot, to
         avoid dangling events firmware or previously booted kernels from
         triggering spuriously
      
       - A fix to the perf event probing logic to avoid erroneously reporting
         the presence of unimplemented counters. This also prevents some
         implemented counters from being reported
      
       - A build fix for the vector sigreturn selftest on clang
      
       - A fix to ftrace, which now requires the previously optional index
         argument to ftrace_graph_ret_addr()
      
       - A fix to avoid deadlocking if kexec crash handling triggers in an
         interrupt context
      
      * tag 'riscv-for-linus-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: kexec: Avoid deadlock in kexec crash path
        riscv: stacktrace: fix usage of ftrace_graph_ret_addr()
        riscv: selftests: Fix vsetivli args for clang
        perf: RISC-V: Check standard event availability
        drivers/perf: riscv: Reset the counter to hpmevent mapping while starting cpus
        drivers/perf: riscv: Do not update the event data if uptodate
        documentation: Fix riscv cmodx example
      b673f2bd
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-07-05' of https://gitlab.freedesktop.org/drm/kernel · dd9d7390
      Linus Torvalds authored
      Pull drm fixes from Daniel Vetter:
       "Just small fixes all over here, all quiet as it should.
      
        drivers:
      
         - amd: mostly amdgpu display fixes + radeon vm NULL deref fix
      
         - xe: migration error handling + typoed register name in gt setup
      
         - i915: usb-c fix to shut up warnings on MTL+
      
         - panthor: fix sync-only jobs + ioctl validation fix to not EINVAL
           wrongly
      
         - panel quirks
      
         - nouveau: NULL deref in get_modes
      
        drm core:
      
         - fbdev big endian fix for the dma memory backed variant
      
        drivers/firmware:
      
         - fix sysfb refcounting"
      
      * tag 'drm-fixes-2024-07-05' of https://gitlab.freedesktop.org/drm/kernel:
        drm/xe/mcr: Avoid clobbering DSS steering
        drm/xe: fix error handling in xe_migrate_update_pgtables
        drm/ttm: Always take the bo delayed cleanup path for imported bos
        drm/fbdev-generic: Fix framebuffer on big endian devices
        drm/panthor: Fix sync-only jobs
        drm/panthor: Don't check the array stride on empty uobj arrays
        drm/amdgpu/atomfirmware: silence UBSAN warning
        drm/radeon: check bo_va->bo is non-NULL before using it
        drm/amd/display: Fix array-index-out-of-bounds in dml2/FCLKChangeSupport
        drm/amd/display: Update efficiency bandwidth for dcn351
        drm/amd/display: Fix refresh rate range for some panel
        drm/amd/display: Account for cursor prefetch BW in DML1 mode support
        drm/amd/display: Add refresh rate range check
        drm/amd/display: Reset freesync config before update new state
        drm: panel-orientation-quirks: Add labels for both Valve Steam Deck revisions
        drm: panel-orientation-quirks: Add quirk for Valve Galileo
        drm/i915/display: For MTL+ platforms skip mg dp programming
        drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
        firmware: sysfb: Fix reference count of sysfb parent device
      dd9d7390
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 96846073
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
       "Two OF lookup quirks and one fix for an issue in the generic gpio-mmio
        driver:
      
         - add two OF lookup quirks for TSC2005 and MIPS Lantiq
      
         - don't try to figure out bgpio_bits from the 'ngpios' property in
           gpio-mmio"
      
      * tag 'gpio-fixes-for-v6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpiolib: of: add polarity quirk for TSC2005
        gpio: mmio: do not calculate bgpio_bits via "ngpios"
        gpiolib: of: fix lookup quirk for MIPS Lantiq
      96846073
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-next-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd · 5cc46711
      Linus Torvalds authored
      Pull TPM fixes from Jarkko Sakkinen:
       "This contains the fixes for !chip->auth condition, preventing the
        breakage of:
         - tpm_ftpm_tee.c
         - tpm_i2c_nuvoton.c
         - tpm_ibmvtpm.c
         - tpm_tis_i2c_cr50.c
         - tpm_vtpm_proxy.c
      
        All drivers will continue to work as they did in 6.9, except a single
        warning (dev_warn() not WARN()) is printed to klog only to inform that
        authenticated sessions are not enabled"
      
      * tag 'tpmdd-next-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
        tpm: Address !chip->auth in tpm_buf_append_hmac_session*()
        tpm: Address !chip->auth in tpm_buf_append_name()
        tpm: Address !chip->auth in tpm2_*_auth_session()
      5cc46711