[PATCH] Start the work of adding ACPI compliance tests
Naresh Bhat
naresh.bhat at linaro.org
Tue Oct 27 07:19:53 UTC 2015
On 24 October 2015 at 02:37, Al Stone <al.stone at linaro.org> wrote:
> So, I'd like to start both re-using FWTS tests, and adding new tests, that
> specifically focus on verifying that ACPI tables are in full compliance
> with
> the ACPI specification. As I understand it, ACPI tests in FWTS have in the
> past looked for problem spots that were previously encountered, so as not
> to
> encounter them a second time. Compliance with the specification may or may
> not be the same thing, so I'd like to separate them out.
>
> For example, reduced hardware mode cannot really be enforced in Linux.
> There
> are reportedly platforms that claim to be reduced hardware but then use the
> fields in tables that the specification says they should not use. Since
> these
> are already supported, these platforms are not broken, but they do violate
> the
> spec. In that case, I would expect the ACPI tables on such platforms to be
> able to pass --acpitests, but definitely fail --acpicompliance.
>
> There are similar issues with MADT subtables. For instance, one platform
> that
> is supported in Linux uses a subtable ID that is a reserved value, and is
> not
> able to boot without that subtable. So again, it would likely pass when
> using
> the --acpitests option, but it should definitely fail with
> --acpicompliance.
>
> If this approach is acceptable, I'll start adding the proper flags to any
> of
> the existing tests that can be re-used, and I'll submit additional tests as
> soon as I get them writtem.
>
written
>
>
> Al Stone (1):
> Add in the notion of ACPI compliance tests.
>
This definitely makes sense for me. I am planning to apply this patch and
test on QEMU.
>
> README_SOURCE.txt | 1 +
> src/lib/include/fwts_framework.h | 9 +++++----
> src/lib/src/fwts_framework.c | 15 +++++++++++----
> 3 files changed, 17 insertions(+), 8 deletions(-)
>
> --
> 2.4.3
>
>
> --
> fwts-devel mailing list
> fwts-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/fwts-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20151027/2af1c147/attachment.html>
More information about the fwts-devel
mailing list