[PATCH 06/10] acpi: acpitables: add SBBR compliance tests

Sakar Arora Sakar.Arora at arm.com
Mon Aug 7 12:33:27 UTC 2017


Thanks for the comments.
The SBBR spec requires SSDT tables as mandatory along with the DSDT tables.
http://infocenter.arm.com/help/topic/com.arm.doc.den0044b/DEN0044B_Server_Base_Boot_Requirements.pdf (section 4.2.1.4)

Regards,
Sakar
-----Original Message-----
From: fwts-devel-bounces at lists.ubuntu.com [mailto:fwts-devel-bounces at lists.ubuntu.com] On Behalf Of Al Stone
Sent: Saturday, August 5, 2017 3:25 AM
To: Alex Hung <alex.hung at canonical.com>; fwts-devel at lists.ubuntu.com
Subject: Re: [PATCH 06/10] acpi: acpitables: add SBBR compliance tests

On 08/03/2017 06:17 PM, Alex Hung wrote:
> On 2017-07-24 11:10 PM, Sakar Arora wrote:
>> From: Rajat Goyal <Rajat.Goyal at arm.com>
>>
>> Server Base Boot Requirements (SBBR) specification is intended for
>> SBSA- compliant 64-bit ARMv8 servers.
>> It defines the base firmware requirements for out-of-box support of
>> any ARM SBSA-compatible Operating System or hypervisor.
>> The requirements in this specification are expected to be minimal yet
>> complete for booting a multi-core ARMv8 server platform, while
>> leaving plenty of room for OEM or ODM innovations and design details.
>> For more information, download the SBBR specification here:
>> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044b/
>> index.html
>>
>> This change introduces additional test cases as per sbbr.
>> Additional tests include
>> 1. Test that processors only exist in the _SB namespace.
>> 2. Test DSDT and SSDT tables are implemented.
>> 3. Check for recommended ACPI tables.
>>
>> Signed-off-by: Supreeth Venkatesh <supreeth.venkatesh at arm.com>
>> Signed-off-by: Rajat Goyal <Rajat.Goyal at arm.com>
>> ---
>>   src/Makefile.am                  |   1 +
>>   src/acpi/acpitables/acpitables.c |   2 +-
>>   src/sbbr/acpitables/acpitables.c | 264 +++++++++++++++++++++++++++++++++++++++
>>   3 files changed, 266 insertions(+), 1 deletion(-)
>>   create mode 100644 src/sbbr/acpitables/acpitables.c [snip....]
>> +    }
>> +    if (!checked)
>> +        fwts_aborted(fw, "Cannot find any ACPI tables.");
>> +    if (!dsdt_checked) {
>> +        fwts_failed(fw, LOG_LEVEL_HIGH, "acpi_table_check_test4",
>> +                "Test DSDT table is NOT implemented.");
>> +    }
>> +    if (!ssdt_checked) {
>> +        fwts_failed(fw, LOG_LEVEL_HIGH, "acpi_table_check_test4",
>> +                "Test SSDT table is NOT implemented.");
>> +    }
>
> SSDT is usually optional. Is it mandatory in SBBR?

AFAIK, no.  If I misread the language somehow, then the SBBR needs to be fixed, I believe.  The DSDT should be the only required AML table; SSDTs should be entirely optional.

--
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Linaro Enterprise Group
al.stone at linaro.org
-----------------------------------

--
fwts-devel mailing list
fwts-devel at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.



More information about the fwts-devel mailing list