[V2][PATCH 0/2] Ignore some test cases for HW-REDUCED-ACPI
Heyi Guo
heyi.guo at linaro.org
Tue Apr 7 05:44:37 UTC 2015
ACPI test of FWTS reports several errors for QEMU aarch64 UEFI.
One is for PM_TMR_LEN not equaling to 4. But according to ACPI 5.1, these fields should be ignored for HW-REDUCED-ACPI. So I added a precondition for this test, also including SMI_CMD, GPE0, GPE1, etc, according to the spec. As the code becomes chunky, also split it into small functions for each important field check.
The other is for _PRS method, which is only required for configurable devices, but not for static devices. In all the method should be optional.
Heyi Guo (2):
acpi: method: _PRS is not mandatory method
acpi: acpitables: FADT: Ignore fields at offset 46 through 108 for
HW_REDUCED_ACPI
src/acpi/acpitables/acpitables.c | 90 +++++++++++++++++++++++++++++++---------
src/acpi/method/method.c | 2 +-
2 files changed, 71 insertions(+), 21 deletions(-)
--
2.1.4
More information about the fwts-devel
mailing list