Hello, This is version three of the patches I originally posted here:
RFCv1: http://permalink.gmane.org/gmane.linux.kernel.iommu/5552 RFCv2: http://permalink.gmane.org/gmane.linux.kernel.iommu/5700 Changes since RFCv2 include: - Dropped the RFC tag - Rebased onto 3.17-rc* - Iterate the support bus_types (currently just PCI) and check that nesting is actually supported The corresponding arm-smmu changes are included to show how the new domain attribute can be used. All feedback welcome, Will -->8 Will Deacon (3): iommu: introduce domain attribute for nesting IOMMUs vfio/iommu_type1: add new VFIO_TYPE1_NESTING_IOMMU IOMMU type iommu/arm-smmu: add support for DOMAIN_ATTR_NESTING attribute drivers/iommu/arm-smmu.c | 110 ++++++++++++++++++++++++++++++++-------- drivers/vfio/vfio_iommu_type1.c | 87 ++++++++++++++++++++++++++++--- include/linux/iommu.h | 1 + include/uapi/linux/vfio.h | 2 + 4 files changed, 173 insertions(+), 27 deletions(-) -- 2.1.0 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu