]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: APEI: GHES: Add helper to copy CPER CXL protocol error info to work struct
authorFabio M. De Francesco <fabio.m.de.francesco@linux.intel.com>
Wed, 14 Jan 2026 10:14:24 +0000 (11:14 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Jan 2026 16:09:34 +0000 (17:09 +0100)
commitba8af8e1f1de32f14c98bd4a7da8b270284ffce3
treead85f7ecdbcaedf0425de114566140c35a1aaa92
parent70205869686212eb8e4cddf02bf87fd5fd597bc2
ACPI: APEI: GHES: Add helper to copy CPER CXL protocol error info to work struct

Make a helper out of cxl_cper_post_prot_err() that checks the CXL agent
type and copy the CPER CXL protocol errors information to a work data
structure.

Export the new symbol for reuse by ELOG.

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Fabio M. De Francesco <fabio.m.de.francesco@linux.intel.com>
[ rjw: Subject tweak ]
Link: https://patch.msgid.link/20260114101543.85926-5-fabio.m.de.francesco@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/ghes.c
drivers/acpi/apei/ghes_helpers.c
include/cxl/event.h