Re: [PATCH RFC v3 04/21] ACPI: processor: Register all CPUs from acpi_processor_get_info()
Jonathan Cameron <[email protected]> Thu, 14 Dec 2023 17:38:02 +0000
| Newsgroups | org.kernel.vger.linux-ia64,dev.linux.lists.acpica-devel,dev.linux.lists.kvmarm,dev.linux.lists.loongarch,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-riscv,org.kernel.vger.linux-acpi,org.kernel.vger.linux-arch,org.kernel.vger.linux-csky,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-parisc,org.kernel.vger.linux-pm |
|---|---|
| Organization | Huawei Technologies Research and Development (UK) Ltd. |
| Message-ID | <[email protected]> |
On Wed, 13 Dec 2023 12:49:31 +0000 Russell King (Oracle) <[email protected]> wrote: > From: James Morse <[email protected]> > > To allow ACPI to skip the call to arch_register_cpu() when the _STA > value indicates the CPU can't be brought online right now, move the > arch_register_cpu() call into acpi_processor_get_info(). > > Systems can still be booted with 'acpi=off', or not include an > ACPI description at all. For these, the CPUs continue to be > registered by cpu_dev_register_generic(). > > This moves the CPU register logic back to a subsys_initcall(), > while the memory nodes will have been registered earlier. > > Signed-off-by: James Morse <[email protected]> > Reviewed-by: Gavin Shan <[email protected]> > Tested-by: Miguel Luis <[email protected]> > Tested-by: Vishnu Pajjuri <[email protected]> > Tested-by: Jianyong Wu <[email protected]> > Signed-off-by: Russell King (Oracle) <[email protected]> LGTM as well. Reviewed-by: Jonathan Cameron <[email protected]>