ACPI 6.0 support for fwts

Bug #1447597 reported by Colin Ian King
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
High
Alex Hung

Bug Description

The ACPI 6.0 specification [1] was recently released, so fwts should now start to support this.

For example, add support for XENV, STAO.. tables.
Add method checks for

    _BTH, _CR3, _LPI, _MTL, _PRR, _RDI, _RST, _TFP, _TSN.

etc.

References
[1] http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf

This bug should be expanded to enumerate all the changes that need to be added to fwts

Changed in fwts:
importance: Undecided → High
Alex Hung (alexhung)
Changed in fwts:
assignee: nobody → Alex Hung (alexhung)
Alex Hung (alexhung)
description: updated
Revision history for this message
Alex Hung (alexhung) wrote :

Tests for listed control methods are implemented and waiting for review. Next steps will be the implementation for ACPI tables

Changed in fwts:
status: New → In Progress
Revision history for this message
Alex Hung (alexhung) wrote :

ACPI Tables TODOs;

From Table 5-30
EINJ, MSCT, MPST, PMTT, NFIT, PCCT, RASF

From Table 5-31
DRTM, ETDT, IBFT, IVRS, WPBT

Revision history for this message
Alex Hung (alexhung) wrote :

Updates to #2:

1. ETDT is obsolete and superseded by "HPET"
2. RASF seems to be uninterested (an element with 12 bytes) and a template cannot be generated by "iasl -T RASF".

This leaves us ACPI Tables TODOs:

From Table 5-30
EINJ, MSCT, MPST, PMTT, NFIT, PCCT

From Table 5-31
DRTM, IBFT, IVRS, WPBT

Revision history for this message
Colin Ian King (colin-king) wrote :

Note: I've searched my data base of ACPI tables and cannot find any instances of RASF being used. So it is an obscure and infrequently used table.

Revision history for this message
Colin Ian King (colin-king) wrote :

I've scanned my database of ACPI tables, here are the number if instances I found of the remaining tables to implement:

EINJ 1.52%
MSCT 0.26%
IVRS 0.23%
MPST 0
PMTT 0
NFIT 0
PCCT 0
DRTM 0
IBFT 0
WPBT 0

So EINJ, MSCT and IVRS look like the most relevant ones to implement first

Revision history for this message
Alex Hung (alexhung) wrote :

EINJ and MSCT are sent for reviews at http://patchwork.ozlabs.org/patch/612131/ and http://patchwork.ozlabs.org/patch/612130/, respectively

Revision history for this message
Alex Hung (alexhung) wrote :

MPST, PMTT, NFIT and PCCT are also implemented

Revision history for this message
Alex Hung (alexhung) wrote :

Now only four (IVRS DRTM IBFT WPBT) tables from external specs, ex. in Table 5-31, are not implemented.

Revision history for this message
Alex Hung (alexhung) wrote :

DRTM and WPBT are implemented and will be available in next release.

Revision history for this message
Alex Hung (alexhung) wrote :

IBFT is old (2009) and it seems nobody is using it. Let's skip it.

Alex Hung (alexhung)
Changed in fwts:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.