]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl/pci: Add trace logging for CXL PCIe Port RAS errors
authorSmita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
Mon, 10 Mar 2025 22:38:39 +0000 (22:38 +0000)
committerDave Jiang <dave.jiang@intel.com>
Fri, 14 Mar 2025 21:22:08 +0000 (14:22 -0700)
commit02f4f0177d8e7647016fc29f11c1a7bb75bc2182
tree65aceca257e6c12a7ee92fb09ecdd45417fdb099
parent36f257e3b0ba904f5a4e7fa8dafaa60e88cdd28c
cxl/pci: Add trace logging for CXL PCIe Port RAS errors

The CXL drivers use kernel trace functions for logging endpoint and
Restricted CXL host (RCH) Downstream Port RAS errors. Similar functionality
is required for CXL Root Ports, CXL Downstream Switch Ports, and CXL
Upstream Switch Ports.

Introduce trace logging functions for both RAS correctable and
uncorrectable errors specific to CXL PCIe Ports. Use them to trace
FW-First Protocol errors.

Co-developed-by: Terry Bowman <terry.bowman@amd.com>
Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Signed-off-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://patch.msgid.link/20250310223839.31342-3-Smita.KoralahalliChannabasappa@amd.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/ras.c
drivers/cxl/core/trace.h