]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 9 Aug 2017 14:23:25 +0000 (16:23 +0200)
commit67e3bd66f9e92266d01ce1d6225778b328785b16
tree9f9b7056c75f4015446c619626018e91e9a17b4f
parent56833ea206aee8e3f7ccc1670b33812d1f7aa31b
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.

BugLink: http://launchpad.net/bugs/1696570
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>
(backported from commit 297b64c74385fc7ea5dfff66105ab6465f2df49a)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/acpi/apei/ghes.c
drivers/ras/ras.c
include/linux/ras.h
include/linux/uuid.h
include/ras/ras_event.h