Changes since v1 [1]: - Use consistent syntax to match other lspci capability output. (Bjorn Helgaas) [1] https://lore.kernel.org/linux-pci/20200409183204.328057-1-sean.v.kelley@xxxxxxxxxxxxxxx/ Add separate Designated Vendor-Specific Capability (DVSEC) defines and cap function so as to align with PCIe r5.0, sec 7.9.6.2 terms and provide available details. First step in later adding support for CXL. -- Sean V Kelley (1): lspci: Add available DVSEC details lib/header.h | 4 + ls-ecaps.c | 25 +++- tests/cap-dvsec | 340 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 368 insertions(+), 1 deletion(-) create mode 100644 tests/cap-dvsec -- 2.26.0