Linux/linux c23719aarch/x86/boot/compressed sev.c, arch/x86/entry/vdso/vdso32 sigreturn.S

Merge tag 'x86-urgent-2026-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fixes from Ingo Molnar:

 - Fix SEV guest boot failures in certain circumstances, due to
   very early code relying on a BSS-zeroed variable that isn't
   actually zeroed yet an may contain non-zero bootup values

   Move the variable into the .data section go gain even earlier
   zeroing

 - Expose & allow the IBPB-on-Entry feature on SNP guests, which
   was not properly exposed to guests due to initial implementational
   caution

 - Fix O= build failure when CONFIG_EFI_SBAT_FILE is using relative
   file paths

 - Fix the various SNC (Sub-NUMA Clustering) topology enumeration

    [22 lines not shown]
DeltaFile
+144-55arch/x86/kernel/smpboot.c
+5-31arch/x86/kernel/cpu/resctrl/monitor.c
+30-0arch/x86/entry/vdso/vdso32/sigreturn.S
+11-2arch/x86/kernel/cpu/topology.c
+5-4arch/x86/boot/compressed/sev.c
+8-0arch/x86/mm/numa.c
+203-928 files not shown
+227-9414 files

Linux/linux 6ff1020kernel/time timekeeping.c

Merge tag 'timers-urgent-2026-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Ingo Molnar:
 "Make clock_adjtime() syscall timex validation slightly more permissive
  for auxiliary clocks, to not reject syscalls based on the status field
  that do not try to modify the status field.

  This makes the ABI behavior in clock_adjtime() consistent with
  CLOCK_REALTIME"

* tag 'timers-urgent-2026-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timekeeping: Fix timex status validation for auxiliary clocks
DeltaFile
+4-2kernel/time/timekeeping.c
+4-21 files

Linux/linux b1b9a9dkernel/sched syscalls.c

Merge tag 'sched-urgent-2026-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Ingo Molnar:
 "Fix a DL scheduler bug that may corrupt internal metrics during PI and
  setscheduler() syscalls, resulting in kernel warnings and misbehavior.

  Found during stress-testing"

* tag 'sched-urgent-2026-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched/deadline: Fix missing ENQUEUE_REPLENISH during PI de-boosting
DeltaFile
+30-0kernel/sched/syscalls.c
+30-01 files

Linux/linux 1954c4finclude/linux eventpoll.h

eventpoll: Convert epoll_put_uevent() to scoped user access

Saves two function calls, and one stac/clac pair.

stac/clac is rather expensive on older cpus like Zen 2.

A synthetic network stress test gives a ~1.5% increase of pps
on AMD Zen 2.

Signed-off-by: Eric Dumazet <edumazet at google.com>
Cc: Christophe Leroy <christophe.leroy at csgroup.eu>
Cc: Dave Hansen <dave.hansen at intel.com>
Cc: Kuniyuki Iwashima <kuniyu at google.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+7-4include/linux/eventpoll.h
+7-41 files

Linux/linux 3b5d535drivers/scsi scsi_devinfo.c scsi_scan.c, drivers/scsi/mpi3mr mpi3mr_fw.c

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

Pull SCSI fixes from James Bottomley:
 "Two core changes and the rest in drivers, one core change to quirk the
  behaviour of the Iomega Zip drive and one to fix a hang caused by tag
  reallocation problems, which has mostly been seen by the iscsi client.

  Note the latter fixes the problem but still has a slight sysfs memory
  leak, so will be amended in the next pull request (once we've run the
  fix for the fix through our testing)"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: target: Fix recursive locking in __configfs_open_file()
  scsi: devinfo: Add BLIST_SKIP_IO_HINTS for Iomega ZIP
  scsi: mpi3mr: Clear reset history on ready and recheck state after timeout
  scsi: core: Fix refcount leak for tagset_refcnt
DeltaFile
+6-9drivers/target/target_core_configfs.c
+10-0drivers/scsi/mpi3mr/mpi3mr_fw.c
+1-1drivers/scsi/scsi_devinfo.c
+1-0drivers/scsi/scsi_scan.c
+18-104 files

Linux/linux fb07430drivers/video/fbdev au1100fb.c

Merge tag 'fbdev-for-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev

Pull fbdev fix from Helge Deller:
 "Silence build error in au1100fb driver found by kernel test robot"

* tag 'fbdev-for-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
  fbdev: au1100fb: Fix build on MIPS64
DeltaFile
+6-2drivers/video/fbdev/au1100fb.c
+6-21 files

Linux/linux 6deccafarch/parisc/include/asm pgtable.h, arch/parisc/kernel setup.c head.S

Merge tag 'parisc-for-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux

Pull parisc fixes from Helge Deller:
 "While testing Sasha Levin's 'kallsyms: embed source file:line info in
  kernel stack traces' patch series, which increases the typical kernel
  image size, I found some issues with the parisc initial kernel mapping
  which may prevent the kernel to boot.

  The three small patches here fix this"

* tag 'parisc-for-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
  parisc: Fix initial page table creation for boot
  parisc: Check kernel mapping earlier at bootup
  parisc: Increase initial mapping to 64 MB with KALLSYMS
DeltaFile
+12-8arch/parisc/kernel/setup.c
+6-1arch/parisc/kernel/head.S
+1-1arch/parisc/include/asm/pgtable.h
+19-103 files

Linux/linux 8b7f4cdkernel/bpf verifier.c, tools/testing/selftests/bpf/prog_tests reg_bounds.c

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

Pull bpf fixes from Alexei Starovoitov:

 - Fix u32/s32 bounds when ranges cross min/max boundary (Eduard
   Zingerman)

 - Fix precision backtracking with linked registers (Eduard Zingerman)

 - Fix linker flags detection for resolve_btfids (Ihor Solodrai)

 - Fix race in update_ftrace_direct_add/del (Jiri Olsa)

 - Fix UAF in bpf_trampoline_link_cgroup_shim (Lang Xu)

* tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
  resolve_btfids: Fix linker flags detection
  selftests/bpf: add reproducer for spurious precision propagation through calls
  bpf: collect only live registers in linked regs

    [5 lines not shown]
DeltaFile
+58-18tools/testing/selftests/bpf/prog_tests/reg_bounds.c
+64-0tools/testing/selftests/bpf/progs/verifier_linked_scalars.c
+42-14tools/testing/selftests/bpf/progs/verifier_scalar_ids.c
+38-1tools/testing/selftests/bpf/progs/verifier_bounds.c
+34-3kernel/bpf/verifier.c
+17-17tools/testing/selftests/bpf/progs/exceptions_assert.c
+253-535 files not shown
+268-6211 files

Linux/linux 03dcad7tools/testing/selftests/rcutorture/configs/rcu TREE06 TRIVIAL

Merge tag 'rcu-fixes.v7.0-20260307a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux

Pull RCU selftest fixes from Boqun Feng:
 "Fix a regression in RCU torture test pre-defined scenarios caused by
  commit 7dadeaa6e851 ("sched: Further restrict the preemption modes")
  which limits PREEMPT_NONE to architectures that do not support
  preemption at all and PREEMPT_VOLUNTARY to those architectures that do
  not yet have PREEMPT_LAZY support.

  Since major architectures (e.g. x86 and arm64) no longer support
  CONFIG_PREEMPT_NONE and CONFIG_PREEMPT_VOLUNTARY, using them in
  rcutorture, rcuscale, refscale, and scftorture pre-defined scenarios
  causes config checking errors.

  Switch these kconfigs to PREEMPT_LAZY"

* tag 'rcu-fixes.v7.0-20260307a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux:
  scftorture: Update due to x86 not supporting none/voluntary preemption
  refscale: Update due to x86 not supporting none/voluntary preemption

    [2 lines not shown]
DeltaFile
+4-1tools/testing/selftests/rcutorture/configs/rcu/TREE06
+3-1tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL
+3-1tools/testing/selftests/rcutorture/configs/rcu/TREE05
+3-1tools/testing/selftests/rcutorture/configs/rcu/TREE04
+2-2tools/testing/selftests/rcutorture/configs/rcu/TINY01
+2-2tools/testing/selftests/rcutorture/configs/rcu/SRCU-U
+17-811 files not shown
+39-1817 files

Linux/linux aed0af0kernel/trace trace.c trace_events.c

Merge tag 'trace-v7.0-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:

 - Fix possible NULL pointer dereference in trace_data_alloc()

   On the trace_data_alloc() error path, it can call trigger_data_free()
   with a NULL pointer. This used to be a kfree() but was changed to
   trigger_data_free() to clean up any partial initialization. The issue
   is that trigger_data_free() does not expect a NULL pointer. Have
   trigger_data_free() return safely on NULL pointer.

 - Fix multiple events on the command line and bootconfig

   If multiple events are enabled on the command line separately and not
   grouped, only the last event gets enabled. That is:

      trace_event=sched_switch trace_event=sched_waking


    [26 lines not shown]
DeltaFile
+3-3kernel/trace/trace.c
+5-1kernel/trace/trace_events.c
+3-0kernel/trace/trace_events_trigger.c
+11-43 files

Linux/linux b0dcdcbtools/bpf/resolve_btfids Makefile, tools/testing/selftests/bpf Makefile

resolve_btfids: Fix linker flags detection

The "|| echo -lzstd" default makes zstd an unconditional link
dependency of resolve_btfids. On systems where libzstd-dev is not
installed and pkg-config fails, the linker fails:

  ld: cannot find -lzstd: No such file or directory

libzstd is a transitive dependency of libelf, so the -lzstd flag is
strictly necessary only for static builds [1].

Remove ZSTD_LIBS variable, and instead set LIBELF_LIBS depending on
whether the build is static or not. Use $(HOSTPKG_CONFIG) as primary
source of the flags list.

Also add a default value for HOSTPKG_CONFIG in case it's not built via
the toplevel Makefile. Pass it from selftests/bpf too.

[1] https://lore.kernel.org/bpf/4ff82800-2daa-4b9f-95a9-6f512859ee70@linux.dev/

    [10 lines not shown]
DeltaFile
+7-2tools/bpf/resolve_btfids/Makefile
+1-0tools/testing/selftests/bpf/Makefile
+8-22 files

Linux/linux 7b6e48dDocumentation/hwmon sa67.rst, drivers/hwmon sa67mcu-hwmon.c macsmc-hwmon.c

Merge tag 'hwmon-for-v7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - Fix initialization commands for AHT20

 - Correct a malformed email address (emc1403)

 - Check the it87_lock() return value

 - Fix inverted polarity (max6639)

 - Fix overflows, underflows, sign extension, and other problems in
   macsmc

 - Fix stack overflow in debugfs read (pmbus/q54sj108a2)

 - Drop support for SMARC-sAM67 (discontinued and never released to
   market)

    [11 lines not shown]
DeltaFile
+0-161drivers/hwmon/sa67mcu-hwmon.c
+26-25drivers/hwmon/macsmc-hwmon.c
+0-41Documentation/hwmon/sa67.rst
+10-9drivers/hwmon/pmbus/q54sj108a2.c
+0-10drivers/hwmon/Kconfig
+4-2drivers/hwmon/aht10.c
+40-2487 files not shown
+46-25513 files

Linux/linux e33aafadrivers/base base.h dd.c, include/linux/device bus.h

Merge tag 'driver-core-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core

Pull driver core fix from Danilo Krummrich:

 - Revert "driver core: enforce device_lock for driver_match_device()":

   When a device is already present in the system and a driver is
   registered on the same bus, we iterate over all devices registered on
   this bus to see if one of them matches. If we come across an already
   bound one where the corresponding driver crashed while holding the
   device lock (e.g. in probe()) we can't make any progress anymore.

   Thus, revert and clarify that an implementer of struct bus_type must
   not expect match() to be called with the device lock held.

* tag 'driver-core-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core:
  Revert "driver core: enforce device_lock for driver_match_device()"
DeltaFile
+1-10drivers/base/base.h
+1-1drivers/base/dd.c
+2-0include/linux/device/bus.h
+4-113 files

Linux/linux 0f912c8arch/x86/kernel head_64.S, arch/x86/xen mmu_pv.c

Merge tag 'for-linus-7.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip

Pull xen fixes from Juergen Gross:

 - a cleanup of arch/x86/kernel/head_64.S removing the pre-built page
   tables for Xen guests

 - a small comment update

 - another cleanup for Xen PVH guests mode

 - fix an issue with Xen PV-devices backed by driver domains

* tag 'for-linus-7.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  xen/xenbus: better handle backend crash
  xenbus: add xenbus_device parameter to xenbus_read_driver_state()
  x86/PVH: Use boot params to pass RSDP address in start_info page
  x86/xen: update outdated comment
  xen/acpi-processor: fix _CST detection using undersized evaluation buffer
  x86/xen: Build identity mapping page tables dynamically for XENPV
DeltaFile
+39-3drivers/xen/xenbus/xenbus_probe.c
+17-17drivers/net/xen-netfront.c
+0-28arch/x86/kernel/head_64.S
+14-3drivers/xen/xenbus/xenbus_client.c
+5-5drivers/xen/xen-pciback/xenbus.c
+9-0arch/x86/xen/mmu_pv.c
+84-568 files not shown
+97-7714 files

Linux/linux 325d1bakernel/bpf verifier.c, tools/testing/selftests/bpf/progs verifier_linked_scalars.c verifier_scalar_ids.c

Merge branch 'bpf-fix-precision-backtracking-bug-with-linked-registers'

Eduard Zingerman says:

====================
bpf: Fix precision backtracking bug with linked registers

Emil Tsalapatis reported a verifier bug hit by the scx_lavd sched_ext
scheduler. The essential part of the verifier log looks as follows:

  436: ...
  // checkpoint hit for 438: (1d) if r7 == r8 goto ...
  frame 3: propagating r2,r7,r8
  frame 2: propagating r6
  mark_precise: frame3: last_idx ...
  mark_precise: frame3: regs=r2,r7,r8 stack= before 436: ...
  mark_precise: frame3: regs=r2,r7 stack= before 435: ...
  mark_precise: frame3: regs=r2,r7 stack= before 434: (85) call bpf_trace_vprintk#177
  verifier bug: backtracking call unexpected regs 84

    [31 lines not shown]
DeltaFile
+64-0tools/testing/selftests/bpf/progs/verifier_linked_scalars.c
+42-14tools/testing/selftests/bpf/progs/verifier_scalar_ids.c
+17-17tools/testing/selftests/bpf/progs/exceptions_assert.c
+10-3kernel/bpf/verifier.c
+4-4tools/testing/selftests/bpf/verifier/precise.c
+137-385 files

Linux/linux 223ffb6tools/testing/selftests/bpf/progs verifier_linked_scalars.c

selftests/bpf: add reproducer for spurious precision propagation through calls

Add a test for the scenario described in the previous commit:
an iterator loop with two paths where one ties r2/r7 via
shared scalar id and skips a call, while the other goes
through the call. Precision marks from the linked registers
get spuriously propagated to the call path via
propagate_precision(), hitting "backtracking call unexpected
regs" in backtrack_insn().

Signed-off-by: Eduard Zingerman <eddyz87 at gmail.com>
Link: https://lore.kernel.org/r/20260306-linked-regs-and-propagate-precision-v1-2-18e859be570d@gmail.com
Signed-off-by: Alexei Starovoitov <ast at kernel.org>

DeltaFile
+64-0tools/testing/selftests/bpf/progs/verifier_linked_scalars.c
+64-01 files

Linux/linux 2658a17kernel/bpf verifier.c, tools/testing/selftests/bpf/progs verifier_scalar_ids.c exceptions_assert.c

bpf: collect only live registers in linked regs

Fix an inconsistency between func_states_equal() and
collect_linked_regs():
- regsafe() uses check_ids() to verify that cached and current states
  have identical register id mapping.
- func_states_equal() calls regsafe() only for registers computed as
  live by compute_live_registers().
- clean_live_states() is supposed to remove dead registers from cached
  states, but it can skip states belonging to an iterator-based loop.
- collect_linked_regs() collects all registers sharing the same id,
  ignoring the marks computed by compute_live_registers().
  Linked registers are stored in the state's jump history.
- backtrack_insn() marks all linked registers for an instruction
  as precise whenever one of the linked registers is precise.

The above might lead to a scenario:
- There is an instruction I with register rY known to be dead at I.
- Instruction I is reached via two paths: first A, then B.

    [34 lines not shown]
DeltaFile
+42-14tools/testing/selftests/bpf/progs/verifier_scalar_ids.c
+17-17tools/testing/selftests/bpf/progs/exceptions_assert.c
+10-3kernel/bpf/verifier.c
+4-4tools/testing/selftests/bpf/verifier/precise.c
+73-384 files

Linux/linux 4ae12d8. Makefile, arch/x86/boot/compressed vmlinux.lds.S

Merge tag 'kbuild-fixes-7.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild fixes from Nathan Chancellor:

 - Split out .modinfo section from ELF_DETAILS macro, as that macro may
   be used in other areas that expect to discard .modinfo, breaking
   certain image layouts

 - Adjust genksyms parser to handle optional attributes in certain
   declarations, necessary after commit 07919126ecfc ("netfilter:
   annotate NAT helper hook pointers with __rcu")

 - Include resolve_btfids in external module build created by
   scripts/package/install-extmod-build when it may be run on external
   modules

 - Avoid removing objtool binary with 'make clean', as it is required
   for external module builds


    [5 lines not shown]
DeltaFile
+4-4Makefile
+5-3tools/objtool/Makefile
+2-2scripts/genksyms/parse.y
+3-1include/asm-generic/vmlinux.lds.h
+4-0scripts/package/install-extmod-build
+1-1arch/x86/boot/compressed/vmlinux.lds.S
+19-1125 files not shown
+44-1131 files

Linux/linux 591d879arch/s390/include/asm processor.h, arch/s390/lib xor.c

Merge tag 's390-7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 fixes from Vasily Gorbik:

 - Fix stackleak and xor lib inline asm, constraints and clobbers to
   prevent miscompilations and incomplete stack poisoning

* tag 's390-7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
  s390/stackleak: Fix __stackleak_poison() inline assembly constraint
  s390/xor: Improve inline assembly constraints
  s390/xor: Fix xor_xc_2() inline assembly constraints
  s390/xor: Fix xor_xc_5() inline assembly
DeltaFile
+5-6arch/s390/lib/xor.c
+1-1arch/s390/include/asm/processor.h
+6-72 files

Linux/linux 4660e16arch/arm64/include/asm cmpxchg.h pgtable-prot.h, arch/arm64/mm contpte.c

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

Pull arm64 fixes from Will Deacon:
 "The main changes are a fix to the way in which we manage the access
  flag setting for mappings using the contiguous bit and a fix for a
  hang on the kexec/hibernation path.

  Summary:

   - Fix kexec/hibernation hang due to bogus read-only mappings

   - Fix sparse warnings in our cmpxchg() implementation

   - Prevent runtime-const being used in modules, just like x86

   - Fix broken elision of access flag modifications for contiguous
     entries on systems without support for hardware updates

   - Fix a broken SVE selftest that was testing the wrong instruction"

    [7 lines not shown]
DeltaFile
+49-4arch/arm64/mm/contpte.c
+7-5arch/arm64/include/asm/cmpxchg.h
+5-5arch/arm64/include/asm/pgtable-prot.h
+2-2tools/testing/selftests/arm64/abi/hwcap.c
+4-0arch/arm64/include/asm/runtime-const.h
+67-165 files

Linux/linux d008ba8kernel/trace trace.c

tracing: Fix trace_buf_size= cmdline parameter with sizes >= 2G

Some of the sizing logic through tracer_alloc_buffers() uses int
internally, causing unexpected behavior if the user passes a value that
does not fit in an int (on my x86 machine, the result is uselessly tiny
buffers).

Fix by plumbing the parameter's real type (unsigned long) through to the
ring buffer allocation functions, which already use unsigned long.

It has always been possible to create larger ring buffers via the sysfs
interface: this only affects the cmdline parameter.

Cc: stable at vger.kernel.org
Cc: Masami Hiramatsu <mhiramat at kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Link: https://patch.msgid.link/bff42a4288aada08bdf74da3f5b67a2c28b761f8.1772852067.git.calvin@wbinvd.org
Fixes: 73c5162aa362 ("tracing: keep ring buffer to minimum size till used")
Signed-off-by: Calvin Owens <calvin at wbinvd.org>
Signed-off-by: Steven Rostedt (Google) <rostedt at goodmis.org>
DeltaFile
+3-3kernel/trace/trace.c
+3-31 files

Linux/linux f81fdfdtools/testing/selftests/bpf/progs verifier_bounds.c

selftests/bpf: test refining u32/s32 bounds when ranges cross min/max boundary

Two test cases for signed/unsigned 32-bit bounds refinement
when s32 range crosses the sign boundary:
- s32 range [S32_MIN..1] overlapping with u32 range [3..U32_MAX],
  s32 range tail before sign boundary overlaps with u32 range.
- s32 range [-3..5] overlapping with u32 range [0..S32_MIN+3],
  s32 range head after the sign boundary overlaps with u32 range.

This covers both branches added in the __reg32_deduce_bounds().

Also, crossing_32_bit_signed_boundary_2() no longer triggers invariant
violations.

Reviewed-by: Emil Tsalapatis <emil at etsalapatis.com>
Reviewed-by: Paul Chaignon <paul.chaignon at gmail.com>
Acked-by: Shung-Hsi Yu <shung-hsi.yu at suse.com>
Signed-off-by: Eduard Zingerman <eddyz87 at gmail.com>
Link: https://lore.kernel.org/r/20260306-bpf-32-bit-range-overflow-v3-2-f7f67e060a6b@gmail.com

    [2 lines not shown]
DeltaFile
+38-1tools/testing/selftests/bpf/progs/verifier_bounds.c
+38-11 files

Linux/linux 6895e1dkernel/bpf verifier.c, tools/testing/selftests/bpf/prog_tests reg_bounds.c

Merge branch 'bpf-fix-u32-s32-bounds-when-ranges-cross-min-max-boundary'

Eduard Zingerman says:

====================
bpf: Fix u32/s32 bounds when ranges cross min/max boundary

Cover the following cases in range refinement logic for 32-bit ranges:
- s32 range crosses U32_MAX/0 boundary, positive part of the s32 range
  overlaps with u32 range.
- s32 range crosses U32_MAX/0 boundary, negative part of the s32 range
  overlaps with u32 range.

These cases are already handled for 64-bit range refinement.

Without the fix the test in patch 2 is rejected by the verifier.
The test was reduced from sched-ext program.

Changelog:

    [15 lines not shown]
DeltaFile
+58-18tools/testing/selftests/bpf/prog_tests/reg_bounds.c
+38-1tools/testing/selftests/bpf/progs/verifier_bounds.c
+24-0kernel/bpf/verifier.c
+120-193 files

Linux/linux d87c930tools/testing/selftests/bpf/prog_tests reg_bounds.c

Revert "selftests/bpf: Update reg_bound range refinement logic"

This reverts commit da653de268d32a80e135c9eb960a8147c186f1bc.
Removed logic is now covered by range_refine_in_halves()
which handles both 32-bit and 64-bit refinements.

Suggested-by: Paul Chaignon <paul.chaignon at gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87 at gmail.com>
Link: https://lore.kernel.org/r/20260306-bpf-32-bit-range-overflow-v3-3-f7f67e060a6b@gmail.com
Signed-off-by: Alexei Starovoitov <ast at kernel.org>

DeltaFile
+0-14tools/testing/selftests/bpf/prog_tests/reg_bounds.c
+0-141 files

Linux/linux fbc7aefkernel/bpf verifier.c, tools/testing/selftests/bpf/prog_tests reg_bounds.c

bpf: Fix u32/s32 bounds when ranges cross min/max boundary

Same as in __reg64_deduce_bounds(), refine s32/u32 ranges
in __reg32_deduce_bounds() in the following situations:

- s32 range crosses U32_MAX/0 boundary, positive part of the s32 range
  overlaps with u32 range:

  0                                                   U32_MAX
  |  [xxxxxxxxxxxxxx u32 range xxxxxxxxxxxxxx]              |
  |----------------------------|----------------------------|
  |xxxxx s32 range xxxxxxxxx]                       [xxxxxxx|
  0                     S32_MAX S32_MIN                    -1

- s32 range crosses U32_MAX/0 boundary, negative part of the s32 range
  overlaps with u32 range:

  0                                                   U32_MAX
  |              [xxxxxxxxxxxxxx u32 range xxxxxxxxxxxxxx]  |

    [30 lines not shown]
DeltaFile
+58-4tools/testing/selftests/bpf/prog_tests/reg_bounds.c
+24-0kernel/bpf/verifier.c
+82-42 files

Linux/linux e0c505cfs/smb/client misc.c smb2maperror.c

Merge tag 'v7.0-rc2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - Fix potential oops on open failure

 - Fix unmount to better free deferred closes

 - Use proper constant-time MAC comparison function

 - Two buffer allocation size fixes

 - Two minor cleanups

 - make SMB2 kunit tests a distinct module

* tag 'v7.0-rc2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smb: client: fix oops due to uninitialised var in smb2_unlink()
  cifs: open files should not hold ref on superblock

    [6 lines not shown]
DeltaFile
+42-0fs/smb/client/misc.c
+15-13fs/smb/client/smb2maperror.c
+0-18fs/smb/client/smb2pdu.c
+9-3fs/smb/client/smb2maperror_test.c
+12-0fs/smb/client/smb2glob.h
+0-11fs/smb/client/file.c
+78-4510 files not shown
+107-5816 files

Linux/linux 3b1679ekernel/trace trace_events.c

tracing: Fix enabling multiple events on the kernel command line and bootconfig

Multiple events can be enabled on the kernel command line via a comma
separator. But if the are specified one at a time, then only the last
event is enabled. This is because the event names are saved in a temporary
buffer, and each call by the init cmdline code will reset that buffer.

This also affects names in the boot config file, as it may call the
callback multiple times with an example of:

  kernel.trace_event = ":mod:rproc_qcom_common", ":mod:qrtr", ":mod:qcom_aoss"

Change the cmdline callback function to append a comma and the next value
if the temporary buffer already has content.

Cc: stable at vger.kernel.org
Cc: Masami Hiramatsu <mhiramat at kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Link: https://patch.msgid.link/20260302-trace-events-allow-multiple-modules-v1-1-ce4436e37fb8@oss.qualcomm.com

    [2 lines not shown]
DeltaFile
+5-1kernel/trace/trace_events.c
+5-11 files

Linux/linux 325a118. MAINTAINERS, arch/powerpc/kernel pci_of_scan.c

Merge tag 'pci-v7.0-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull pci fixes from Bjorn Helgaas:

 - Initialize msi_addr_mask for OF-created PCI devices to fix sparc and
   powerpc probe regressions (Nilay Shroff)

 - Orphan the Altera PCIe controller driver (Dave Hansen)

* tag 'pci-v7.0-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
  MAINTAINERS: Orphan Altera PCIe controller driver
  sparc/PCI: Initialize msi_addr_mask for OF-created PCI devices
  powerpc/pci: Initialize msi_addr_mask for OF-created PCI devices
DeltaFile
+7-0arch/powerpc/kernel/pci_of_scan.c
+7-0arch/sparc/kernel/pci.c
+2-4MAINTAINERS
+16-43 files

Linux/linux dfb3142drivers/accel/amdxdna amdxdna_mailbox.c aie2_pci.c, drivers/gpu/drm/amd/amdgpu amdgpu_userq.c amdgpu_userq_fence.c

Merge tag 'drm-fixes-2026-03-07' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Weekly fixes pull.

  There is one mm fix in here for a HMM livelock triggered by the xe
  driver tests. Otherwise it's a pretty wide range of fixes across the
  board, ttm UAF regression fix, amdgpu fixes, nouveau doesn't crash my
  laptop anymore fix, and a fair bit of misc.

  Seems about right for rc3.

  mm:
   - mm: Fix a hmm_range_fault() livelock / starvation problem

  pagemap:
   - Revert "drm/pagemap: Disable device-to-device migration"

  ttm:

    [72 lines not shown]
DeltaFile
+81-35drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
+49-50drivers/accel/amdxdna/amdxdna_mailbox.c
+37-29drivers/accel/amdxdna/aie2_pci.c
+35-8drivers/gpu/drm/xe/xe_gsc_proxy.c
+15-27drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
+28-8drivers/accel/amdxdna/aie2_message.c
+245-15745 files not shown
+516-29151 files

Linux/linux 3593e67. MAINTAINERS .mailmap, lib/kunit test.c

Merge tag 'linux_kselftest-kunit-fixes-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull kunit fixes from Shuah Khan:

 - Fix rust warnings when CONFIG_PRINTK is disabled

 - Reduce stack usage in kunit_run_tests() to fix warnings when
   CONFIG_FRAME_WARN is set to a relatively low value

 - Update email address for David Gow

 - Copy caller args in kunit tool in run_kernel to prevent mutation

* tag 'linux_kselftest-kunit-fixes-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  kunit: reduce stack usage in kunit_run_tests()
  kunit: tool: copy caller args in run_kernel to prevent mutation
  rust: kunit: fix warning when !CONFIG_PRINTK
  MAINTAINERS: Update email address for David Gow
DeltaFile
+125-106lib/kunit/test.c
+26-0tools/testing/kunit/kunit_tool_test.py
+8-0rust/kernel/kunit.rs
+4-2tools/testing/kunit/kunit_kernel.py
+2-2MAINTAINERS
+1-0.mailmap
+166-1106 files