Merge tag 'smp-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Apr 2023 22:03:43 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Apr 2023 22:03:43 +0000 (15:03 -0700)
Pull SMP cross-CPU function-call updates from Ingo Molnar:

 - 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.

* tag 'smp-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  trace,smp: Trace all smp_function_call*() invocations
  trace: Add trace_ipi_send_cpu()
  sched, smp: Trace smp callback causing an IPI
  smp: reword smp call IPI comment
  treewide: Trace IPIs sent via smp_send_reschedule()
  irq_work: Trace self-IPIs sent via arch_irq_work_raise()
  smp: Trace IPIs sent via arch_send_call_function_ipi_mask()
  sched, smp: Trace IPIs sent via send_call_function_single_ipi()
  trace: Add trace_ipi_send_cpumask()
  kernel/smp: Make csdlock_debug= resettable
  locking/csd_lock: Remove per-CPU data indirection from CSD lock debugging
  locking/csd_lock: Remove added data from CSD lock debugging
  locking/csd_lock: Add Kconfig option for csd_debug default

18 files changed:
1  2 
Documentation/admin-guide/kernel-parameters.txt
arch/arm/kernel/smp.c
arch/arm64/kernel/smp.c
arch/csky/kernel/smp.c
arch/loongarch/kernel/smp.c
arch/mips/include/asm/smp.h
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/powernv/subcore.c
arch/riscv/kernel/smp.c
arch/s390/kernel/smp.c
arch/x86/include/asm/smp.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/x86.c
arch/xtensa/kernel/smp.c
include/linux/smp.h
kernel/sched/core.c
lib/Kconfig.debug
virt/kvm/kvm_main.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -93,13 -93,12 +93,13 @@@ static inline void __cpu_die(unsigned i
        smp_ops.cpu_die(cpu);
  }
  
 -static inline void play_dead(void)
 +static inline void __noreturn play_dead(void)
  {
        smp_ops.play_dead();
 +      BUG();
  }
  
- static inline void smp_send_reschedule(int cpu)
+ static inline void arch_smp_send_reschedule(int cpu)
  {
        smp_ops.smp_send_reschedule(cpu);
  }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge