[PATCH v8 14/37] acpi: Allocate and write ACPI tables

Simon Glass sjg at chromium.org
Mon Oct 14 17:51:07 CEST 2024


On Mon, 14 Oct 2024 at 07:12, Patrick Rudolph
<patrick.rudolph at 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 at 9elements.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at 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 at chromium.org>

Thank you


More information about the U-Boot mailing list