This patch series add the interface to map MSI pages in iommu for msi-capable device pass-through using vfio. First patch adds a generic interface to set reserved iova regions. These reserved regions can be used for mapping physical address. Follow-up patches uses these reserved iova for mapping msi-pages. This patch series does not provide interface to let user-space know how many minimum reserved iova regions are required on a given platform. This interface can be added once this patches series get reviewed and will be in acceptable state. Bharat Bhushan (6): vfio: Add interface for add/del reserved iova region iommu: Add interface to get msi-pages mapping attributes vfio: Extend iommu-info to return MSIs automap state vfio: Add interface to iommu-map/unmap MSI pages vfio-pci: Create iommu mapping for msi interrupt arm-smmu: Allow to set iommu mapping for MSI drivers/iommu/arm-smmu.c | 8 + drivers/iommu/fsl_pamu_domain.c | 3 + drivers/iommu/iommu.c | 14 ++ drivers/vfio/pci/vfio_pci_intrs.c | 36 +++- drivers/vfio/vfio.c | 52 ++++++ drivers/vfio/vfio_iommu_type1.c | 344 +++++++++++++++++++++++++++++++++++++- include/linux/iommu.h | 9 +- include/linux/vfio.h | 9 +- include/uapi/linux/vfio.h | 46 +++++ 9 files changed, 516 insertions(+), 5 deletions(-) -- 1.9.3 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm