]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8693fe8410d5abce989798e1bfaf0b593d1d816
tree15a8b282ffd961212f834930c246cbdfa2b39f01
parentc210cf1907991c91e940561434b9aaa68ca2b1c2
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