[PATCH 4/5] acpi: hest: add new type 11 introduced in ACPi 6.2 (mantis 1649)
Alex Hung
alex.hung at canonical.com
Tue Jun 20 01:39:12 UTC 2017
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
src/acpi/hest/hest.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/acpi/hest/hest.c b/src/acpi/hest/hest.c
index a7a76a5..fb2e5fe 100644
--- a/src/acpi/hest/hest.c
+++ b/src/acpi/hest/hest.c
@@ -800,7 +800,9 @@ static int hest_test1(fwts_framework *fw)
ssize_t length = (ssize_t)hest->header.length;
uint32_t hest_type_00_count = 0,
hest_type_01_count = 0,
- hest_type_02_count = 0;
+ hest_type_02_count = 0,
+ hest_type_11_count = 0;
+
if (table->length < sizeof(fwts_acpi_table_hest)) {
passed = false;
@@ -850,6 +852,11 @@ static int hest_test1(fwts_framework *fw)
case 10:
hest_check_generic_error_source_v2(fw, &length, &data, &passed);
break;
+ case 11:
+ /* the structure of type 11 is the same as type 1 */
+ hest_check_ia32_arch_corrected_machine_check(fw, &length, &data, &passed);
+ hest_type_11_count++;
+ break;
default:
fwts_failed(fw, LOG_LEVEL_HIGH,
"HESTInvalidType",
--
2.7.4
More information about the fwts-devel
mailing list