On Thu, Feb 15 2024 at 20:22, Rafael J. Wysocki wrote: > On Wed, Jan 31, 2024 at 5:50 PM Russell King <rmk+kernel@xxxxxxxxxxxxxxx> wrote: >> diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c >> index 47de0f140ba6..13d052bf13f4 100644 >> --- a/drivers/base/cpu.c >> +++ b/drivers/base/cpu.c >> @@ -553,7 +553,11 @@ static void __init cpu_dev_register_generic(void) >> { >> int i, ret; >> >> - if (!IS_ENABLED(CONFIG_GENERIC_CPU_DEVICES)) >> + /* >> + * When ACPI is enabled, CPUs are registered via >> + * acpi_processor_get_info(). >> + */ >> + if (!IS_ENABLED(CONFIG_GENERIC_CPU_DEVICES) || !acpi_disabled) >> return; > > Honestly, this looks like a quick hack to me and it absolutely > requires an ACK from the x86 maintainers to go anywhere. That should work, but yes I agree it's all but pretty.