]> git.baikalelectronics.ru Git - kernel.git/commit
acpi: apei: panic OS with fatal error status block
authorJonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
Wed, 21 Jun 2017 18:17:10 +0000 (12:17 -0600)
committerWill Deacon <will.deacon@arm.com>
Thu, 22 Jun 2017 17:22:04 +0000 (18:22 +0100)
commit60f0b0c3d355405bee80166bf80271d1d55b7d22
treeaeebdca1c62f8e899043b5918d1c45b578136c4c
parent1607442e1ca5c217814c0ce8324decd6e2fda5b0
acpi: apei: panic OS with fatal error status block

Even if an error status block's severity is fatal, the kernel does not
honor the severity level and panic.

With the firmware first model, the platform could inform the OS about a
fatal hardware error through the non-NMI GHES notification type. The OS
should panic when a hardware error record is received with this
severity.

Call panic() after CPER data in error status block is printed if
severity is fatal, before each error section is handled.

Signed-off-by: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/acpi/apei/ghes.c