This series aims to switch most architectures over to using generic CPU devices rather than arch specific implementations.
James Morse (16): ACPI: scan: Use the acpi_device_is_present() helper in more places ACPI: scan: Rename acpi_scan_device_not_present() to be about enumeration arm64, irqchip/gic-v3, ACPI: Move MADT GICC enabled check into a helper arch_topology: Make register_cpu_capacity_sysctl() tolerant to late CPUs x86: intel_epb: Don't rely on link order ACPI: Move ACPI_HOTPLUG_CPU to be disabled on arm64 and riscv drivers: base: Use present CPUs in GENERIC_CPU_DEVICES drivers: base: Allow parts of GENERIC_CPU_DEVICES to be overridden drivers: base: Implement weak arch_unregister_cpu() drivers: base: Move cpu_dev_init() after node_dev_init() drivers: base: Print a warning instead of panic() when register_cpu() fails arm64: setup: Switch over to GENERIC_CPU_DEVICES using arch_register_cpu() x86/topology: Switch over to GENERIC_CPU_DEVICES LoongArch: Switch over to GENERIC_CPU_DEVICES LoongArch: Use the __weak version of arch_unregister_cpu() riscv: Switch over to GENERIC_CPU_DEVICES
Russell King (Oracle) (8): x86/topology: remove arch_*register_cpu() exports Loongarch: remove arch_*register_cpu() exports drivers: base: add arch_cpu_is_hotpluggable() arm64: convert to arch_cpu_is_hotpluggable() x86/topology: use weak version of arch_unregister_cpu() x86/topology: convert to use arch_cpu_is_hotpluggable() LoongArch: convert to use arch_cpu_is_hotpluggable() riscv: convert to use arch_cpu_is_hotpluggable()
arch/arm64/Kconfig | 1 + arch/arm64/include/asm/cpu.h | 1 - arch/arm64/kernel/setup.c | 13 ++-------- arch/arm64/kernel/smp.c | 2 +- arch/loongarch/Kconfig | 2 ++ arch/loongarch/kernel/topology.c | 42 ++------------------------------ arch/riscv/Kconfig | 1 + arch/riscv/kernel/setup.c | 18 ++------------ arch/x86/Kconfig | 2 ++ arch/x86/include/asm/cpu.h | 4 --- arch/x86/kernel/cpu/intel_epb.c | 2 +- arch/x86/kernel/topology.c | 33 ++----------------------- drivers/acpi/Kconfig | 1 - drivers/acpi/acpi_processor.c | 18 -------------- drivers/acpi/processor_core.c | 2 +- drivers/acpi/scan.c | 12 ++++----- drivers/base/arch_topology.c | 38 ++++++++++++++++++++--------- drivers/base/cpu.c | 39 +++++++++++++++++++++++------ drivers/base/init.c | 2 +- drivers/irqchip/irq-gic-v3.c | 10 +++----- include/linux/acpi.h | 5 ++++ include/linux/cpu.h | 5 ++++ 22 files changed, 95 insertions(+), 158 deletions(-)