Skip to content

pciutils: Add basic decode support for CXL DVSEC

Sean V Kelley linux-pci 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 2 repliesIn review
  2. v62 patches 1 replySuperseded
  3. v52 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v42 patches2 repliesSuperseded
v32 patches0 repliesSuperseded
v21 patch0 repliesSuperseded
v11 patch2 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pciutils: Decode available DVSEC detailslib/header.h ls-ecaps.c tests/cap-dvsec+368 -10 replies
2/2pciutils: Decode Compute eXpress Link DVSEClib/header.h ls-ecaps.c tests/cap-dvsec-cxl+416 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 0/2] pciutils: Add basic decode support for CXL DVSEC

Changes since v6 [1]:

- The CXL Vendor ID assigned by the PCI SIG is 1e98h and replaces the 8086h value used in the CXL rev1.1 and prior specifications.
(Errata CXL 1.1 sec E27)

[1] https://lore.kernel.org/linux-pci/[email protected]/

This patch series adds support for basic lspci decode of Compute eXpress Link, a new CPU interconnect building upon PCIe. As a foundation for the CXL support it adds separate Designated Vendor-Specific Capability (DVSEC) defines and a cap function so as to align with PCIe r5.0, sec 7.9.6.2 terms and provide available details. It makes use of the DVSEC Vendor ID and DVSEC ID so as to identify a CXL capable device.

DocLink: https://www.computeexpresslink.org/

Sean V Kelley (2):
pciutils: Decode available DVSEC details
pciutils: Decode Compute eXpress Link DVSEC

 lib/header.h        |  25 ++++
 ls-ecaps.c          |  79 +++++++++-
 tests/cap-dvsec     | 340 ++++++++++++++++++++++++++++++++++++++++++++
 tests/cap-dvsec-cxl | 340 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 783 insertions(+), 1 deletion(-)
 create mode 100644 tests/cap-dvsec
 create mode 100644 tests/cap-dvsec-cxl

--
2.26.2