]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: APEI: GHES: Add helper for CPER CXL protocol errors checks
authorFabio M. De Francesco <fabio.m.de.francesco@linux.intel.com>
Wed, 14 Jan 2026 10:14:23 +0000 (11:14 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Jan 2026 16:09:34 +0000 (17:09 +0100)
commit70205869686212eb8e4cddf02bf87fd5fd597bc2
tree6862299378320822d538beb77bee68fc608badcf
parente778ffefa34ddcdc32a260452627e390941812eb
ACPI: APEI: GHES: Add helper for CPER CXL protocol errors checks

Move the CPER CXL protocol errors validity check out of
cxl_cper_post_prot_err() to new cxl_cper_sec_prot_err_valid() and limit
the serial number check only to CXL agents that are CXL devices (UEFI
v2.10, Appendix N.2.13).

Export the new symbol for reuse by ELOG.

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@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-4-fabio.m.de.francesco@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/Makefile
drivers/acpi/apei/ghes.c
drivers/acpi/apei/ghes_helpers.c [new file with mode: 0644]
include/cxl/event.h