mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
234489ac56
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>
18 lines
537 B
Makefile
18 lines
537 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_VFIO) += vfio.o
|
|
|
|
vfio-y += vfio_main.o \
|
|
group.o \
|
|
iova_bitmap.o
|
|
vfio-$(CONFIG_IOMMUFD) += iommufd.o
|
|
vfio-$(CONFIG_VFIO_CONTAINER) += container.o
|
|
vfio-$(CONFIG_VFIO_VIRQFD) += virqfd.o
|
|
|
|
obj-$(CONFIG_VFIO_IOMMU_TYPE1) += vfio_iommu_type1.o
|
|
obj-$(CONFIG_VFIO_IOMMU_SPAPR_TCE) += vfio_iommu_spapr_tce.o
|
|
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/
|