summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRichard Cheng <icheng@nvidia.com>2026-11-03 14:34:09 +0800
committerDave Jiang <dave.jiang@intel.com>2026-11-17 15:37:49 -0700
commita02576de05178f15ffe6fc7551496de7de8acfde (patch)
treeff96453e83e6e54a658f54892e9f5d55dbdebb87 /include/linux
parent7c585e2f72633f5577b872baca6367f735ff1eec (diff)
cxl/port: Fix endpoint RAS error unmasking
Moving endpoint RAS handling from cxl_pci to cxl_port left cxl_ras_unmask() checking whether port->uport_dev is a PCI device. Endpoint ports always use a cxl_memdev as uport_dev, so this check returns early and leaves the CXL RAS error masks unchanged. Resolve the PCI device directly through the memdev's parent. Rename helper to cxl_endpoint_ras_unmask() and its param to endpoint to make its endpoint-only scope explicit. Fixes: dab7162d0ae7 ("cxl/port: Move endpoint component register management to cxl_port") Signed-off-by: Richard Cheng <icheng@nvidia.com> Reviewed-by: Ben Cheatham <benjamin.cheatham@amd.com> Link: https://patch.msgid.link/20261103063409.18275-1-icheng@nvidia.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions