mbox series

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

Message ID 1547037714-21592-1-git-send-email-pmorel@linux.ibm.com (mailing list archive)
Headers show
Series Get DMA information from real IOMMU | expand

Message

Pierre Morel Jan. 9, 2019, 12:41 p.m. UTC
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(-)