]> 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)
commit0a86d7974733cab233c254cd7c25f4cdb70b7434
tree557dc95e4911167649127236d53912586277619f
parentcb29816d18436d9614b0185f53ceccbf41c88871
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