[PATCH 0/3] efi_loader: fix ACPI table installation

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Thu May 21 20:50:22 CEST 2026


On the sandbox efi_acpi_register() used sandbox virtual addressed instead
of pointers required by the invoked API function. This lead to EFI
applications crashing when trying to access the tables.

The first patch corrects the API invocation.

The second patch provides a unit test to ensure we don't do this wrong
again.

The third patch provides an EFI app that we can use to download all
ACPI tables to the EFI system partition for further analysis.

Heinrich Schuchardt (3):
  efi_loader: use pointers in efi_acpi_register()
  efi_selftest: add ACPI configuration table test
  efi_loader: add ACPI table dump EFI app

 lib/efi_loader/Makefile              |   1 +
 lib/efi_loader/acpidump.c            | 999 +++++++++++++++++++++++++++
 lib/efi_loader/efi_acpi.c            |  42 +-
 lib/efi_selftest/Makefile            |   1 +
 lib/efi_selftest/efi_selftest_acpi.c |  75 ++
 5 files changed, 1102 insertions(+), 16 deletions(-)
 create mode 100644 lib/efi_loader/acpidump.c
 create mode 100644 lib/efi_selftest/efi_selftest_acpi.c

-- 
2.53.0



More information about the U-Boot mailing list