summaryrefslogtreecommitdiff
path: root/include/acpi/apei.h
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2017-08-29 14:20:20 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-08-30 03:11:21 +0200
commite931d0dab4393f7195f84f42ed6fd973c26f62f1 (patch)
tree557dc95e4911167649127236d53912586277619f /include/acpi/apei.h
parent1d5d820b8fe83b5f859d1ebb028a09ada426447e (diff)
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/apei.h')
-rw-r--r--include/acpi/apei.h8
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;