
On Mon, 14 Oct 2024 at 07:12, Patrick Rudolph patrick.rudolph@9elements.com wrote:
Allocate memory for ACPI tables in generic acpi code. When ACPI wasn't installed in other places, install the ACPI table using BLOBLISTs.
This allows non x86 platforms to boot using ACPI only in case the EFI loader is being used, since EFI is necessary to advertise the location of the ACPI tables in memory.
TEST: Booted QEMU SBSA (no QFW) using EFI and ACPI only.
Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com Cc: Simon Glass sjg@chromium.org Cc: Tom Rini trini@konsulko.com
Changelog v8:
- Only use bloblist to store tables on arm
lib/acpi/acpi_table.c | 66 +++++++++++++++++++++++++++++++- test/py/tests/test_event_dump.py | 1 + 2 files changed, 66 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
Thank you