diff options
author | Ira Weiny <ira.weiny@intel.com> | 2024-02-01 02:55:38 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2024-02-03 20:31:17 +0300 |
commit | 54ce1927eb787f7bbb7ee664841c8f5932703f39 (patch) | |
tree | 78922675614f3bc5c9ad7987e7de6d8ef0fb7777 /drivers/cxl | |
parent | 0bcff59ef7a652fcdc6d535554b63278c2406c8f (diff) | |
download | linux-54ce1927eb787f7bbb7ee664841c8f5932703f39.tar.xz |
cxl/cper: Fix errant CPER prints for CXL events
Jonathan reports that CXL CPER events dump an extra generic error
message.
{1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1
{1}[Hardware Error]: event severity: recoverable
{1}[Hardware Error]: Error 0, type: recoverable
{1}[Hardware Error]: section type: unknown, fbcd0a77-c260-417f-85a9-088b1621eba6
{1}[Hardware Error]: section length: 0x90
{1}[Hardware Error]: 00000000: 00000090 00000007 00000000 0d938086 ................
{1}[Hardware Error]: 00000010: 00100000 00000000 00040000 00000000 ................
...
CXL events were rerouted though the CXL subsystem for additional
processing. However, when that work was done it was missed that
cper_estatus_print_section() continued with a generic error message
which is confusing.
Teach CPER print code to ignore printing details of some section types.
Assign the CXL event GUIDs to this set to prevent confusing unknown
prints.
Reported-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions