Linux/linux 2e68039fs/tracefs event_inode.c inode.c

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

Pull tracefs fixes from Steven Rostedt:

 - Use list_add_tail_rcu() for walking eventfs children

   The linked list of children is protected by SRCU and list walkers can
   walk the list with only using SRCU. Using just list_add_tail() on
   weakly ordered architectures can cause issues. Instead use
   list_add_tail_rcu().

 - Hold eventfs_mutex and SRCU for remount walk events

   The trace_apply_options() walks the tracefs_inodes where some are
   eventfs inodes and eventfs_remount() is called which in turn calls
   eventfs_set_attr(). This walk only holds normal RCU read locks, but
   the eventfs_mutex and SRCU should be held.

   Add a eventfs_remount_(un)lock() helpers to take the necessary locks

    [5 lines not shown]
DeltaFile
+15-1fs/tracefs/event_inode.c
+4-1fs/tracefs/inode.c
+3-0fs/tracefs/internal.h
+22-23 files

Linux/linux 66a7974tools/testing/ktest ktest.pl

Merge tag 'ktest-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest

Pull ktest updates from Steven Rostedt:

 - Fix month in date timestamp used to create failure directories

   On failure, a directory is created to store the logs and config file
   to analyze the failure. The Perl function localtime is used to create
   the data timestamp of the directory. The month passed back from that
   function starts at 0 and not 1, but the timestamp used does not
   account for that. Thus for April 20, 2026, the timestamp of 20260320
   is used, instead of 20260420.

 - Save the logfile to the failure directory

   Just the test log was saved to the directory on failure, but there's
   useful information in the full logfile that can be helpful to
   analyzing the failure. Save the logfile as well.


    [3 lines not shown]
DeltaFile
+7-1tools/testing/ktest/ktest.pl
+7-11 files

Linux/linux 1e18ed5kernel/trace Makefile undefsyms_base.c

Merge tag 'trace-ring-buffer-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull ring-buffer fix from Steven Rostedt:

 - Make undefsyms_base.c into a real file

   The file undefsyms_base.c is used to catch any symbols used by a
   remote ring buffer that is made for use of a pKVM hypervisor. As it
   doesn't share the same text as the rest of the kernel, referencing
   any symbols within the kernel will make it fail to be built for the
   standalone hypervisor.

   A file was created by the Makefile that checked for any symbols that
   could cause issues. There's no reason to have this file created by
   the Makefile, just create it as a normal file instead.

* tag 'trace-ring-buffer-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing: Make undefsyms_base.c a first-class citizen
DeltaFile
+4-31kernel/trace/Makefile
+28-0kernel/trace/undefsyms_base.c
+0-1kernel/trace/.gitignore
+32-323 files

Linux/linux 38ee6e1arch/x86/kernel kgdb.c, include/linux kgdb.h

Merge tag 'kgdb-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux

Pull kgdb update from Daniel Thompson:
 "Only a very small update for kgdb this cycle: a single patch from
  Kexin Sun that fixes some outdated comments"

* tag 'kgdb-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
  kgdb: update outdated references to kgdb_wait()
DeltaFile
+5-4arch/x86/kernel/kgdb.c
+4-3include/linux/kgdb.h
+1-1kernel/debug/debug_core.c
+1-1kernel/debug/gdbstub.c
+11-94 files

Linux/linux 87d0377security/tomoyo audit.c condition.c

Merge tag 'tomoyo-pr-20260422' of git://git.code.sf.net/p/tomoyo/tomoyo

Pull tomoyo update from Tetsuo Handa:
 "Handle 64-bit inode numbers"

* tag 'tomoyo-pr-20260422' of git://git.code.sf.net/p/tomoyo/tomoyo:
  tomoyo: use u64 for holding inode->i_ino value
DeltaFile
+4-6security/tomoyo/audit.c
+3-3security/tomoyo/condition.c
+1-1security/tomoyo/common.h
+8-103 files

Linux/linux 2a4c0c1Documentation/arch/s390 pci.rst, arch/s390/include/asm pgtable.h

Merge tag 's390-7.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 updates from Vasily Gorbik:

 - Add support for CONFIG_PAGE_TABLE_CHECK and enable it in
   debug_defconfig. s390 can only tell user from kernel PTEs via the mm,
   so mm_struct is now passed into pxx_user_accessible_page() callbacks

 - Expose the PCI function UID as an arch-specific slot attribute in
   sysfs so a function can be identified by its user-defined id while
   still in standby. Introduces a generic ARCH_PCI_SLOT_GROUPS hook in
   drivers/pci/slot.c

 - Refresh s390 PCI documentation to reflect current behavior and cover
   previously undocumented sysfs attributes

 - zcrypt device driver cleanup series: consistent field types, clearer
   variable naming, a kernel-doc warning fix, and a comment explaining
   the intentional synchronize_rcu() in pkey_handler_register()

    [35 lines not shown]
DeltaFile
+104-47Documentation/arch/s390/pci.rst
+1-113drivers/s390/char/hmcdrv_dev.c
+68-42drivers/s390/crypto/zcrypt_cex4.c
+65-11drivers/s390/crypto/zcrypt_msgtype6.c
+53-7arch/s390/include/asm/pgtable.h
+3-52drivers/s390/crypto/zcrypt_msgtype6.h
+294-27222 files not shown
+467-38928 files

Linux/linux 8fd12b0drivers/hv mshv_trace.h mshv_root_main.c

Merge tag 'hyperv-next-signed-20260421' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux

Pull Hyper-V updates from Wei Liu:

 - Fix cross-compilation for hv tools (Aditya Garg)

 - Fix vmemmap_shift exceeding MAX_FOLIO_ORDER in mshv_vtl (Naman Jain)

 - Limit channel interrupt scan to relid high water mark (Michael
   Kelley)

 - Export hv_vmbus_exists() and use it in pci-hyperv (Dexuan Cui)

 - Fix cleanup and shutdown issues for MSHV (Jork Loeser)

 - Introduce more tracing support for MSHV (Stanislav Kinsburskii)

* tag 'hyperv-next-signed-20260421' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
  x86/hyperv: Skip LP/VP creation on kexec

    [8 lines not shown]
DeltaFile
+544-0drivers/hv/mshv_trace.h
+72-12drivers/hv/mshv_root_main.c
+47-0drivers/hv/hv_proc.c
+9-20drivers/hv/vmbus_drv.c
+17-5drivers/hv/mshv_root_hv_call.c
+12-4drivers/hv/channel_mgmt.c
+701-4115 files not shown
+783-5121 files

Linux/linux 5335e31kernel/trace Makefile undefsyms_base.c

tracing: Make undefsyms_base.c a first-class citizen

Linus points out that dumping undefsyms_base.c form the Makefile
is rather ugly, and that a much better course of action would be
to have this file as a first-class citizen in the git tree.

This allows some extra cleanup in the Makefile, and the removal of
the .gitignore file in kernel/trace.

Cc: Marc Zyngier <maz at kernel.org>
Cc: Arnd Bergmann <arnd at arndb.de>
Link: https://lore.kernel.org/r/CAHk-=wieqGd_XKpu8UxDoyADZx8TDe8CF3RmkUXt5N_9t5Pf_w@mail.gmail.com
Link: https://lore.kernel.org/all/20260421095446.2951646-1-maz@kernel.org/
Link: https://patch.msgid.link/20260421100455.324333-1-pbonzini@redhat.com
Reported-by: Linus Torvalds <torvalds at linux-foundation.org>
Reviewed-by: Nathan Chancellor <nathan at kernel.org>
Tested-by: Nathan Chancellor <nathan at kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
DeltaFile
+4-31kernel/trace/Makefile
+28-0kernel/trace/undefsyms_base.c
+0-1kernel/trace/.gitignore
+32-323 files

Linux/linux 5170a82arch/x86/kernel/cpu mshyperv.c, drivers/hv hv_proc.c

x86/hyperv: Skip LP/VP creation on kexec

After a kexec the logical processors and virtual processors already
exist in the hypervisor because they were created by the previous
kernel. Attempting to add them again causes either a BUG_ON or
corrupted VP state leading to MCEs in the new kernel.

Add hv_lp_exists() to probe whether an LP is already present by
calling HVCALL_GET_LOGICAL_PROCESSOR_RUN_TIME. When it succeeds the
LP exists and we skip the add-LP and create-VP loops entirely.

Also add hv_call_notify_all_processors_started() which informs the
hypervisor that all processors are online. This is required after
adding LPs (fresh boot) and is a no-op on kexec since we skip that
path.

Co-developed-by: Anirudh Rayabharam <anrayabh at linux.microsoft.com>
Signed-off-by: Anirudh Rayabharam <anrayabh at linux.microsoft.com>
Co-developed-by: Stanislav Kinsburskii <stanislav.kinsburskii at gmail.com>

    [6 lines not shown]
DeltaFile
+47-0drivers/hv/hv_proc.c
+12-0include/hyperv/hvhdk_mini.h
+10-0include/asm-generic/mshyperv.h
+7-0arch/x86/kernel/cpu/mshyperv.c
+1-0include/hyperv/hvgdk_mini.h
+77-05 files

Linux/linux f7ce370arch/x86/kernel/cpu mshyperv.c, drivers/hv vmbus_drv.c

x86/hyperv: move stimer cleanup to hv_machine_shutdown()

Move hv_stimer_global_cleanup() from vmbus's hv_kexec_handler() to
hv_machine_shutdown() in the platform code. This ensures stimer cleanup
happens before the vmbus unload, which is required for root partition
kexec to work correctly.

Co-developed-by: Anirudh Rayabharam <anrayabh at linux.microsoft.com>
Signed-off-by: Anirudh Rayabharam <anrayabh at linux.microsoft.com>
Signed-off-by: Jork Loeser <jloeser at linux.microsoft.com>
Reviewed-by: Stanislav Kinsburskii <skinsburskii at linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu at kernel.org>
DeltaFile
+6-2arch/x86/kernel/cpu/mshyperv.c
+0-1drivers/hv/vmbus_drv.c
+6-32 files

Linux/linux 3c42b33drivers/hv vmbus_drv.c

Drivers: hv: vmbus: fix hyperv_cpuhp_online variable shadowing

vmbus_alloc_synic_and_connect() declares a local 'int
hyperv_cpuhp_online' that shadows the file-scope global of the same
name. The cpuhp state returned by cpuhp_setup_state() is stored in
the local, leaving the global at 0 (CPUHP_OFFLINE). When
hv_kexec_handler() or hv_machine_shutdown() later call
cpuhp_remove_state(hyperv_cpuhp_online) they pass 0, which hits the
BUG_ON in __cpuhp_remove_state_cpuslocked().

Remove the local declaration so the cpuhp state is stored in the
file-scope global where hv_kexec_handler() and hv_machine_shutdown()
expect it.

Fixes: 2647c96649ba ("Drivers: hv: Support establishing the confidential VMBus connection")
Signed-off-by: Jork Loeser <jloeser at linux.microsoft.com>
Reviewed-by: Stanislav Kinsburskii <skinsburskii at linux.microsoft.com>
Reviewed-by: Anirudh Rayabharam (Microsoft) <anirudh at anirudhrb.com>
Signed-off-by: Wei Liu <wei.liu at kernel.org>
DeltaFile
+0-1drivers/hv/vmbus_drv.c
+0-11 files

Linux/linux cfc4268drivers/hv mshv_trace.h mshv_root_main.c

mshv: Add tracepoint for GPA intercept handling

Provide visibility into GPA intercept operations for debugging and
performance analysis of Microsoft Hypervisor guest memory management.

Signed-off-by: Stanislav Kinsburskii <skinsburskii at linux.microsoft.com>
Reviewed-by: Anirudh Rayabharam (Microsoft) <anirudh at anirudhrb.com>
Signed-off-by: Wei Liu <wei.liu at kernel.org>
DeltaFile
+29-0drivers/hv/mshv_trace.h
+4-2drivers/hv/mshv_root_main.c
+33-22 files

Linux/linux beaba8bkernel/trace fprobe.c, tools/testing/selftests/ftrace/test.d/dynevent add_remove_fprobe_module.tc add_remove_multiple_fprobe.tc

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

Pull probes fixes from Masami Hiramatsu:
 "fprobe bug fixes:

   - Prevent re-registration

     Add an earlier check to reject re-registering an already active
     fprobe before its state is modified during the initialization phase

   - Robustness in failure paths:
      - Ensure fprobes are correctly removed from all internal tables
        and properly RCU-freed during registration failure
      - Make unregister_fprobe() proceed with unregistration even if
        temporary memory allocation fails

   - RCU safety in module unloading

     Avoid a potential "sleep in RCU" warning by removing a kcalloc()

    [38 lines not shown]
DeltaFile
+315-167kernel/trace/fprobe.c
+87-0tools/testing/selftests/ftrace/test.d/dynevent/add_remove_fprobe_module.tc
+69-0tools/testing/selftests/ftrace/test.d/dynevent/add_remove_multiple_fprobe.tc
+471-1673 files

Linux/linux 6596a02drivers/gpu/drm/amd/amdgpu amdgpu_ttm.c amdgpu_dev_coredump.c, drivers/gpu/drm/amd/display/amdgpu_dm amdgpu_dm.c

Merge tag 'drm-next-2026-04-22' of https://gitlab.freedesktop.org/drm/kernel

Pull more drm updates from Dave Airlie:
 "This is a followup which is mostly next material with some fixes.

  Alex pointed out I missed one of his AMD MRs from last week, so I
  added that, then Jani sent the pipe reordering stuff, otherwise it's
  just some minor i915 fixes and a dma-buf fix.

  drm:
   - Add support for AMD VSDB parsing to drm_edid

  dma-buf:
   - fix documentation formatting

  i915:
   - add support for reordered pipes to support joined pipes better
   - Fix VESA backlight possible check condition
   - Verify the correct plane DDB entry

    [48 lines not shown]
DeltaFile
+157-207drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+168-17drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
+72-56drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+38-52drivers/gpu/drm/i915/display/intel_display.h
+53-36drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+44-42drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c
+532-41079 files not shown
+1,165-78085 files

Linux/linux 453553etools/testing/selftests/ftrace/test.d/dynevent add_remove_multiple_fprobe.tc

selftests/ftrace: Add a testcase for multiple fprobe events

Add a testcase for multiple fprobe events on the same function
so that it clears ftrace hash map correctly when removing the
events.

Link: https://lore.kernel.org/all/177669370353.132053.16801520791509406141.stgit@mhiramat.tok.corp.google.com/

Signed-off-by: Masami Hiramatsu (Google) <mhiramat at kernel.org>
DeltaFile
+69-0tools/testing/selftests/ftrace/test.d/dynevent/add_remove_multiple_fprobe.tc
+69-01 files

Linux/linux 132001etools/testing/selftests/ftrace/test.d/dynevent add_remove_fprobe_module.tc

selftests/ftrace: Add a testcase for fprobe events on module

Add a testcase for fprobe events on module, which unloads a kernel
module on which fprobe events are probing and ensure the ftrace
hash map is cleared correctly.

Link: https://lore.kernel.org/all/177669369564.132053.623527664540176496.stgit@mhiramat.tok.corp.google.com/

Signed-off-by: Masami Hiramatsu (Google) <mhiramat at kernel.org>
DeltaFile
+87-0tools/testing/selftests/ftrace/test.d/dynevent/add_remove_fprobe_module.tc
+87-01 files

Linux/linux 476c5bbkernel/trace fprobe.c

tracing/fprobe: Fix to unregister ftrace_ops if it is empty on module unloading

Fix fprobe to unregister ftrace_ops if corresponding type of fprobe
does not exist on the fprobe_ip_table and it is expected to be empty
when unloading modules.

Since ftrace thinks that the empty hash means everything to be traced,
if we set fprobes only on the unloaded module, all functions are traced
unexpectedly after unloading module.
e.g.

 # modprobe xt_LOG.ko
 # echo 'f:test log_tg*' > dynamic_events
 # echo 1 > events/fprobes/test/enable
 # cat enabled_functions
log_tg [xt_LOG] (1)             tramp: 0xffffffffa0004000 (fprobe_ftrace_entry+0x0/0x490) ->fprobe_ftrace_entry+0x0/0x490
log_tg_check [xt_LOG] (1)               tramp: 0xffffffffa0004000 (fprobe_ftrace_entry+0x0/0x490) ->fprobe_ftrace_entry+0x0/0x490
log_tg_destroy [xt_LOG] (1)             tramp: 0xffffffffa0004000 (fprobe_ftrace_entry+0x0/0x490) ->fprobe_ftrace_entry+0x0/0x490
 # rmmod xt_LOG

    [5 lines not shown]
DeltaFile
+159-65kernel/trace/fprobe.c
+159-651 files

Linux/linux d46dd0dfs/f2fs node.c super.c

Merge tag 'f2fs-for-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs

Pull f2fs updates from Jaegeuk Kim:
 "In this round, the changes primarily focus on resolving race
  conditions, memory safety issues (UAF), and improving the robustness
  of garbage collection (GC), and folio management.

  Enhancements:
   - add page-order information for large folio reads in iostat
   - add defrag_blocks sysfs node

  Bug fixes:
   - fix uninitialized kobject put in f2fs_init_sysfs()
   - disallow setting an extension to both cold and hot
   - fix node_cnt race between extent node destroy and writeback
   - preserve previous reserve_{blocks,node} value when remount
   - freeze GC and discard threads quickly
   - fix false alarm of lockdep on cp_global_sem lock
   - fix data loss caused by incorrect use of nat_entry flag

    [34 lines not shown]
DeltaFile
+60-54fs/f2fs/node.c
+54-16fs/f2fs/super.c
+34-19fs/f2fs/data.c
+35-6fs/f2fs/f2fs.h
+37-1fs/f2fs/iostat.c
+21-6fs/f2fs/sysfs.c
+241-10215 files not shown
+387-15221 files

Linux/linux bb0bc49drivers/dax fsdev.c super.c, fs dax.c

Merge tag 'libnvdimm-for-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm

Pull dax updates from Ira Weiny:
 "The series adds DAX support required for the upcoming fuse/famfs file
  system.[1] The support here is required because famfs is backed by
  devdax rather than pmem. This all lays the groundwork for using shared
  memory as a file system"

Link: https://lore.kernel.org/all/0100019d43e5f632-f5862a3e-361c-4b54-a9a6-96c242a8f17a-000000@email.amazonses.com/ [1]

* tag 'libnvdimm-for-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
  dax/fsdev: fix uninitialized kaddr in fsdev_dax_zero_page_range()
  dax: export dax_dev_get()
  dax: Add fs_dax_get() func to prepare dax for fs-dax usage
  dax: Add dax_set_ops() for setting dax_operations at bind time
  dax: Add dax_operations for use by fs-dax on fsdev dax
  dax: Save the kva from memremap
  dax: add fsdev.c driver for fs-dax on character dax
  dax: Factor out dax_folio_reset_order() helper
  dax: move dax_pgoff_to_phys from [drivers/dax/] device.c to bus.c
DeltaFile
+349-0drivers/dax/fsdev.c
+104-3drivers/dax/super.c
+56-18fs/dax.c
+0-23drivers/dax/device.c
+20-2drivers/dax/bus.c
+15-4include/linux/dax.h
+544-505 files not shown
+566-5011 files

Linux/linux c94faa7fs/coda dir.c cache.c

Merge tag 'pull-coda' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull coda dcache updates from Al Viro:
 "Coda dcache-related cleanups and fixes"

* tag 'pull-coda' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  coda_flag_children(): fix a UAF
  sanitize coda_dentry_delete()
  coda: is_bad_inode() is always false there
DeltaFile
+3-12fs/coda/dir.c
+2-0fs/coda/cache.c
+5-122 files

Linux/linux e2683c8Documentation/crypto libcrypto.rst libcrypto-hash.rst, tools/lib/python/kdoc kdoc_parser.py

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

Pull more crypto library updates from Eric Biggers:
 "Crypto library fix and documentation update:

   - Fix an integer underflow in the mpi library

   - Improve the crypto library documentation"

* tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
  lib/crypto: docs: Add rst documentation to Documentation/crypto/
  docs: kdoc: Expand 'at_least' when creating parameter list
  lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl()
DeltaFile
+165-0Documentation/crypto/libcrypto.rst
+86-0Documentation/crypto/libcrypto-hash.rst
+19-0Documentation/crypto/libcrypto-blockcipher.rst
+11-0Documentation/crypto/libcrypto-signature.rst
+6-0Documentation/crypto/libcrypto-utils.rst
+5-0tools/lib/python/kdoc/kdoc_parser.py
+292-03 files not shown
+296-29 files

Linux/linux 6fdca3cfs/erofs dir.c zmap.c

Merge tag 'erofs-for-7.1-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs

Pull erofs fixes from Gao Xiang:

 - Fix dirent nameoff handling to avoid out-of-bound reads
   out of crafted images

 - Fix two type truncation issues on 32-bit platforms

* tag 'erofs-for-7.1-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
  erofs: unify lcn as u64 for 32-bit platforms
  erofs: fix offset truncation when shifting pgoff on 32-bit platforms
  erofs: fix the out-of-bounds nameoff handling for trailing dirents
DeltaFile
+15-13fs/erofs/dir.c
+9-10fs/erofs/zmap.c
+1-1fs/erofs/data.c
+1-1fs/erofs/zdata.c
+26-254 files

Linux/linux 256e525arch/x86/kernel kgdb.c, include/linux kgdb.h

kgdb: update outdated references to kgdb_wait()

The function kgdb_wait() was folded into the static function
kgdb_cpu_enter() by commit 62fae312197a ("kgdb: eliminate
kgdb_wait(), all cpus enter the same way").  Update the four stale
references accordingly:

 - include/linux/kgdb.h and arch/x86/kernel/kgdb.c: the
   kgdb_roundup_cpus() kdoc describes what other CPUs are rounded up
   to call.  Because kgdb_cpu_enter() is static, the correct public
   entry point is kgdb_handle_exception(); also fix a pre-existing
   grammar error ("get them be" -> "get them into") and reflow the
   text.

 - kernel/debug/debug_core.c: replace with the generic description
   "the debug trap handler", since the actual entry path is
   architecture-specific.

 - kernel/debug/gdbstub.c: kgdb_cpu_enter() is correct here (it

    [6 lines not shown]
DeltaFile
+5-4arch/x86/kernel/kgdb.c
+4-3include/linux/kgdb.h
+1-1kernel/debug/debug_core.c
+1-1kernel/debug/gdbstub.c
+11-94 files

Linux/linux 4ee6420drivers/clk/qcom gcc-eliza.c gcc-ipq5210.c

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

Pull clk updates from Stephen Boyd:
 "We've finally gotten rid of the struct clk_ops::round_rate() code
  after months of effort from Brian Masney. Now the only option is to
  use determine_rate(), which is good because that takes a struct
  argument instead of just a couple unsigned longs, allowing us to
  easily modify the way we determine and set rates in the clk tree.

  Beyond that core framework change we've got the typical pile of new
  SoC clk driver additions, fixes for clk data and/or adding missing
  clks because the consumer driver using those clks wasn't ready, etc.
  The usual suspects are all here: Qualcomm, Samsung, Mediatek, and
  Rockchip along with some newcomers making RISC-V SoCs like ESWIN's
  eic700 and Tenstorrent's Atlantis. The clk driver side of this looks
  pretty normal.

  Core:
   - Remove the round_rate() clk op (yay!)

    [40 lines not shown]
DeltaFile
+3,105-0drivers/clk/qcom/gcc-eliza.c
+2,661-0drivers/clk/qcom/gcc-ipq5210.c
+2,121-0drivers/clk/qcom/dispcc-eliza.c
+1,987-0drivers/clk/qcom/negcc-nord.c
+1,902-0drivers/clk/qcom/gcc-nord.c
+1,609-0drivers/clk/qcom/segcc-nord.c
+13,385-0173 files not shown
+24,819-3,462179 files

Linux/linux a85d6ffdrivers/scsi/lpfc lpfc_scsi.c, drivers/ufs/core ufs-txeq.c ufs-debugfs.c

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

Pull SCSI updates from James Bottomley:
 "Usual driver updates (ufs, lpfc, fnic, target, mpi3mr).

  The substantive core changes are adding a 'serial' sysfs attribute and
  getting sd to support > PAGE_SIZE sectors"

* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (98 commits)
  scsi: target: Don't validate ignored fields in PROUT PREEMPT
  scsi: qla2xxx: Use nr_cpu_ids instead of NR_CPUS for qp_cpu_map allocation
  scsi: ufs: core: Disable timestamp for Kioxia THGJFJT0E25BAIP
  scsi: mpi3mr: Fix typo
  scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
  scsi: libsas: Delete unused to_dom_device() and to_dev_attr()
  scsi: storvsc: Handle PERSISTENT_RESERVE_IN truncation for Hyper-V vFC
  scsi: iscsi_tcp: Remove unneeded selections of CRYPTO and CRYPTO_MD5
  scsi: lpfc: Update lpfc version to 15.0.0.0
  scsi: lpfc: Add PCI ID support for LPe42100 series adapters

    [11 lines not shown]
DeltaFile
+1,293-0drivers/ufs/core/ufs-txeq.c
+580-11drivers/ufs/host/ufs-qcom.c
+290-0drivers/ufs/core/ufs-debugfs.c
+219-41drivers/ufs/core/ufshcd.c
+179-10include/ufs/ufshcd.h
+73-74drivers/scsi/lpfc/lpfc_scsi.c
+2,634-13695 files not shown
+4,076-822101 files

Linux/linux 6e28694crypto krb5enc.c algif_aead.c, drivers/crypto/ccp sev-dev.c ccp-crypto-aes.c

Merge tag 'v7.1-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fixes from Herbert Xu:

 - Fix IPsec ESN regression in authencesn

 - Fix hmac setkey failure in eip93

 - Guard against IV changing in algif_aead

 - Fix async completion handling in krb5enc

 - Fix fallback async completion in acomp

 - Fix handling of MAY_BACKLOG requests in pcrypt

 - Fix issues with firmware-returned values in ccp

* tag 'v7.1-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:

    [11 lines not shown]
DeltaFile
+31-21crypto/krb5enc.c
+17-2drivers/crypto/ccp/sev-dev.c
+8-2crypto/algif_aead.c
+3-5crypto/acompress.c
+5-2crypto/pcrypt.c
+5-2drivers/crypto/ccp/ccp-crypto-aes.c
+69-343 files not shown
+76-399 files

Linux/linux 0ac0058kernel/trace fprobe.c

tracing/fprobe: Check the same type fprobe on table as the unregistered one

Commit 2c67dc457bc6 ("tracing: fprobe: optimization for entry only case")
introduced a different ftrace_ops for entry-only fprobes.

However, when unregistering an fprobe, the kernel only checks if another
fprobe exists at the same address, without checking which type of fprobe
it is.
If different fprobes are registered at the same address, the same address
will be registered in both fgraph_ops and ftrace_ops, but only one of
them will be deleted when unregistering. (the one removed first will not
be deleted from the ops).

This results in junk entries remaining in either fgraph_ops or ftrace_ops.
For example:
 =======
 cd /sys/kernel/tracing

 # 'Add entry and exit events on the same place'

    [37 lines not shown]
DeltaFile
+65-17kernel/trace/fprobe.c
+65-171 files

Linux/linux aa72812kernel/trace fprobe.c

tracing/fprobe: Avoid kcalloc() in rcu_read_lock section

fprobe_remove_node_in_module() is called under RCU read locked, but
this invokes kcalloc() if there are more than 8 fprobes installed
on the module. Sashiko warns it because kcalloc() can sleep [1].

 [1] https://sashiko.dev/#/patchset/177552432201.853249.5125045538812833325.stgit%40mhiramat.tok.corp.google.com

To fix this issue, expand the batch size to 128 and do not expand
the fprobe_addr_list, but just cancel walking on fprobe_ip_table,
update fgraph/ftrace_ops and retry the loop again.

Link: https://lore.kernel.org/all/177669367206.132053.1493637946869032744.stgit@mhiramat.tok.corp.google.com/

Fixes: 0de4c70d04a4 ("tracing: fprobe: use rhltable for fprobe_ip_table")
Cc: stable at vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat at kernel.org>
DeltaFile
+46-48kernel/trace/fprobe.c
+46-481 files

Linux/linux 845947akernel/trace fprobe.c

tracing/fprobe: Remove fprobe from hash in failure path

When register_fprobe_ips() fails, it tries to remove a list of
fprobe_hash_node from fprobe_ip_table, but it missed to remove
fprobe itself from fprobe_table. Moreover, when removing
the fprobe_hash_node which is added to rhltable once, it must
use kfree_rcu() after removing from rhltable.

To fix these issues, this reuses unregister_fprobe() internal
code to rollback the half-way registered fprobe.

Link: https://lore.kernel.org/all/177669366417.132053.17874946321744910456.stgit@mhiramat.tok.corp.google.com/

Fixes: 4346ba160409 ("fprobe: Rewrite fprobe on function-graph tracer")
Cc: stable at vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat at kernel.org>
DeltaFile
+48-44kernel/trace/fprobe.c
+48-441 files

Linux/linux 1aec9e5kernel/trace fprobe.c

tracing/fprobe: Unregister fprobe even if memory allocation fails

unregister_fprobe() can fail under memory pressure because of memory
allocation failure, but this maybe called from module unloading, and
usually there is no way to retry it. Moreover. trace_fprobe does not
check the return value.

To fix this problem, unregister fprobe and fprobe_hash_node even if
working memory allocation fails.
Anyway, if the last fprobe is removed, the filter will be freed.

Link: https://lore.kernel.org/all/177669365629.132053.8433032896213721288.stgit@mhiramat.tok.corp.google.com/

Fixes: 4346ba160409 ("fprobe: Rewrite fprobe on function-graph tracer")
Cc: stable at vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat at kernel.org>
DeltaFile
+15-10kernel/trace/fprobe.c
+15-101 files