diff options
author | Tyler Baicar <tbaicar@codeaurora.org> | 2017-06-21 21:17:13 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-22 20:22:05 +0300 |
commit | e9279e83ad1f4b5af541a522a81888f828210b40 (patch) | |
tree | a6ef3e7defd8a432b9df29877400084e2a4243b1 /drivers/acpi/apei | |
parent | 297b64c74385fc7ea5dfff66105ab6465f2df49a (diff) | |
download | linux-e9279e83ad1f4b5af541a522a81888f828210b40.tar.xz |
trace, ras: add ARM processor error trace event
Currently there are trace events for the various RAS
errors with the exception of ARM processor type errors.
Add a new trace event for such errors so that the user
will know when they occur. These trace events are
consistent with the ARM processor error section type
defined in UEFI 2.6 spec section N.2.4.4.
Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/acpi/apei')
-rw-r--r-- | drivers/acpi/apei/ghes.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index ab36ad628c68..5073d035bb6e 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -517,7 +517,11 @@ static void ghes_do_proc(struct ghes *ghes, } #endif - else { + else if (guid_equal(sec_type, &CPER_SEC_PROC_ARM)) { + struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata); + + log_arm_hw_error(err); + } else { void *err = acpi_hest_get_payload(gdata); log_non_standard_event(sec_type, fru_id, fru_text, |