Skip to content

RFC Introduce vfio-cxl to support CXL type-2 device passthrough

Zhi Wang kvm linux-cxl qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1vfio: support CXL device in VFIO stubhw/vfio/common.c hw/vfio/pci.c hw/vfio/pci.h +3 more+164 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/1] Introduce vfio-cxl to support CXL type-2 device passthrough

Compute Express Link (CXL) is an open standard interconnect built upon industrial PCI layers to enhance the performance and efficiency of data centers by enabling high-speed, low-latency communication between CPUs and various types of devices such as accelerators, memory.

Although CXL is built upon the PCI layers, passing a CXL type-2 device can be different than PCI devices according to CXL specification. Thus, addtional changes on are required.

vfio-cxl is introduced to support the CXL type-2 device passthrough. This is the QEMU VFIOStub draft changes to support it.

More details (patches, repos, kernel config) all what you need to test and hack around, plus a demo video shows the kernel/QEMU command line can be found at:
https://lore.kernel.org/kvm/[email protected]/T/

Zhi Wang (1):
vfio: support CXL device in VFIO stub

 hw/vfio/common.c              |   3 +
 hw/vfio/pci.c                 | 134 ++++++++++++++++++++++++++++++++++
 hw/vfio/pci.h                 |  10 +++
 include/hw/pci/pci.h          |   2 +
 include/hw/vfio/vfio-common.h |   1 +
 linux-headers/linux/vfio.h    |  14 ++++
 6 files changed, 164 insertions(+)
Signature · 1 line
2.34.1