[PATCH v2 0/4] cmd: acpi: correct handling of DSDT and FACS
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Fri Dec 15 19:26:54 CET 2023
Fields X_FIRMWARE and X_DSDT in the FADT table must be 64bit.
Fix the definition in our include.
The 64bit fields X_FIRMWARE and X_DSDT take precedence over the respective
32bit fields. Consider this in the 'acpi list' and 'acpi dump' commands.
The fields only exist for FADT table revision 3 and above.
Don't fill unused fields FIRMWAE and DSDT.
Write an error if the hardware reduce flag is not set for non-x86 systems.
v2:
check FADT table revision
correct dumping DSDT and FACS
Heinrich Schuchardt (4):
acpi: fix FADT table
cmd: acpi: fix listing DSDT and FACS
cmd: acpi: check HW reduced flag in acpi list
aci: fix acpi_find_table() for DSDT and FACS
arch/x86/cpu/baytrail/acpi.c | 8 ++------
arch/x86/cpu/quark/acpi.c | 8 ++------
arch/x86/cpu/tangier/acpi.c | 8 ++------
arch/x86/lib/acpi_table.c | 9 ++-------
cmd/acpi.c | 12 ++++++++++--
include/acpi/acpi_table.h | 6 ++----
lib/acpi/acpi.c | 29 ++++++++++++++++++++++++-----
7 files changed, 44 insertions(+), 36 deletions(-)
--
2.40.1
More information about the U-Boot
mailing list