[PATCH v1 0/2] Get DMA information from real IOMMU

From: Pierre Morel
Date: Wed Jan 09 2019 - 07:42:05 EST


The zPCI driver needs to get specific information from the host
IOMMU.
In this patch, the IOMMU DMA start and end usable addresses are
retrieved using the VFIO_IOMMU_GET_INFO iotcl by introducing
capabilities to the vfio_iommu_type1_info structure.

Pierre Morel (2):
vfio:iommu: Use capabilities do report IOMMU informations
vfio:iommu: Get DMA information from real IOMMU

drivers/vfio/vfio_iommu_type1.c | 43 ++++++++++++++++++++++++++++++++++++++++-
include/uapi/linux/vfio.h | 9 +++++++++
2 files changed, 51 insertions(+), 1 deletion(-)

--
2.7.4