]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6429ab827a4c2f247eb52bd18b2c551b8a29dcd7
tree557dc95e4911167649127236d53912586277619f
parent1745fa1d18545865b09d389602d23bb7cbd67f63
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