[PATCH] acpi: hest: Add new error notification types
Jeffrey Hugo
jhugo at codeaurora.org
Wed Sep 21 22:27:17 UTC 2016
ACPI 6.1 updated Table 18-345 in Section 18.3.2.9 with additional error
notification types. Types 0 - 10 are now defined. Update the test
accordingly to prevent false reserved type errors.
Signed-off-by: Jeffrey Hugo <jhugo at codeaurora.org>
---
src/acpi/hest/hest.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/acpi/hest/hest.c b/src/acpi/hest/hest.c
index 1d1fa71..eded048 100644
--- a/src/acpi/hest/hest.c
+++ b/src/acpi/hest/hest.c
@@ -645,13 +645,13 @@ static void hest_check_generic_error_source(
"more than zero.",
source->max_sections_per_record);
}
- if (source->notification.type > 7) {
+ if (source->notification.type > 0xA) {
*passed = false;
fwts_failed(fw, LOG_LEVEL_HIGH,
"HESTInvalidHardwareErrorNotificationType",
"HEST Hardware Error Notification Type is "
"an invalid reserved value of 0x%2.2" PRIx8 ","
- "expecting value 0x00 to 0x07",
+ "expecting value 0x00 to 0x0A",
source->notification.type);
}
if (source->notification.configuration_write_enable & ~0x3f) {
@@ -763,13 +763,13 @@ static void hest_check_generic_error_source_v2(
"more than zero.",
source->max_sections_per_record);
}
- if (source->notification.type > 7) {
+ if (source->notification.type > 0xA) {
*passed = false;
fwts_failed(fw, LOG_LEVEL_HIGH,
"HESTInvalidHardwareErrorNotificationType",
"HEST Hardware Error Notification Type is "
"an invalid reserved value of 0x%2.2" PRIx8 ","
- "expecting value 0x00 to 0x07",
+ "expecting value 0x00 to 0x0A",
source->notification.type);
}
if (source->notification.configuration_write_enable & ~0x3f) {
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
More information about the fwts-devel
mailing list