Lines Matching refs:vfio
2 vfio-ccw: the basic infrastructure
8 Here we describe the vfio support for I/O subchannel devices for
9 Linux/s390. Motivation for vfio-ccw is to passthrough subchannels to a
10 virtual machine, while vfio is the means.
20 Thus when we introduce vfio support for these devices, we realize it
21 with a mediated device (mdev) implementation. The vfio mdev will be
23 vfio framework. And we add read/write callbacks for special vfio I/O
40 For vfio mediated device framework:
41 - Documentation/driver-api/vfio-mediated-device.rst
43 Motivation of vfio-ccw
59 everybody else, namely vfio. We implement this vfio support for channel
60 devices via the vfio mediated device framework and the subchannel device
86 Back to vfio-ccw, in short:
99 Physical vfio ccw device and its child mdev
102 As mentioned above, we realize vfio-ccw with a mdev implementation.
105 vfio-ccw device does not have an IOMMU level translation or isolation.
108 handling the I/O instruction interception, vfio-ccw has the software
119 generic interface (sysfs) to create mdev devices. A vfio mdev could be
120 created by vfio_ccw then and added to the mediated bus. It is the vfio
121 device that added to an IOMMU group and a vfio group.
127 - The vfio_mdev driver for the mediated vfio ccw device.
128 This is provided by the mdev framework. It is a vfio device driver for
130 It realizes a group of vfio device driver callbacks, adds itself to a
131 vfio group, and registers itself to the mdev framework as a mdev
133 It uses a vfio iommu backend that uses the existing map and unmap
137 can have the vfio kernel convert that address to process virtual
140 For a mdev, the vfio iommu backend will not pin the pages during the
143 vfio_pin_pages and a vfio_unpin_pages interfaces from the vfio iommu
175 2. Create a mediated vfio ccw device.
179 vfio_mdev is also the vfio device driver. It will probe the mdev and
187 The vfio-ccw driver exposes MMIO regions to accept requests from and return
190 vfio-ccw I/O region
246 vfio-ccw cmd region
249 The vfio-ccw cmd region is used to accept asynchronous instructions
285 vfio-ccw schib region
288 The vfio-ccw schib region is used to return Subchannel-Information
301 vfio-ccw crw region
304 The vfio-ccw crw region is used to return Channel Report Word (CRW)
321 vfio-ccw operation details
324 vfio-ccw follows what vfio-pci did on the s390 platform and uses
325 vfio-iommu-type1 as the vfio iommu backend.
340 vfio_ccw implements the following vfio ioctls::
355 The use of vfio-ccw is not limited to QEMU, while QEMU is definitely a
408 The current vfio-ccw implementation focuses on supporting basic commands
432 vfio-ccw supports classic (command mode) channel I/O only. Transport
444 5. Documentation/driver-api/vfio.rst
445 6. Documentation/driver-api/vfio-mediated-device.rst