Linux/linux d9043c7kernel/sched fair.c deadline.c

Merge tag 'sched_urgent_for_v6.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fixes from Borislav Petkov:

 - Make sure the check for lost pelt idle time is done unconditionally
   to have correct lost idle time accounting

 - Stop the deadline server task before a CPU goes offline

* tag 'sched_urgent_for_v6.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched/fair: Fix pelt lost idle time detection
  sched/deadline: Stop dl_server before CPU goes offline
DeltaFile
+13-13kernel/sched/fair.c
+3-0kernel/sched/deadline.c
+2-0kernel/sched/core.c
+18-133 files

Linux/linux 343b4b4kernel/events core.c uprobes.c

Merge tag 'perf_urgent_for_v6.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fixes from Borislav Petkov:

 - Make sure perf reporting works correctly in setups using
   overlayfs or FUSE

 - Move the uprobe optimization to a better location logically

* tag 'perf_urgent_for_v6.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/core: Fix MMAP2 event device with backing files
  perf/core: Fix MMAP event path names with backing files
  perf/core: Fix address filter match with backing files
  uprobe: Move arch_uprobe_optimize right after handlers execution
DeltaFile
+4-4kernel/events/core.c
+3-3kernel/events/uprobes.c
+7-72 files

Linux/linux c7864eearch/x86/kernel/cpu amd.c, arch/x86/kernel/cpu/resctrl monitor.c

Merge tag 'x86_urgent_for_v6.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fixes from Borislav Petkov:

 - Reset the why-the-system-rebooted register on AMD to avoid stale bits
   remaining from previous boots

 - Add a missing barrier in the TLB flushing code to prevent erroneously
   not flushing a TLB generation

 - Make sure cpa_flush() does not overshoot when computing the end range
   of a flush region

 - Fix resctrl bandwidth counting on AMD systems when the amount of
   monitoring groups created exceeds the number the hardware can track

* tag 'x86_urgent_for_v6.18_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/CPU/AMD: Prevent reset reasons from being retained across reboot
  x86/mm: Fix SMP ordering in switch_mm_irqs_off()

    [2 lines not shown]
DeltaFile
+22-2arch/x86/mm/tlb.c
+14-2arch/x86/kernel/cpu/amd.c
+10-4arch/x86/kernel/cpu/resctrl/monitor.c
+1-1arch/x86/mm/pat/set_memory.c
+47-94 files

Linux/linux 1c64efcDocumentation/rust coding-guidelines.rst, rust/kernel bitmap.rs cpufreq.rs

Merge tag 'rust-rustfmt' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux

Pull rustfmt fixes from Miguel Ojeda:
 "Rust 'rustfmt' cleanup

  'rustfmt', by default, formats imports in a way that is prone to
  conflicts while merging and rebasing, since in some cases it condenses
  several items into the same line.

  Document in our guidelines that we will handle this for the moment
  with the trailing empty comment workaround and make the tree
  'rustfmt'-clean again"

* tag 'rust-rustfmt' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
  rust: bitmap: fix formatting
  rust: cpufreq: fix formatting
  rust: alloc: employ a trailing comment to keep vertical layout
  docs: rust: add section on imports formatting
DeltaFile
+75-0Documentation/rust/coding-guidelines.rst
+6-2rust/kernel/bitmap.rs
+1-2rust/kernel/cpufreq.rs
+1-1rust/kernel/alloc/kvec.rs
+83-54 files

Linux/linux 648937fdrivers/char/tpm tpm_crb.c

Merge tag 'tpmdd-next-v6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd

Pull tpm fix from Jarkko Sakkinen:
 "Correct the state transitions for ARM FF-A to match the spec and how
  tpm_crb behaves on other platforms"

* tag 'tpmdd-next-v6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
  tpm_crb: Add idle support for the Arm FF-A start method
DeltaFile
+20-9drivers/char/tpm/tpm_crb.c
+20-91 files

Linux/linux e67bb0ddrivers/pci probe.c vgaarb.c, drivers/pci/controller vmd.c

Merge tag 'pci-v6.18-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull pci fixes from Bjorn Helgaas:

 - Search for MSI Capability with correct ID to fix an MSI regression on
   platforms with Cadence IP (Hans Zhang)

 - Revert early bridge resource set up to fix resource assignment
   failures that broke at least alpha boot and Snapdragon ath12k WiFi
   (Ilpo Järvinen)

 - Implement VMD .irq_startup()/.irq_shutdown() to fix IRQ issues that
   caused boot crashes and broken devices below VMD (Inochi Amaoto)

 - Select CONFIG_SCREEN_INFO on X86 to fix black screen on boot when
   SCREEN_INFO not selected (Mario Limonciello)

* tag 'pci-v6.18-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
  PCI/VGA: Select SCREEN_INFO on X86

    [3 lines not shown]
DeltaFile
+3-10drivers/pci/probe.c
+13-0drivers/pci/controller/vmd.c
+2-4drivers/pci/vgaarb.c
+1-1drivers/pci/controller/cadence/pcie-cadence-ep.c
+1-0drivers/pci/Kconfig
+20-155 files

Linux/linux ea0bdf2drivers/cxl acpi.c, drivers/cxl/core port.c region.c

Merge tag 'cxl-fixes-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl

Pull Compute Express Link fixes from Dave Jiang:
 "A small collection of CXL fixes. In addition to some misc fixes for
  the CXL subsystem, a number of fixes for CXL extended linear cache
  support are included to make it functional again.

   - Avoid missing port component registers setup due to dport
     enumeration failure

   - Add check for no entries in cxl_feature_info to address accessing
     invalid pointer.

   - Use %pa printk format to emit resource_size_t in
     validate_region_offset()

  CXL extended linear cache support fixes:

   - Fix setup of memory resource in cxl_acpi_set_cache_size()

    [17 lines not shown]
DeltaFile
+14-12drivers/cxl/core/port.c
+4-7drivers/cxl/core/region.c
+3-0drivers/cxl/core/features.c
+1-1drivers/cxl/core/trace.h
+1-1drivers/cxl/acpi.c
+23-215 files

Linux/linux 2953fb6drivers/hid hid-multitouch.c hid-cp2112.c, drivers/hid/intel-thc-hid/intel-quickspi pci-quickspi.c

Merge tag 'hid-for-linus-2025101701' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid

Pull HID fixes from Jiri Kosina:

 - fix for sticky fingers handling in hid-multitouch (Benjamin
   Tissoires)

 - fix for reporting of 0 battery levels (Dmitry Torokhov)

 - build fix for hid-haptic in certain configurations (Jonathan Denose)

 - improved probe and avoiding spamming kernel log by hid-nintendo
   (Vicki Pfau)

 - fix for OOB in hid-cp2112 (Deepak Sharma)

 - interrupt handling fix for intel-thc-hid (Even Xu)

 - a couple of new device IDs and device-specific quirks

    [18 lines not shown]
DeltaFile
+55-0tools/testing/selftests/hid/tests/test_multitouch.py
+15-13drivers/hid/hid-multitouch.c
+24-3drivers/hid/hid-cp2112.c
+21-0drivers/hid/hid-logitech-hidpp.c
+11-0include/linux/hid.h
+6-0drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
+132-169 files not shown
+151-2515 files

Linux/linux d303cafkernel/bpf helpers.c syscall.c, net/bpf test_run.c

Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf

Pull bpf fixes from Alexei Starovoitov:

 - Replace bpf_map_kmalloc_node() with kmalloc_nolock() to fix kmemleak
   imbalance in tracking of bpf_async_cb structures (Alexei Starovoitov)

 - Make selftests/bpf arg_parsing.c more robust to errors (Andrii
   Nakryiko)

 - Fix redefinition of 'off' as different kind of symbol when I40E
   driver is builtin (Brahmajit Das)

 - Do not disable preemption in bpf_test_run (Sahil Chandna)

 - Fix memory leak in __lookup_instance error path (Shardul Bankar)

 - Ensure test data is flushed to disk before reading it (Xing Guo)


    [8 lines not shown]
DeltaFile
+14-11kernel/bpf/helpers.c
+7-18net/bpf/test_run.c
+15-0kernel/bpf/syscall.c
+7-7tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
+9-3tools/testing/selftests/bpf/prog_tests/arg_parsing.c
+3-1kernel/bpf/liveness.c
+55-401 files not shown
+59-407 files

Linux/linux 847f242fs/exfat namei.c file.c

Merge tag 'exfat-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat

Pull exfat fixes from Namjae Jeon:

 - Fix out-of-bounds in FS_IOC_SETFSLABEL

 - Add validation for stream entry size to prevent infinite loop

* tag 'exfat-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
  exfat: fix out-of-bounds in exfat_nls_to_ucs2()
  exfat: fix improper check of dentry.stream.valid_size
DeltaFile
+6-2fs/exfat/namei.c
+4-3fs/exfat/file.c
+0-3fs/exfat/nls.c
+0-1fs/exfat/exfat_fs.h
+10-94 files

Linux/linux 2d07c6cfs/nfs nfs4proc.c write.c, fs/nfs/flexfilelayout flexfilelayout.c

Merge tag 'nfs-for-6.18-2' of git://git.linux-nfs.org/projects/anna/linux-nfs

Pull NFS client fixes from Anna Schumaker:

 - Fix for FlexFiles mirror->dss allocation

 - Apply delay_retrans to async operations

 - Check if suid/sgid is cleared after a write when needed

 - Fix setting the state renewal timer for early mounts after a reboot

* tag 'nfs-for-6.18-2' of git://git.linux-nfs.org/projects/anna/linux-nfs:
  NFS4: Fix state renewals missing after boot
  NFS: check if suid/sgid was cleared after a write as needed
  NFS4: Apply delay_retrans to async operations
  NFSv4/flexfiles: fix to allocate mirror->dss before use
DeltaFile
+21-14fs/nfs/flexfilelayout/flexfilelayout.c
+13-0fs/nfs/nfs4proc.c
+2-1fs/nfs/write.c
+1-0fs/nfs/nfs4client.c
+1-0include/linux/nfs_xdr.h
+38-155 files

Linux/linux 4ccb3a8fs/smb/client smbdirect.c cifsencrypt.c, fs/smb/common cifsglob.h

Merge tag '6.18-rc1-smb-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:
 "smb client fixes, security and smbdirect improvements, and some minor cleanup:

   - Important OOB DFS fix

   - Fix various potential tcon refcount leaks

   - smbdirect (RDMA) fixes (following up from test event a few weeks
     ago):

      - Fixes to improve and simplify handling of memory lifetime of
        smbdirect_mr_io structures, when a connection gets disconnected

      - Make sure we really wait to reach SMBDIRECT_SOCKET_DISCONNECTED
        before destroying resources

      - Make sure the send/recv submission/completion queues are large

    [29 lines not shown]
DeltaFile
+220-105fs/smb/client/smbdirect.c
+74-127fs/smb/client/cifsencrypt.c
+27-137fs/smb/client/smb2transport.c
+12-41fs/smb/client/smb2misc.c
+3-28fs/smb/client/link.c
+30-0fs/smb/common/cifsglob.h
+366-43814 files not shown
+421-50020 files

Linux/linux 02e5f74arch/arm64/kvm sys_regs.c arch_timer.c, arch/arm64/kvm/hyp/include/hyp switch.h

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:
 "ARM:

   - Fix the handling of ZCR_EL2 in NV VMs

   - Pick the correct translation regime when doing a PTW on the back of
     a SEA

   - Prevent userspace from injecting an event into a vcpu that isn't
     initialised yet

   - Move timer save/restore to the sysreg handling code, fixing EL2
     timer access in the process

   - Add FGT-based trapping of MDSCR_EL1 to reduce the overhead of debug

   - Fix trapping configuration when the host isn't GICv3

    [83 lines not shown]
DeltaFile
+92-79tools/testing/selftests/kvm/guest_memfd_test.c
+17-131arch/arm64/kvm/hyp/include/hyp/switch.h
+114-17tools/testing/selftests/kvm/pre_fault_memory_test.c
+105-26arch/arm64/kvm/sys_regs.c
+14-91arch/arm64/kvm/arch_timer.c
+96-3tools/testing/selftests/kvm/arm64/get-reg-list.c
+438-34738 files not shown
+941-54044 files

Linux/linux 0e622c4arch/powerpc/kernel fadump.c, arch/powerpc/kvm book3s_xive.c

Merge tag 'powerpc-6.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Madhavan Srinivasan:

 - Fix to handle NULL pointer dereference at irq domain teardown

 - Fix for handling extraction of struct xive_irq_data

 - Fix to skip parameter area allocation when fadump disabled

Thanks to Ganesh Goudar, Hari Bathini, Nam Cao, Ritesh Harjani (IBM),
Sourabh Jain, and Venkat Rao Bagalkote,

* tag 'powerpc-6.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc/fadump: skip parameter area allocation when fadump is disabled
  powerpc, ocxl: Fix extraction of struct xive_irq_data
  powerpc/pseries/msi: Fix NULL pointer dereference at irq domain teardown
DeltaFile
+4-8arch/powerpc/kvm/book3s_xive.c
+3-0arch/powerpc/kernel/fadump.c
+1-2arch/powerpc/platforms/pseries/msi.c
+1-1arch/powerpc/sysdev/xive/common.c
+1-1drivers/misc/ocxl/afu_irq.c
+1-1arch/powerpc/platforms/powernv/vas.c
+11-136 files

Linux/linux 959f018mm slub.c

Merge tag 'slab-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab

Pull slab fixes from Vlastimil Babka:

 - Fixes for two bugs that can be triggered when debugging options are
   enabled (Hao Ge, Vlastimil Babka)

* tag 'slab-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
  slab: reset slab->obj_ext when freeing and it is OBJEXTS_ALLOC_FAIL
  slab: fix clearing freelist in free_deferred_objects()
DeltaFile
+12-4mm/slub.c
+12-41 files

Linux/linux dbfdaebdrivers/char/tpm tpm_crb.c

tpm_crb: Add idle support for the Arm FF-A start method

According to the CRB over FF-A specification [1], a TPM that implements
the ABI must comply with the TCG PTP specification. This requires support
for the Idle and Ready states.

This patch implements CRB control area requests for goIdle and
cmdReady on FF-A based TPMs.

The FF-A message used to notify the TPM of CRB updates includes a
locality parameter, which provides a hint to the TPM about which
locality modified the CRB.  This patch adds a locality parameter
to __crb_go_idle() and __crb_cmd_ready() to support this.

[1] https://developer.arm.com/documentation/den0138/latest/

Signed-off-by: Stuart Yoder <stuart.yoder at arm.com>
Reviewed-by: Jarkko Sakkinen <jarkko at kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>
DeltaFile
+20-9drivers/char/tpm/tpm_crb.c
+20-91 files

Linux/linux 4361f5atools/testing/selftests/kvm guest_memfd_test.c pre_fault_memory_test.c, tools/testing/selftests/kvm/include kvm_util.h test_util.h

Merge tag 'kvm-x86-fixes-6.18-rc2' of https://github.com/kvm-x86/linux into HEAD

KVM x86 fixes for 6.18:

 - Expand the KVM_PRE_FAULT_MEMORY selftest to add a regression test for the
   bug fixed by commit 3ccbf6f47098 ("KVM: x86/mmu: Return -EAGAIN if userspace
   deletes/moves memslot during prefault")

 - Don't try to get PMU capabbilities from perf when running a CPU with hybrid
   CPUs/PMUs, as perf will rightly WARN.

 - Rework KVM_CAP_GUEST_MEMFD_MMAP (newly introduced in 6.18) into a more
   generic KVM_CAP_GUEST_MEMFD_FLAGS

 - Add a guest_memfd INIT_SHARED flag and require userspace to explicitly set
   said flag to initialize memory as SHARED, irrespective of MMAP.  The
   behavior merged in 6.18 is that enabling mmap() implicitly initializes
   memory as SHARED, which would result in an ABI collision for x86 CoCo VMs
   as their memory is currently always initialized PRIVATE.

    [7 lines not shown]
DeltaFile
+92-79tools/testing/selftests/kvm/guest_memfd_test.c
+114-17tools/testing/selftests/kvm/pre_fault_memory_test.c
+49-26virt/kvm/guest_memfd.c
+15-29tools/testing/selftests/kvm/lib/kvm_util.c
+25-0tools/testing/selftests/kvm/include/kvm_util.h
+19-0tools/testing/selftests/kvm/include/test_util.h
+314-15111 files not shown
+376-18617 files

Linux/linux 5d26eaaarch/arm64/kvm sys_regs.c arch_timer.c, arch/arm64/kvm/hyp/include/hyp switch.h

Merge tag 'kvmarm-fixes-6.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

KVM/arm64 fixes for 6.18, take #1

Improvements and bug fixes:

- Fix the handling of ZCR_EL2 in NV VMs
  (20250926194108.84093-1-oliver.upton at linux.dev)

- Pick the correct translation regime when doing a PTW on
  the back of a SEA (20250926224246.731748-1-oliver.upton at linux.dev)

- Prevent userspace from injecting an event into a vcpu that isn't
  initialised yet (20250930085237.108326-1-oliver.upton at linux.dev)

- Move timer save/restore to the sysreg handling code, fixing EL2 timer
  access in the process (20250929160458.3351788-1-maz at kernel.org)

- Add FGT-based trapping of MDSCR_EL1 to reduce the overhead of debug

    [41 lines not shown]
DeltaFile
+17-131arch/arm64/kvm/hyp/include/hyp/switch.h
+105-26arch/arm64/kvm/sys_regs.c
+14-91arch/arm64/kvm/arch_timer.c
+96-3tools/testing/selftests/kvm/arm64/get-reg-list.c
+90-0arch/arm64/kvm/config.c
+0-70arch/arm64/kvm/guest.c
+322-32124 files not shown
+565-35430 files

Linux/linux f406055arch/arm64/include/asm sysreg.h, arch/arm64/kernel entry-common.c

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Catalin Marinas:

 - Explicitly encode the XZR register if the value passed to
   write_sysreg_s() is 0.

   The GIC CDEOI instruction is encoded as a system register write with
   XZR as the source register. However, clang does not honour the "Z"
   register constraint, leading to incorrect code generation

 - Ensure the interrupts (DAIF.IF) are unmasked when completing
   single-step of a suspended breakpoint before calling
   exit_to_user_mode().

   With pseudo-NMIs, interrupts are (additionally) masked at the PMR_EL1
   register, handled by local_irq_*()

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:

    [2 lines not shown]
DeltaFile
+10-1arch/arm64/include/asm/sysreg.h
+5-3arch/arm64/kernel/entry-common.c
+15-42 files

Linux/linux fe69107arch/riscv Kconfig, arch/riscv/include/asm kgdb.h

Merge tag 'riscv-for-linux-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Paul Walmsley:

 - Disable CFI with Rust for any platform other than x86 and ARM64

 - Keep task mm_cpumasks up-to-date to avoid triggering M-mode firmware
   warnings if the kernel tries to send an IPI to an offline CPU

 - Improve kprobe address validation performance and avoid desyncs
   (following x86)

 - Avoid duplicate device probes by avoiding DT hardware probing when
   ACPI is enabled in early boot

 - Use the correct set of dependencies for
   CONFIG_ARCH_HAS_ELF_CORE_EFLAGS, avoiding an allnoconfig warning

 - Fix a few other minor issues

    [10 lines not shown]
DeltaFile
+9-4arch/riscv/kernel/probes/kprobes.c
+7-2arch/riscv/include/asm/kgdb.h
+5-2arch/riscv/kernel/setup.c
+2-2arch/riscv/kernel/tests/kprobes/test-kprobes.h
+1-1arch/riscv/Kconfig
+1-1arch/riscv/kernel/entry.S
+25-122 files not shown
+27-128 files

Linux/linux a1e83d4tools/testing/selftests/bpf/progs verifier_global_ptr_args.c

selftests/bpf: Fix redefinition of 'off' as different kind of symbol

This fixes the following build error

   CLNG-BPF [test_progs] verifier_global_ptr_args.bpf.o
progs/verifier_global_ptr_args.c:228:5: error: redefinition of 'off' as
different kind of symbol
   228 | u32 off;
       |     ^

The symbol 'off' was previously defined in
tools/testing/selftests/bpf/tools/include/vmlinux.h, which includes an
enum i40e_ptp_gpio_pin_state from
drivers/net/ethernet/intel/i40e/i40e_ptp.c:

        enum i40e_ptp_gpio_pin_state {
                end = -2,
                invalid = -1,
                off = 0,

    [19 lines not shown]
DeltaFile
+7-7tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
+7-71 files

Linux/linux 7c33e97net/bpf test_run.c

bpf: Do not disable preemption in bpf_test_run().

The timer mode is initialized to NO_PREEMPT mode by default,
this disables preemption and force execution in atomic context
causing issue on PREEMPT_RT configurations when invoking
spin_lock_bh(), leading to the following warning:

BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6107, name: syz.0.17
preempt_count: 1, expected: 0
RCU nest depth: 1, expected: 1
Preemption disabled at:
[<ffffffff891fce58>] bpf_test_timer_enter+0xf8/0x140 net/bpf/test_run.c:42

Fix this, by removing NO_PREEMPT/NO_MIGRATE mode check.
Also, the test timer context no longer needs explicit calls to
migrate_disable()/migrate_enable() with rcu_read_lock()/rcu_read_unlock().
Use helpers rcu_read_lock_dont_migrate() and rcu_read_unlock_migrate()
instead.

    [12 lines not shown]
DeltaFile
+6-17net/bpf/test_run.c
+6-171 files

Linux/linux ea0d55aarch/arm64/kernel entry-common.c

arm64: debug: always unmask interrupts in el0_softstp()

We intend that EL0 exception handlers unmask all DAIF exceptions
before calling exit_to_user_mode().

When completing single-step of a suspended breakpoint, we do not call
local_daif_restore(DAIF_PROCCTX) before calling exit_to_user_mode(),
leaving all DAIF exceptions masked.

When pseudo-NMIs are not in use this is benign.

When pseudo-NMIs are in use, this is unsound. At this point interrupts
are masked by both DAIF.IF and PMR_EL1, and subsequent irq flag
manipulation may not work correctly. For example, a subsequent
local_irq_enable() within exit_to_user_mode_loop() will only unmask
interrupts via PMR_EL1 (leaving those masked via DAIF.IF), and
anything depending on interrupts being unmasked (e.g. delivery of
signals) will not work correctly.


    [11 lines not shown]
DeltaFile
+5-3arch/arm64/kernel/entry-common.c
+5-31 files

Linux/linux e9ad390arch/arm64/include/asm sysreg.h

arm64/sysreg: Fix GIC CDEOI instruction encoding

The GIC CDEOI system instruction requires the Rt field to be set to 0b11111
otherwise the instruction behaviour becomes CONSTRAINED UNPREDICTABLE.

Currenly, its usage is encoded as a system register write, with a constant
0 value:

write_sysreg_s(0, GICV5_OP_GIC_CDEOI)

While compiling with GCC, the 0 constant value, through these asm
constraints and modifiers ('x' modifier and 'Z' constraint combo):

asm volatile(__msr_s(r, "%x0") : : "rZ" (__val));

forces the compiler to issue the XZR register for the MSR operation (ie
that corresponds to Rt == 0b11111) issuing the right instruction encoding.

Unfortunately LLVM does not yet understand that modifier/constraint

    [21 lines not shown]
DeltaFile
+10-1arch/arm64/include/asm/sysreg.h
+10-11 files

Linux/linux 6f3b6e9io_uring register.c rw.c

Merge tag 'io_uring-6.18-20251016' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:

 - Revert of a change that went into an older kernel, and which has been
   reported to cause a regression for some write workloads on LVM while
   a snapshop is being created

 - Fix a regression from this merge window, where some compilers (and/or
   certain .config options) would cause an earlier evaluations of a
   dereference which would then cause a NULL pointer dereference.

   I was only able to reproduce this with OPTIMIZE_FOR_SIZE=y, but David
   Howells hit it with just KASAN enabled. Depending on how things
   inlined, this makes sense

 - Fix for a missing lock around a mem region unregistration

 - Fix for ring resizing with the same placement after resize

    [6 lines not shown]
DeltaFile
+1-7io_uring/register.c
+6-2io_uring/rw.c
+7-92 files

Linux/linux 0c8df15block blk-cgroup.c blk-mq-tag.c, drivers/nvme/host multipath.c auth.c

Merge tag 'block-6.18-20251016' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe:

 - NVMe pull request via Keith:
     - iostats accounting fixed on multipath retries (Amit)
     - secure concatenation response fixup (Martin)
     - tls partial record fixup (Wilfred)

 - Fix for a lockdep reported issue with the elevator lock and
   blk group frozen operations

 - Fix for a regression in this merge window, where updating
   'nr_requests' would not do the right thing for queues with
   shared tags

* tag 'block-6.18-20251016' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  nvme/tcp: handle tls partially sent records in write_space()
  block: Remove elevator_lock usage from blkg_conf frozen operations

    [3 lines not shown]
DeltaFile
+4-9block/blk-cgroup.c
+4-2drivers/nvme/host/multipath.c
+5-1drivers/nvme/host/auth.c
+3-2block/blk-mq-tag.c
+2-1block/blk-mq.h
+3-0drivers/nvme/host/tcp.c
+21-152 files not shown
+23-178 files

Linux/linux cf1ea88drivers/mmc/core block.c, include/linux rpmb.h

Merge tag 'mmc-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc

Pull mmc cleanup from Ulf Hansson:
 "Move rpmb_frame struct and constants to rpmb common header

  This helps us to avoid sharing an immutable branch between our git
  trees. I was planning to send it before rc1, but I didn't make it"

* tag 'mmc-v6.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
  rpmb: move rpmb_frame struct and constants to common header
DeltaFile
+44-0include/linux/rpmb.h
+0-42drivers/mmc/core/block.c
+44-422 files

Linux/linux 1422424Documentation/devicetree/bindings/sound ti,tas2781.yaml, sound/soc/codecs nau8821.c wcd938x-sdw.c

Merge tag 'sound-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "A collection of small fixes. All changes are rather boring
  device-specific fixes and quirks:

   - A few fixes for missing NULL checks

   - ASoC NAU8821 fixes for jack and irq handling

   - Various fixes for ASoC TAS2781, IDT821034, sc8280xp, max9809x,
     wcd938x, and SoundWire

   - Usual HD-audio and USB-audio quirks"

* tag 'sound-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (27 commits)
  ALSA: hda/realtek: Fix mute led for HP Omen 17-cb0xxx
  ALSA: usb-audio: fix vendor quirk for Logitech H390
  ALSA: usb-audio: add volume quirks for MS LifeChat LX-3000

    [18 lines not shown]
DeltaFile
+82-51sound/soc/codecs/nau8821.c
+37-6Documentation/devicetree/bindings/sound/ti,tas2781.yaml
+4-18sound/soc/codecs/wcd938x-sdw.c
+19-2sound/soc/codecs/tas2781-i2c.c
+20-0sound/soc/sdw_utils/soc_sdw_utils.c
+15-0sound/usb/mixer.c
+177-7716 files not shown
+219-9022 files

Linux/linux e96687cdrivers/gpu/drm/amd/amdgpu amdgpu_fence.c, drivers/gpu/drm/amd/amdkfd kfd_device_queue_manager.c

Merge tag 'drm-fixes-2025-10-17' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "As per usual xe/amdgpu are the leaders, with some i915 and then a
  bunch of scattered fixes. There are a bunch of stability fixes for
  some older amdgpu cards.

  draw:
   - Avoid color truncation

  gpuvm:
   - Avoid kernel-doc warning

  sched:
   - Avoid double free

  i915:
   - Skip GuC communication warning if reset is in progress
   - Couple frontbuffer related fixes

    [72 lines not shown]
DeltaFile
+21-52drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+45-9drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+20-18drivers/gpu/drm/i915/display/intel_fb.c
+26-8drivers/gpu/drm/xe/xe_vram.c
+23-9drivers/gpu/drm/xe/xe_vm.c
+0-21include/uapi/drm/amdgpu_drm.h
+135-11754 files not shown
+355-22460 files

Linux/linux 389dfd9Documentation/devicetree/bindings/i2c apm,xgene-slimpro-i2c.yaml i2c-xgene-slimpro.txt, drivers/i2c/busses i2c-stm32f7.c i2c-imx-lpi2c.c

Merge tag 'i2c-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c fixes from Wolfram Sang:

 - PM cleanup after all prerequisites are merged with rc1

 - usbio: missing addition after all dependencies are in

 - slimpro: DT binding schema conversion

* tag 'i2c-for-6.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
  dt-bindings: i2c: Convert apm,xgene-slimpro-i2c to DT schema
  i2c: usbio: Add ACPI device-id for MTL-CVF devices
  i2c: Remove redundant pm_runtime_mark_last_busy() calls
DeltaFile
+36-0Documentation/devicetree/bindings/i2c/apm,xgene-slimpro-i2c.yaml
+0-15Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt
+0-5drivers/i2c/busses/i2c-stm32f7.c
+0-4drivers/i2c/busses/i2c-imx-lpi2c.c
+0-3drivers/i2c/busses/i2c-qup.c
+0-3drivers/i2c/busses/i2c-omap.c
+36-3019 files not shown
+37-5625 files