mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Punit Agrawal <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
1d5d820b8f
commit
e931d0dab4
3 changed files with 20 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue