]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cxl/pci: Move CXL driver's RCH error handling into core/ras_rch.c
authorTerry Bowman <terry.bowman@amd.com>
Wed, 14 Jan 2026 18:20:29 +0000 (12:20 -0600)
committerDave Jiang <dave.jiang@intel.com>
Thu, 22 Jan 2026 22:07:04 +0000 (15:07 -0700)
commit0ff60f2ec3e4043a442e805f80f8a2445113ec8f
tree0058f31fbf7fb01e0e6bb8993490fc80bbb19810
parentd18f1b7beadf1af1cd334ff789ba5a07ce285bbc
cxl/pci: Move CXL driver's RCH error handling into core/ras_rch.c

Restricted CXL Host (RCH) protocol error handling uses a procedure distinct
from the CXL Virtual Hierarchy (VH) handling. This is because of the
differences in the RCH and VH topologies. Improve the maintainability and
add ability to enable/disable RCH handling.

Move and combine the RCH handling code into a single block conditionally
compiled with the CONFIG_CXL_RCH_RAS kernel config.

Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260114182055.46029-9-terry.bowman@amd.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/Makefile
drivers/cxl/core/core.h
drivers/cxl/core/pci.c
drivers/cxl/core/ras_rch.c [new file with mode: 0644]
tools/testing/cxl/Kbuild