x86/topology: Remove CPU0 hotplug option
authorThomas Gleixner <tglx@linutronix.de>
Fri, 12 May 2023 21:07:04 +0000 (23:07 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 May 2023 11:44:49 +0000 (13:44 +0200)
commite59e74dc48a309cb848ffc3d76a0d61aa6803c05
tree9e58c48aff3090ed62f0d81d0f7443160ba82ed7
parent666e1156b2c514f045827f50263ed2eb9d78671b
x86/topology: Remove CPU0 hotplug option

This was introduced together with commit e1c467e69040 ("x86, hotplug: Wake
up CPU0 via NMI instead of INIT, SIPI, SIPI") to eventually support
physical hotplug of CPU0:

 "We'll change this code in the future to wake up hard offlined CPU0 if
  real platform and request are available."

11 years later this has not happened and physical hotplug is not officially
supported. Remove the cruft.

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/20230512205255.715707999@linutronix.de
Documentation/admin-guide/kernel-parameters.txt
Documentation/core-api/cpu_hotplug.rst
arch/x86/Kconfig
arch/x86/include/asm/cpu.h
arch/x86/kernel/topology.c
arch/x86/power/cpu.c