Home
last modified time | relevance | path

Searched refs:vfio (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.1/drivers/vfio/platform/
DMakefile2 vfio-platform-base-y := vfio_platform_common.o vfio_platform_irq.o
3 vfio-platform-y := vfio_platform.o
5 obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o
6 obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform-base.o
9 vfio-amba-y := vfio_amba.o
11 obj-$(CONFIG_VFIO_AMBA) += vfio-amba.o
12 obj-$(CONFIG_VFIO_AMBA) += vfio-platform-base.o
DKconfig24 source "drivers/vfio/platform/reset/Kconfig"
/Linux-v6.1/drivers/vfio/pci/
DMakefile3 vfio-pci-core-y := vfio_pci_core.o vfio_pci_intrs.o vfio_pci_rdwr.o vfio_pci_config.o
4 vfio-pci-core-$(CONFIG_VFIO_PCI_ZDEV_KVM) += vfio_pci_zdev.o
5 obj-$(CONFIG_VFIO_PCI_CORE) += vfio-pci-core.o
7 vfio-pci-y := vfio_pci.o
8 vfio-pci-$(CONFIG_VFIO_PCI_IGD) += vfio_pci_igd.o
9 obj-$(CONFIG_VFIO_PCI) += vfio-pci.o
DKconfig44 To enable Intel IGD assignment through vfio-pci, say Y.
56 To enable s390x KVM vfio-pci extensions, say Y.
58 source "drivers/vfio/pci/mlx5/Kconfig"
60 source "drivers/vfio/pci/hisilicon/Kconfig"
/Linux-v6.1/Documentation/s390/
Dvfio-ccw.rst2 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
[all …]
Dindex.rst14 vfio-ap
15 vfio-ap-locking
16 vfio-ccw
/Linux-v6.1/drivers/vfio/
Dcontainer.c27 static struct vfio { struct
30 } vfio; variable
111 mutex_lock(&vfio.iommu_drivers_lock); in vfio_register_iommu_driver()
114 list_for_each_entry(tmp, &vfio.iommu_drivers_list, vfio_next) { in vfio_register_iommu_driver()
116 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_register_iommu_driver()
122 list_add(&driver->vfio_next, &vfio.iommu_drivers_list); in vfio_register_iommu_driver()
124 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_register_iommu_driver()
134 mutex_lock(&vfio.iommu_drivers_lock); in vfio_unregister_iommu_driver()
135 list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { in vfio_unregister_iommu_driver()
138 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_unregister_iommu_driver()
[all …]
Dvfio_main.c44 static struct vfio { struct
52 } vfio; argument
153 list_for_each_entry(group, &vfio.group_list, vfio_next) { in __vfio_group_get_from_iommu()
167 mutex_lock(&vfio.group_lock); in vfio_group_get_from_iommu()
169 mutex_unlock(&vfio.group_lock); in vfio_group_get_from_iommu()
180 ida_free(&vfio.group_ida, MINOR(group->dev.devt)); in vfio_group_release()
194 minor = ida_alloc_max(&vfio.group_ida, MINORMASK, GFP_KERNEL); in vfio_group_alloc()
201 group->dev.devt = MKDEV(MAJOR(vfio.group_devt), minor); in vfio_group_alloc()
202 group->dev.class = vfio.class; in vfio_group_alloc()
239 mutex_lock(&vfio.group_lock); in vfio_create_group()
[all …]
DKconfig9 See Documentation/driver-api/vfio.rst for more details.
47 source "drivers/vfio/pci/Kconfig"
48 source "drivers/vfio/platform/Kconfig"
49 source "drivers/vfio/mdev/Kconfig"
50 source "drivers/vfio/fsl-mc/Kconfig"
DMakefile4 obj-$(CONFIG_VFIO) += vfio.o
6 vfio-y += vfio_main.o \
/Linux-v6.1/Documentation/driver-api/
Dvfio-pci-device-specific-driver-acceptance.rst3 Acceptance criteria for vfio-pci device specific driver variants
8 The vfio-pci driver exists as a device agnostic driver using the
11 vfio-pci driver does include some device specific support, further
13 sustainable. The vfio-pci driver has therefore split out
14 vfio-pci-core as a library that may be reused to implement features
21 accessible via the vfio-pci base driver. Authors of such drivers
32 available to the user via vfio-pci, what safeguards exist to validate
35 to the overall vfio maintainer.
Dindex.rst106 vfio-mediated-device
107 vfio
108 vfio-pci-device-specific-driver-acceptance
Dvfio.rst81 is created by simply opening the /dev/vfio/vfio character device.
90 VFIO group will appear for the group as /dev/vfio/$GROUP, where
100 the VFIO group character device (/dev/vfio/$GROUP) and using the
127 pci bus, therefore the user will make use of vfio-pci to manage the
130 # modprobe vfio-pci
132 Binding this device to the vfio-pci driver creates the VFIO group
138 # echo 1102 0002 > /sys/bus/pci/drivers/vfio-pci/new_id
156 bind this device to the vfio-pci driver (vfio-pci does not currently
160 unprivileged operation is desired (note that /dev/vfio/vfio provides
164 # chown user:user /dev/vfio/26
[all …]
Dvfio-mediated-device.rst207 "vfio-pci" for a PCI device.
276 mtty.c in samples/vfio-mdev/ directory is a sample driver program to
322 -device vfio-pci,\
376 1. See Documentation/driver-api/vfio.rst for more information on VFIO.
379 4. struct vfio_iommu_driver_ops in include/linux/vfio.h
/Linux-v6.1/drivers/vfio/platform/reset/
DMakefile2 vfio-platform-calxedaxgmac-y := vfio_platform_calxedaxgmac.o
3 vfio-platform-amdxgbe-y := vfio_platform_amdxgbe.o
5 obj-$(CONFIG_VFIO_PLATFORM_CALXEDAXGMAC_RESET) += vfio-platform-calxedaxgmac.o
6 obj-$(CONFIG_VFIO_PLATFORM_AMDXGBE_RESET) += vfio-platform-amdxgbe.o
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-devices-vfio-dev1 What: /sys/.../<device>/vfio-dev/vfioX/
6 vfio driver. The layout under this directory matches what
8 index marking this device in vfio.
Dsysfs-bus-vfio-mdev61 by this type. For example, "vfio-pci" for a PCI device,
62 "vfio-platform" for platform device.
/Linux-v6.1/drivers/vfio/pci/hisilicon/
DMakefile2 obj-$(CONFIG_HISI_ACC_VFIO_PCI) += hisi-acc-vfio-pci.o
3 hisi-acc-vfio-pci-y := hisi_acc_vfio_pci.o
/Linux-v6.1/drivers/vfio/pci/mlx5/
DMakefile2 obj-$(CONFIG_MLX5_VFIO_PCI) += mlx5-vfio-pci.o
3 mlx5-vfio-pci-y := main.o cmd.o
/Linux-v6.1/drivers/vfio/fsl-mc/
DMakefile3 vfio-fsl-mc-y := vfio_fsl_mc.o vfio_fsl_mc_intr.o
4 obj-$(CONFIG_VFIO_FSL_MC) += vfio-fsl-mc.o
/Linux-v6.1/Documentation/translations/zh_CN/driver-api/
Dindex.rst119 * vfio-mediated-device
120 * vfio
121 * vfio-pci-device-specific-driver-acceptance
/Linux-v6.1/Documentation/virt/kvm/devices/
Dindex.rst16 vfio
/Linux-v6.1/drivers/vfio/mdev/
DKconfig8 See Documentation/driver-api/vfio-mediated-device.rst for more details.
/Linux-v6.1/virt/kvm/
DMakefile.kvm9 kvm-$(CONFIG_KVM_VFIO) += $(KVM)/vfio.o
/Linux-v6.1/samples/
DMakefile30 obj-y += vfio-mdev/

12