cxl/events: Promote CXL event structures to a core header
authorIra Weiny <ira.weiny@intel.com>
Thu, 21 Dec 2023 00:17:29 +0000 (16:17 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 6 Jan 2024 02:49:40 +0000 (18:49 -0800)
commit26a1a86dd093a10d0653429bf013dae6e95dccbf
tree155ba6b7a464aa3a655b77fabdc0116e81a9ecbe
parent6d0fc416c42a98b39a74151376928d577873941c
cxl/events: Promote CXL event structures to a core header

UEFI code can process CXL events through CPER records.  Those records
use almost the same format as the CXL events.

Lift the CXL event structures to a core header to be shared in later
patches.

[jic123: drop "CXL rev 3.0" mention]

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20231220-cxl-cper-v5-2-1bb8a4ca2c7a@intel.com
[djbw: add F: entry to maintainers for include/linux/cxl-event.h]
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
MAINTAINERS
drivers/cxl/cxlmem.h
include/linux/cxl-event.h [new file with mode: 0644]