On 4/26/2024 8:34 PM, Ira Weiny wrote:
If the firmware has configured CXL event support to be firmware first the OS will receive those events through CPER records. The CXL layer has unique DPA to HPA knowledge and existing event trace parsing in place.[0] Add a CXL CPER work item and register it with the GHES code to process CPER events. Link: http://lore.kernel.org/r/cover.1711598777.git.alison.schofield@xxxxxxxxx [0] Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx> --- Changes: [iweiny: pick up tag] [djbw: use proper link format] --- drivers/cxl/pci.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-)
Tested-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@xxxxxxx> Reviewed-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@xxxxxxx>