MIPS: SMP_CPS: Switch to hotplug core state synchronization
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 May 2023 21:07:37 +0000 (23:07 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 May 2023 11:44:58 +0000 (13:44 +0200)
commitc8d2bcc467c8a1a85983c24e0331cf19fe94668f
tree9bf37940c61762837fedce3f207296be10afb21c
parent7202e979645715318f2f21a324cb8a506e12fa76
MIPS: SMP_CPS: Switch to hotplug core state synchronization

Switch to the CPU hotplug core state tracking and synchronization
mechanim. This unfortunately requires to add dead reporting to the non CPS
platforms as CPS is the only user, but it allows an overall consolidation
of this functionality.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Helge Deller <deller@gmx.de> # parisc
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck
Link: https://lore.kernel.org/r/20230512205256.803238859@linutronix.de
arch/mips/Kconfig
arch/mips/cavium-octeon/smp.c
arch/mips/include/asm/smp-ops.h
arch/mips/kernel/smp-bmips.c
arch/mips/kernel/smp-cps.c
arch/mips/kernel/smp.c
arch/mips/loongson64/smp.c