qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/1] Introduce vfio-cxl to support CXL type-2 device passthrough
@ 2024-09-21  7:14 Zhi Wang
  2024-09-21  7:14 ` [RFC 1/1] vfio: support CXL device in VFIO stub Zhi Wang
  2024-09-26 16:52 ` [RFC 0/1] Introduce vfio-cxl to support CXL type-2 device passthrough Cédric Le Goater
  0 siblings, 2 replies; 4+ messages in thread
From: Zhi Wang @ 2024-09-21  7:14 UTC (permalink / raw)
  To: kvm, linux-cxl
  Cc: alex.williamson, kevin.tian, jgg, alison.schofield,
	dan.j.williams, dave.jiang, dave, jonathan.cameron, ira.weiny,
	vishal.l.verma, alucerop, clg, qemu-devel, acurrid, cjia, smitra,
	ankita, aniketa, kwankhede, targupta, zhiw, zhiwang

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/20240920223446.1908673-7-zhiw@nvidia.com/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(+)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-11 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-21  7:14 [RFC 0/1] Introduce vfio-cxl to support CXL type-2 device passthrough Zhi Wang
2024-09-21  7:14 ` [RFC 1/1] vfio: support CXL device in VFIO stub Zhi Wang
2024-10-11 21:47   ` Alex Williamson
2024-09-26 16:52 ` [RFC 0/1] Introduce vfio-cxl to support CXL type-2 device passthrough Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).