RFC PCI/CXL: Add RDPAS support for CXL.io
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest2 patches 8 repliesIn review
- v1 RFC2 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Added multiple DSP per RCEC support.
- Added boundary checks for reading MMIO
- Addressed issues raised by shashiko
- See individual patches for detailed changes
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PCI/CXL: Add RDPAS parsing supportdrivers/ drivers/ include/ | +144 | 2 replies | |
| 2/2 | PCI/CXL: Enable usage of RDPAS to shortcut error device discoverydrivers/ | +148 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/2] PCI/CXL: Add RDPAS support for CXL.io
v2:
- Added multiple DSP per RCEC support.
- Added boundary checks for reading MMIO
- Addressed issues raised by shashiko
- See individual patches for detailed changes
The series add RCEC Downstream Port Assocation Structure (RDPAS) parsing support to CXL.io. RDPAS is an ACPI table that is part of the CXL Early Discovery Table (CEDT) defined in CXL specification r4.0 9.18.1.5. It provides the mapping between RCEC and downstream ports. With RDPAS, the error device can be directly found when an error is reported on RCEC, without walking a number of RCiEP in order to determine which one reported the error. While CXL.cachemem is supported by RDPAS, there is no easy way to discover the source id of the error and therefore finding the Linux PCI object for the RCiEP. The intention here is to accelerate the discovery of the error by directly locating the error device with the given information.
This series is based on top of Terry's CXL error protocol series [1]. Looking for comments on the series WRT if it makes sense to add on top of Terry's error handling for RCH/RCD devices.
[1]: https://lore.kernel.org/linux-cxl/[email protected]/T/#t
Dave Jiang (2):
PCI/CXL: Add RDPAS parsing support
PCI/CXL: Enable usage of RDPAS to shortcut error device discovery
drivers/cxl/acpi.c | 5 + drivers/pci/pcie/aer_cxl_rch.c | 271 ++++++++++++++++++++++++++++++++- include/cxl/ras.h | 18 +++ 3 files changed, 291 insertions(+), 3 deletions(-) create mode 100644 include/cxl/ras.h
base-commit: a558d1571c0b3bb6b4a830cb2cd8f128cc5ef3e1
Signature · 1 line
2.54.0