[PATCH v9 17/19] arm64: Kconfig: Enable hotplug CPU on arm64 if ACPI_PROCESSOR is enabled.
Gavin Shan
gshan at redhat.com
Wed May 1 04:13:46 PDT 2024
On 5/1/24 00:24, Jonathan Cameron wrote:
> In order to move arch_register_cpu() to be called via the same path
> for initially present CPUs described by ACPI and hotplugged CPUs
> ACPI_HOTPLUG_CPU needs to be enabled.
>
> The protection against invalid IDs in acpi_map_cpu() is needed as
> at least one production BIOS is in the wild which reports entries
> in DSDT (with no _STA method, so assumed enabled and present)
> that don't match MADT.
>
> Tested-by: Miguel Luis <miguel.luis at oracle.com>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
>
> ---
> V9: No change.
>
> ---
> arch/arm64/Kconfig | 1 +
> arch/arm64/kernel/acpi.c | 22 ++++++++++++++++++++++
> 2 files changed, 23 insertions(+)
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-arm-kernel
mailing list