On Wed, Sep 24, 2014 at 10:21:23AM +0100, Will Deacon wrote: > Some IOMMUs, such as the ARM SMMU, support two stages of translation. > The idea behind such a scheme is to allow a guest operating system to > use the IOMMU for DMA mappings in the first stage of translation, with > the hypervisor then installing mappings in the second stage to provide > isolation of the DMA to the physical range assigned to that virtual > machine. > > In order to allow IOMMU domains to be used for second-stage translation, > this patch adds a new iommu_attr (IOMMU_ATTR_NESTING) for setting > second-stage domains prior to device attach. The attribute can also be > queried to see if a domain is actually making use of nesting. > > Cc: Joerg Roedel <[email protected]> > Cc: Alex Williamson <[email protected]> > Signed-off-by: Will Deacon <[email protected]>
Acked-by: Joerg Roedel <[email protected]> _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
