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 | gmane.linux.acpi.devel,gmane.linux.power-management.general,gmane.linux.kernel.cross-arch,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.ports.riscv,gmane.linux.documentation,gmane.linux.ports.ia64,gmane.linux.ports.parisc |
|---|---|
| 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]>