diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2017-08-29 15:20:20 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-30 03:11:21 +0200 |
commit | e931d0dab4393f7195f84f42ed6fd973c26f62f1 (patch) | |
tree | 557dc95e4911167649127236d53912586277619f /include/acpi | |
parent | ACPI, APEI, EINJ: Subtract any matching Register Region from Trigger resources (diff) | |
download | linux-e931d0dab4393f7195f84f42ed6fd973c26f62f1.tar.xz linux-e931d0dab4393f7195f84f42ed6fd973c26f62f1.zip |
ACPI / APEI: Suppress message if HEST not present
According to the ACPI specification, firmware is not required to provide
the Hardware Error Source Table (HEST). When HEST is not present, the
following superfluous message is printed to the kernel boot log -
[ 3.460067] GHES: HEST is not enabled!
Extend hest_disable variable to track whether the firmware provides this
table and if it is not present skip any log output. The existing
behaviour is preserved in all other cases.
Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/apei.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/acpi/apei.h b/include/acpi/apei.h index 76284bb560a6..c46694abea28 100644 --- a/include/acpi/apei.h +++ b/include/acpi/apei.h @@ -16,7 +16,13 @@ #ifdef __KERNEL__ -extern bool hest_disable; +enum hest_status { + HEST_ENABLED, + HEST_DISABLED, + HEST_NOT_FOUND, +}; + +extern int hest_disable; extern int erst_disable; #ifdef CONFIG_ACPI_APEI_GHES extern bool ghes_disable; |