ras: acpi / apei: generate trace event for unrecognized CPER section
authorTyler Baicar <tbaicar@codeaurora.org>
Wed, 21 Jun 2017 18:17:12 +0000 (12:17 -0600)
committerWill Deacon <will.deacon@arm.com>
Thu, 22 Jun 2017 17:22:04 +0000 (18:22 +0100)
commit297b64c74385fc7ea5dfff66105ab6465f2df49a
tree15a8b282ffd961212f834930c246cbdfa2b39f01
parent0fc300f414519b10c146fc3329a1b3094e4b6d52
ras: acpi / apei: generate trace event for unrecognized CPER section

The UEFI spec includes non-standard section type support in the
Common Platform Error Record. This is defined in section N.2.3 of
UEFI version 2.5.

Currently if the CPER section's type (UUID) does not match any
section type that the kernel knows how to parse, a trace event is
not generated.

Generate a trace event which contains the raw error data for
non-standard section type error records.

Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
CC: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
Tested-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/acpi/apei/ghes.c
drivers/ras/ras.c
include/linux/ras.h
include/linux/uuid.h
include/ras/ras_event.h