summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/Makefile
diff options
context:
space:
mode:
authorNipun Gupta <nipun.gupta@amd.com>2023-05-31 14:45:57 +0200
committerAlex Williamson <alex.williamson@redhat.com>2023-06-16 20:27:04 +0200
commit234489ac561300ceed33e64c3bf3a810b9e2051d (patch)
treef6f6ec851deccebef71c16f10d5504c5b37e79ff /drivers/vfio/Makefile
parentvfio/fsl: Create Kconfig sub-menu (diff)
downloadlinux-234489ac561300ceed33e64c3bf3a810b9e2051d.tar.xz
linux-234489ac561300ceed33e64c3bf3a810b9e2051d.zip
vfio/cdx: add support for CDX bus
vfio-cdx driver enables IOCTLs for user space to query MMIO regions for CDX devices and mmap them. This change also adds support for reset of CDX devices. With VFIO enabled on CDX devices, user-space applications can also exercise DMA securely via IOMMU on these devices. This change adds the VFIO CDX driver and enables the following ioctls for CDX devices: - VFIO_DEVICE_GET_INFO: - VFIO_DEVICE_GET_REGION_INFO - VFIO_DEVICE_RESET Signed-off-by: Nipun Gupta <nipun.gupta@amd.com> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com> Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20230531124557.11009-1-nipun.gupta@amd.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/Makefile')
-rw-r--r--drivers/vfio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/Makefile b/drivers/vfio/Makefile
index 8da44aa1ea16..66f418aef5a9 100644
--- a/drivers/vfio/Makefile
+++ b/drivers/vfio/Makefile
@@ -14,3 +14,4 @@ obj-$(CONFIG_VFIO_PCI_CORE) += pci/
obj-$(CONFIG_VFIO_PLATFORM_BASE) += platform/
obj-$(CONFIG_VFIO_MDEV) += mdev/
obj-$(CONFIG_VFIO_FSL_MC) += fsl-mc/
+obj-$(CONFIG_VFIO_CDX) += cdx/