[PATCH v2 0/5] Update ACPI RSDP tests to be specification compliant

Al Stone al.stone at linaro.org
Tue Feb 9 23:12:52 UTC 2016


Add in several tests that extend the testing done on the RSDP.  If these
tests are all passed, the RSDP being examined should be compliant with
the ACPI 6.0 spec.

As part of that, when creating a dummy RSDP to substitute for one that
cannot be read or found, use either RsdtAddress or XsdtAddress as described
in the spec.  For non-arm64, either can be used, but for arm64, only the
XsdtAddress is to be used.

Finally, update the regression tests for RSDP.

Changes for v2:
   -- Clean up failure messages to be more like expected messages
      (per Alex Hung)
   -- Bodge up both RSDT and XSDT pointers on x86 (Alex Hung)


Al Stone (5):
  RSDP: minor cleanups to rsdp.c for checkpatch issues
  utilities: add a helper function for printing out architecture names
  ACPI tables: when bodging up an RSDP, do the right thing for the arch
  ACPI RSDP: flesh out the tests to check for full spec compliance.
  Update regression test rsdp-0001/test-0001.sh

 fwts-test/rsdp-0001/rsdp.log   |  17 ++++-
 src/acpi/rsdp/rsdp.c           | 158 +++++++++++++++++++++++++++++++++++++----
 src/lib/include/fwts_arch.h    |   1 +
 src/lib/src/fwts_acpi_tables.c |  25 ++++---
 src/lib/src/fwts_arch.c        |  18 +++++
 5 files changed, 195 insertions(+), 24 deletions(-)

-- 
2.5.0




More information about the fwts-devel mailing list