[GIT PULL] SMP cross-call changes for v6.4
From: Ingo Molnar
Date: Thu Apr 27 2023 - 17:09:20 EST
Linus,
Please pull the latest smp/core git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-core-2023-04-27
# HEAD: 5c3124975e15c1fadd5af1c61e4d627cf6d97ba2 trace,smp: Trace all smp_function_call*() invocations
SMP cross-CPU function-call updates for v6.4:
- Remove diagnostics and adjust config for CSD lock diagnostics
- Add a generic IPI-sending tracepoint, as currently there's no easy
way to instrument IPI origins: it's arch dependent and for some
major architectures it's not even consistently available.
Thanks,
Ingo
------------------>
Paul E. McKenney (4):
locking/csd_lock: Add Kconfig option for csd_debug default
locking/csd_lock: Remove added data from CSD lock debugging
locking/csd_lock: Remove per-CPU data indirection from CSD lock debugging
kernel/smp: Make csdlock_debug= resettable
Peter Zijlstra (2):
trace: Add trace_ipi_send_cpu()
trace,smp: Trace all smp_function_call*() invocations
Valentin Schneider (7):
trace: Add trace_ipi_send_cpumask()
sched, smp: Trace IPIs sent via send_call_function_single_ipi()
smp: Trace IPIs sent via arch_send_call_function_ipi_mask()
irq_work: Trace self-IPIs sent via arch_irq_work_raise()
treewide: Trace IPIs sent via smp_send_reschedule()
smp: reword smp call IPI comment
sched, smp: Trace smp callback causing an IPI
Documentation/admin-guide/kernel-parameters.txt | 17 +-
arch/alpha/kernel/smp.c | 2 +-
arch/arc/kernel/smp.c | 2 +-
arch/arm/kernel/smp.c | 3 +-
arch/arm/mach-actions/platsmp.c | 2 +
arch/arm64/kernel/smp.c | 3 +-
arch/csky/kernel/smp.c | 2 +-
arch/hexagon/kernel/smp.c | 2 +-
arch/ia64/kernel/smp.c | 4 +-
arch/loongarch/kernel/smp.c | 4 +-
arch/mips/include/asm/smp.h | 2 +-
arch/mips/kernel/rtlx-cmp.c | 2 +
arch/openrisc/kernel/smp.c | 2 +-
arch/parisc/kernel/smp.c | 4 +-
arch/powerpc/kernel/smp.c | 6 +-
arch/powerpc/kvm/book3s_hv.c | 3 +
arch/powerpc/platforms/powernv/subcore.c | 2 +
arch/riscv/kernel/smp.c | 4 +-
arch/s390/kernel/smp.c | 2 +-
arch/sh/kernel/smp.c | 2 +-
arch/sparc/kernel/smp_32.c | 2 +-
arch/sparc/kernel/smp_64.c | 2 +-
arch/x86/include/asm/smp.h | 2 +-
arch/x86/kvm/svm/svm.c | 4 +
arch/x86/kvm/x86.c | 2 +
arch/xtensa/kernel/smp.c | 2 +-
include/linux/smp.h | 11 +-
include/trace/events/ipi.h | 44 ++++
kernel/irq_work.c | 12 +-
kernel/sched/core.c | 22 +-
kernel/sched/smp.h | 2 +-
kernel/smp.c | 313 ++++++------------------
lib/Kconfig.debug | 9 +
virt/kvm/kvm_main.c | 3 +
34 files changed, 219 insertions(+), 281 deletions(-)