diff options
author | Tyler Baicar <tbaicar@codeaurora.org> | 2017-06-21 12:17:12 -0600 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-22 18:22:04 +0100 |
commit | 297b64c74385fc7ea5dfff66105ab6465f2df49a (patch) | |
tree | 15a8b282ffd961212f834930c246cbdfa2b39f01 /include/linux/uuid.h | |
parent | 0fc300f414519b10c146fc3329a1b3094e4b6d52 (diff) |
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>
Diffstat (limited to 'include/linux/uuid.h')
-rw-r--r-- | include/linux/uuid.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/uuid.h b/include/linux/uuid.h index 75f7182d5360..61641faca38b 100644 --- a/include/linux/uuid.h +++ b/include/linux/uuid.h @@ -18,8 +18,10 @@ #include <uapi/linux/uuid.h> +#define UUID_SIZE 16 + typedef struct { - __u8 b[16]; + __u8 b[UUID_SIZE]; } uuid_t; #define UUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ |