Message ID | 20240727071742.1735703-17-patrick.rudolph@9elements.com |
---|---|
State | Changes Requested |
Delegated to: | Simon Glass |
Headers | show |
Series | Implement ACPI on aarch64 | expand |
On Sat, 27 Jul 2024 at 01:20, Patrick Rudolph <patrick.rudolph@9elements.com> wrote: > > On FDT platforms the APs are brought out of reset using the spin-table > as defined in the DT. On ACPI enabled platforms there's no FDT, thus > enable the ARMV8_MULTIENTRY to use the ACPI parking protocol instead. > > TEST: - Aps enter U-Boot when run on qemu-system-aarch64 -machine raspi4b > - APs on real hardware do not enter U-Boot! To be investigated. > > Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> > Cc: Matthias Brugger <mbrugger@suse.com> > Cc: Peter Robinson <pbrobinson@gmail.com> > Cc: Tom Rini <trini@konsulko.com> > --- > arch/arm/mach-bcm283x/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig index de783aa8f5..d2abeb778f 100644 --- a/arch/arm/mach-bcm283x/Kconfig +++ b/arch/arm/mach-bcm283x/Kconfig @@ -26,6 +26,7 @@ config BCM2837_64B depends on ARCH_BCM283X select BCM2837 select ARM64 + select ARMV8_MULTIENTRY if GENERATE_ACPI_TABLE config BCM2711 bool "Broadcom BCM2711 SoC support" @@ -45,6 +46,7 @@ config BCM2711_64B depends on ARCH_BCM283X select BCM2711 select ARM64 + select ARMV8_MULTIENTRY if GENERATE_ACPI_TABLE menu "Broadcom BCM283X family" depends on ARCH_BCM283X
On FDT platforms the APs are brought out of reset using the spin-table as defined in the DT. On ACPI enabled platforms there's no FDT, thus enable the ARMV8_MULTIENTRY to use the ACPI parking protocol instead. TEST: - Aps enter U-Boot when run on qemu-system-aarch64 -machine raspi4b - APs on real hardware do not enter U-Boot! To be investigated. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Cc: Matthias Brugger <mbrugger@suse.com> Cc: Peter Robinson <pbrobinson@gmail.com> Cc: Tom Rini <trini@konsulko.com> --- arch/arm/mach-bcm283x/Kconfig | 2 ++ 1 file changed, 2 insertions(+)