ACK: [PATCH] acpi: hest: Add new error notification types
Colin Ian King
colin.king at canonical.com
Thu Sep 22 07:11:35 UTC 2016
On 21/09/16 23:27, Jeffrey Hugo wrote:
> 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) {
>
Thanks for spotting that Jeffrey
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list