]> asedeno.scripts.mit.edu Git - linux.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)
commit2fb5853e4442334cb66fc2ab33a51c91d4434769
treeaeebdca1c62f8e899043b5918d1c45b578136c4c
parent7edda0886bc3d1e5418951558a2555af1bc73b0a
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