1. 12 Sep, 2024 6 commits
  2. 11 Sep, 2024 4 commits
  3. 10 Sep, 2024 2 commits
  4. 08 Sep, 2024 5 commits
    • Linus Torvalds's avatar
      Linux 6.11-rc7 · da3ea350
      Linus Torvalds authored
      da3ea350
    • Linus Torvalds's avatar
      Merge tag 'timers_urgent_for_v6.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 89f5e14d
      Linus Torvalds authored
      Pull timer fixes from Borislav Petkov:
      
       - Remove percpu irq related code in the timer-of initialization routine
         as it is broken but also unused (Daniel Lezcano)
      
       - Fix return -ETIME when delta exceeds INT_MAX and the next event not
         taking effect sometimes (Jacky Bai)
      
      * tag 'timers_urgent_for_v6.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
        clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
        clocksource/drivers/timer-of: Remove percpu irq related code
      89f5e14d
    • Linus Torvalds's avatar
      Merge tag 'perf_urgent_for_v6.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e2039887
      Linus Torvalds authored
      Pull perf fixes from Borislav Petkov:
      
       - Fix perf's AUX buffer serialization
      
       - Prevent uninitialized struct members in perf's uprobes handling
      
      * tag 'perf_urgent_for_v6.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/aux: Fix AUX buffer serialization
        uprobes: Use kzalloc to allocate xol area
      e2039887
    • Linus Torvalds's avatar
      Merge tag 'char-misc-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 5dadc1be
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char/misc/other driver fixes for 6.11-rc7. It's
        nothing huge, just a bunch of small fixes of reported problems,
        including:
      
         - lots of tiny iio driver fixes
      
         - nvmem driver fixex
      
         - binder UAF bugfix
      
         - uio driver crash fix
      
         - other small fixes
      
        All of these have been in linux-next this week with no reported
        problems"
      
      * tag 'char-misc-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (21 commits)
        VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
        Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
        uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
        misc: keba: Fix sysfs group creation
        dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
        nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
        nvmem: u-boot-env: error if NVMEM device is too small
        misc: fastrpc: Fix double free of 'buf' in error path
        binder: fix UAF caused by offsets overwrite
        iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips
        iio: adc: ad7173: fix GPIO device info
        iio: adc: ad7124: fix DT configuration parsing
        iio: adc: ad_sigma_delta: fix irq_flags on irq request
        iio: adc: ads1119: Fix IRQ flags
        iio: fix scale application in iio_convert_raw_to_processed_unlocked
        iio: adc: ad7124: fix config comparison
        iio: adc: ad7124: fix chip ID mismatch
        iio: adc: ad7173: Fix incorrect compatible string
        iio: buffer-dmaengine: fix releasing dma channel on error
        iio: adc: ad7606: remove frstdata check for serial mode
        ...
      5dadc1be
    • Linus Torvalds's avatar
      Merge tag 'usb-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 51c4d5f1
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a handful of small USB fixes for 6.11-rc7. Included in here
        are:
      
         - dwc3 driver fixes for two reported problems
      
         - two typec ucsi driver fixes
      
         - cdns2 controller reset fix
      
        All of these have been in linux-next this week with no reported
        problems"
      
      * tag 'usb-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: typec: ucsi: Fix cable registration
        usb: typec: ucsi: Fix the partner PD revision
        usb: cdns2: Fix controller reset issue
        usb: dwc3: core: update LC timer as per USB Spec V3.2
        usb: dwc3: Avoid waking up gadget during startxfer
      51c4d5f1
  5. 07 Sep, 2024 7 commits
  6. 06 Sep, 2024 16 commits
    • Linus Torvalds's avatar
      KVM: x86: don't fall through case statements without annotations · 9d4c3040
      Linus Torvalds authored
      clang warns on this because it has an unannotated fall-through between
      cases:
      
         arch/x86/kvm/x86.c:4819:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
      
      and while we could annotate it as a fallthrough, the proper fix is to
      just add the break for this case, instead of falling through to the
      default case and the break there.
      
      gcc also has that warning, but it looks like gcc only warns for the
      cases where they fall through to "real code", rather than to just a
      break.  Odd.
      
      Fixes: d30d9ee9 ("KVM: x86: Only advertise KVM_CAP_READONLY_MEM when supported by VM")
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Tom Dohrmann <erbse.13@gmx.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9d4c3040
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 6b8ff511
      Linus Torvalds authored
      Pull arm64 fix from Catalin Marinas:
       "Fix the arm64 usage of ftrace_graph_ret_addr() to pass the
        &state->graph_idx pointer instead of NULL, otherwise this function
        just returns early"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: stacktrace: fix the usage of ftrace_graph_ret_addr()
      6b8ff511
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 890daede
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A revert for the mmap() change that ties the allocation range to the
         hint adress, as what we tried to do ended up regressing on other
         userspace workloads.
      
       - A fix to avoid a kernel memory leak when emulating misaligned
         accesses from userspace.
      
       - A Kconfig fix for toolchain vector detection, which now correctly
         detects vector support on toolchains where the V extension depends on
         the M extension.
      
       - A fix to avoid failing the linear mapping bootmem bounds check on
         NOMMU systems.
      
       - A fix for early alternatives on relocatable kernels.
      
      * tag 'riscv-for-linus-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Fix RISCV_ALTERNATIVE_EARLY
        riscv: Do not restrict memory size because of linear mapping on nommu
        riscv: Fix toolchain vector detection
        riscv: misaligned: Restrict user access to kernel memory
        riscv: mm: Do not restrict mmap address based on hint
        riscv: selftests: Remove mmap hint address checks
        Revert "RISC-V: mm: Document mmap changes"
      890daede
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · a78d7dce
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix a deadlock in the powerpc qspinlock MCS queue logic
      
       - Fix the return type of pgd_val() to not truncate 64-bit PTEs on 85xx
      
       - Allow the check for dynamic relocations in the VDSO to work correctly
      
       - Make mmu_pte_psize static to fix a build error
      
      Thanks to Christophe Leroy, Nysal Jan K.A., Nicholas Piggin, Geetika
      Moolchandani, Jijo Varghese, and Vaishnavi Bhat.
      
      * tag 'powerpc-6.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/qspinlock: Fix deadlock in MCS queue
        powerpc/mm: Fix return type of pgd_val()
        powerpc/vdso: Don't discard rela sections
        powerpc/64e: Define mmu_pte_psize static
      a78d7dce
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · d45111e5
      Linus Torvalds authored
      Pull x86 kvm fixes from Paolo Bonzini:
       "Many small fixes that accumulated while I was on vacation...
      
         - Fixup missed comments from the REMOVED_SPTE => FROZEN_SPTE rename
      
         - Ensure a root is successfully loaded when pre-faulting SPTEs
      
         - Grab kvm->srcu when handling KVM_SET_VCPU_EVENTS to guard against
           accessing memslots if toggling SMM happens to force a VM-Exit
      
         - Emulate MSR_{FS,GS}_BASE on SVM even though interception is always
           disabled, so that KVM does the right thing if KVM's emulator
           encounters {RD,WR}MSR
      
         - Explicitly clear BUS_LOCK_DETECT from KVM's caps on AMD, as KVM
           doesn't yet virtualize BUS_LOCK_DETECT on AMD
      
         - Cleanup the help message for CONFIG_KVM_AMD_SEV, and call out that
           KVM now supports SEV-SNP too
      
         - Specialize return value of
           KVM_CHECK_EXTENSION(KVM_CAP_READONLY_MEM), based on VM type
      
         - Remove unnecessary dependency on CONFIG_HIGH_RES_TIMERS
      
         - Note an RCU quiescent state on guest exit. This avoids a call to
           rcu_core() if there was a grace period request while guest was
           running"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: Remove HIGH_RES_TIMERS dependency
        kvm: Note an RCU quiescent state on guest exit
        KVM: x86: Only advertise KVM_CAP_READONLY_MEM when supported by VM
        KVM: SEV: Update KVM_AMD_SEV Kconfig entry and mention SEV-SNP
        KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing
        KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE
        KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
        KVM: x86/mmu: Check that root is valid/loaded when pre-faulting SPTEs
        KVM: x86/mmu: Fixup comments missed by the REMOVED_SPTE=>FROZEN_SPTE rename
      d45111e5
    • Linus Torvalds's avatar
      Merge tag 'pm-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 788220ee
      Linus Torvalds authored
      Pull power management fix from Rafael Wysocki:
       "Fix an incorrect warning emitted by the amd-pstate driver on
        processors that don't support X86_FEATURE_CPPC (Gautham Shenoy)"
      
      * tag 'pm-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq/amd-pstate: Remove warning for X86_FEATURE_CPPC on certain Zen models
      788220ee
    • Linus Torvalds's avatar
      Merge tag 'block-6.11-20240906' of git://git.kernel.dk/linux · b66f0b11
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Mostly just some fixlets for NVMe, but also a bug fix for the ublk
        driver and an integrity fix"
      
      * tag 'block-6.11-20240906' of git://git.kernel.dk/linux:
        bio-integrity: don't restrict the size of integrity metadata
        ublk_drv: fix NULL pointer dereference in ublk_ctrl_start_recovery()
        nvmet: Identify-Active Namespace ID List command should reject invalid nsid
        nvme: set BLK_FEAT_ZONED for ZNS multipath disks
        nvme-pci: Add sleep quirk for Samsung 990 Evo
        nvme-pci: allocate tagset on reset if necessary
        nvmet-tcp: fix kernel crash if commands allocation fails
        nvme: use better description for async reset reason
        nvmet: Make nvmet_debugfs static
      b66f0b11
    • Linus Torvalds's avatar
      Merge tag 'sound-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 703896be
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Hopefully the last PR for 6.11, at least for this level of amount.
      
        In addition to the usual HD-audio quirks, there are more changes in
        ASoC, but all look small and device-specific fixes, and nothing stands
        out. The only slightly big change is sunxi I2S fix, which looks quite
        safe to apply, too"
      
      * tag 'sound-6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (21 commits)
        ALSA: hda/realtek - Fix inactive headset mic jack for ASUS Vivobook 15 X1504VAP
        ALSA: hda/realtek: Support mute LED on HP Laptop 14-dq2xxx
        ALSA: hda/realtek: Enable Mute Led for HP Victus 15-fb1xxx
        ALSA: hda/realtek: extend quirks for Clevo V5[46]0
        ASoC: codecs: lpass-va-macro: set the default codec version for sm8250
        ALSA: hda: add HDMI codec ID for Intel PTL
        ALSA: hda/realtek: add patch for internal mic in Lenovo V145
        ASoC: sunxi: sun4i-i2s: fix LRCLK polarity in i2s mode
        ASoC: amd: yc: Add a quirk for MSI Bravo 17 (D7VEK)
        ASoC: mediatek: mt8188-mt6359: Modify key
        ASoc: SOF: topology: Clear SOF link platform name upon unload
        ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
        ASoC: SOF: ipc: replace "enum sof_comp_type" field with "uint32_t"
        ASoC: fix module autoloading
        ASoC: tda7419: fix module autoloading
        ASoC: google: fix module autoloading
        ASoC: intel: fix module autoloading
        ASoC: tegra: Fix CBB error during probe()
        ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object
        ASoC: Intel: soc-acpi-cht: Make Lenovo Yoga Tab 3 X90F DMI match less strict
        ...
      703896be
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · c3af2256
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "MMC core:
         - Apply SD quirks earlier during probe so they become relevant
      
        MMC host:
         - cqhci: Fix checking of CQHCI_HALT state
         - dw_mmc: Fix IDMAC operation with pages bigger than 4K
         - sdhci-of-aspeed: Fix module autoloading"
      
      * tag 'mmc-v6.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: cqhci: Fix checking of CQHCI_HALT state
        mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
        mmc: sdhci-of-aspeed: fix module autoloading
        mmc: core: apply SD quirks earlier during probe
      c3af2256
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · 0de82f0d
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix an OF node reference leak in gpio-rockchip
      
       - add the missing module device table to gpio-modepin
      
      * tag 'gpio-fixes-for-v6.11-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: modepin: Enable module autoloading
        gpio: rockchip: fix OF node leak in probe()
      0de82f0d
    • Linus Torvalds's avatar
      Merge tag 'pmdomain-v6.11-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm · 2125a725
      Linus Torvalds authored
      Pull pmdomain fix from Ulf Hansson:
      
       - Fix support for required OPPs for multiple PM domains
      
      * tag 'pmdomain-v6.11-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
        OPP: Fix support for required OPPs for multiple PM domains
      2125a725
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-6.11-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux · 8654fa5c
      Linus Torvalds authored
      Pull pwm fix from Uwe Kleine-König:
       "Fix an off-by-one in the stm32 driver.
      
        Hardware engineers tend to start counting at 1 while the software guys
        usually start with 0. This isn't so nice because that results in
        drivers where pwm device #2 needs to use the hardware registers with
        index 3.
      
        This was noticed by Fabrice Gasnier.
      
        A small patch fixing that mismatch is the only change included here"
      
      * tag 'pwm/for-6.11-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux:
        pwm: stm32: Use the right CCxNP bit in stm32_pwm_enable()
      8654fa5c
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2024-09-06' of https://gitlab.freedesktop.org/drm/kernel · ea462f0f
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This has a fair few patches in it, but I reviewed them all and they
        seem like real things, amdgpu, i915 and xe each have a bunch of fixes
        for various things, then there is a some bridge suspend/resume
        ordering fixes for a recent rework, and then some single driver
        changes in a few others.
      
        Nothing looks too serious, hopefully next week is quiet.
      
        amdgpu:
         - IPS workaround
         - Fix compatibility with older MES firmware
         - Fix CPU spikes when clearing VRAM
         - Backlight fix
         - PMO fix
         - Revert SWSMU change to fix regression
      
        xe:
         - GSC loading fix
         - PCODE mutex fix
         - Suspend/Resume fixes
         - RPM fixes
      
        i915:
         - Do not attempt to load the GSC multiple times
         - Fix readout degamma_lut mismatch on ilk/snb
         - Mark debug_fence_init_onstack() with __maybe_unused
         - fence: Mark debug_fence_free() with __maybe_unused
         - display: Add mechanism to use sink model when applying quirk
         - display: Increase Fast Wake Sync length as a quirk
      
        komeda:
         - zpos normalization fix
      
        nouveau:
         - incorrect register fix
      
        imagination:
         - memory leak fix
      
        bridge:
         - hdmi/bridge rework fixes
      
        panthor:
         - cache coherency fix
         - hi priority access fix
      
        panel:
         - change of compatible string
      
        fbdev:
         - deferred-io init with no struct page fix"
      
      * tag 'drm-fixes-2024-09-06' of https://gitlab.freedesktop.org/drm/kernel: (29 commits)
        Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs"
        drm/fbdev-dma: Only install deferred I/O if necessary
        drm/panthor: flush FW AS caches in slow reset path
        drm: panel: nv3052c: Correct WL-355608-A8 panel compatible
        dt-bindings: display: panel: Rename WL-355608-A8 panel to rg35xx-*-panel
        drm/panthor: Restrict high priorities on group_create
        drm/xe/display: Avoid encoder_suspend at runtime suspend
        drm/xe: Suspend/resume user access only during system s/r
        drm/xe/display: Match i915 driver suspend/resume sequences better
        drm/xe: Add missing runtime reference to wedged upon gt_reset
        drm/xe/pcode: Treat pcode as per-tile rather than per-GT
        drm/xe/gsc: Do not attempt to load the GSC multiple times
        drm/bridge-connector: reset the HDMI connector state
        drm/bridge-connector: move to DRM_DISPLAY_HELPER module
        drm/display: stop depending on DRM_DISPLAY_HELPER
        drm/i915/display: Increase Fast Wake Sync length as a quirk
        drm/i915/display: Add mechanism to use sink model when applying quirk
        drm/amd/display: Block timing sync for different signals in PMO
        drm/amd/display: Lock DC and exit IPS when changing backlight
        drm/amdgpu: always allocate cleared VRAM for GEM allocations
        ...
      ea462f0f
    • Christian Brauner's avatar
      libfs: fix get_stashed_dentry() · 4e32c25b
      Christian Brauner authored
      get_stashed_dentry() tries to optimistically retrieve a stashed dentry
      from a provided location.  It needs to ensure to hold rcu lock before it
      dereference the stashed location to prevent UAF issues.  Use
      rcu_dereference() instead of READ_ONCE() it's effectively equivalent
      with some lockdep bells and whistles and it communicates clearly that
      this expects rcu protection.
      
      Link: https://lore.kernel.org/r/20240906-vfs-hotfix-5959800ffa68@brauner
      Fixes: 07fd7c32 ("libfs: add path_from_stashed()")
      Reported-by: syzbot+f82b36bffae7ef78b6a7@syzkaller.appspotmail.com
      Fixes: syzbot+f82b36bffae7ef78b6a7@syzkaller.appspotmail.com
      Reported-by: syzbot+cbe4b96e1194b0e34db6@syzkaller.appspotmail.com
      Fixes: syzbot+cbe4b96e1194b0e34db6@syzkaller.appspotmail.com
      Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4e32c25b
    • Yuesong Li's avatar
      drivers:drm:exynos_drm_gsc:Fix wrong assignment in gsc_bind() · 94ebc3d3
      Yuesong Li authored
      cocci reported a double assignment problem. Upon reviewing previous
      commits, it appears this may actually be an incorrect assignment.
      
      Fixes: 8b955034 ("drm/ipp: clean up debug messages")
      Signed-off-by: default avatarYuesong Li <liyuesong@vivo.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      94ebc3d3
    • Kwanghoon Son's avatar
      drm/exynos: Remove unnecessary code · 3fcdd062
      Kwanghoon Son authored
      Function usage exynos_atomic_commit was removed in
      commit 41cbf0fd ("drm/exynos: use atomic helper commit").
      Remove unnecessary function declare.
      Signed-off-by: default avatarKwanghoon Son <k.son@samsung.com>
      Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
      3fcdd062