ACPI / APEI: Suppress message if HEST not present
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 29 Aug 2017 13:20:20 +0000 (14:20 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Aug 2017 01:11:21 +0000 (03:11 +0200)
commite931d0dab4393f7195f84f42ed6fd973c26f62f1
tree557dc95e4911167649127236d53912586277619f
parent1d5d820b8fe83b5f859d1ebb028a09ada426447e
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>
drivers/acpi/apei/ghes.c
drivers/acpi/apei/hest.c
include/acpi/apei.h