summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/pci/Makefile
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2012-07-31 16:16:24 +0200
committerAlex Williamson <alex.williamson@redhat.com>2012-07-31 16:16:24 +0200
commit89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 (patch)
tree6bea54ae5eaea48c17d309855d36d801259b64d1 /drivers/vfio/pci/Makefile
parentvfio: Type1 IOMMU implementation (diff)
downloadlinux-89e1f7d4c66d85f42c3d52ea3866eb10cadf6153.tar.xz
linux-89e1f7d4c66d85f42c3d52ea3866eb10cadf6153.zip
vfio: Add PCI device driver
Add PCI device support for VFIO. PCI devices expose regions for accessing config space, I/O port space, and MMIO areas of the device. PCI config access is virtualized in the kernel, allowing us to ensure the integrity of the system, by preventing various accesses while reducing duplicate support across various userspace drivers. I/O port supports read/write access while MMIO also supports mmap of sufficiently sized regions. Support for INTx, MSI, and MSI-X interrupts are provided using eventfds to userspace. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci/Makefile')
-rw-r--r--drivers/vfio/pci/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/vfio/pci/Makefile b/drivers/vfio/pci/Makefile
new file mode 100644
index 000000000000..131079255fd9
--- /dev/null
+++ b/drivers/vfio/pci/Makefile
@@ -0,0 +1,4 @@
+
+vfio-pci-y := vfio_pci.o vfio_pci_intrs.o vfio_pci_rdwr.o vfio_pci_config.o
+
+obj-$(CONFIG_VFIO_PCI) += vfio-pci.o