From: Alex Williamson Date: Thu, 3 Jul 2014 15:57:02 +0000 (-0600) Subject: iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains X-Git-Tag: v3.2.64~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3a065739fa2475bba21f9bbcc1b163cfff1693;p=pandora-kernel.git iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains commit c875d2c1b8083cd627ea0463e20bf22c2d7421ee upstream. The user of the IOMMU API domain expects to have full control of the IOVA space for the domain. RMRRs are fundamentally incompatible with that idea. We can neither map the RMRR into the IOMMU API domain, nor can we guarantee that the device won't continue DMA with the area described by the RMRR as part of the new domain. Therefore we must prevent such devices from being used by the IOMMU API. Signed-off-by: Alex Williamson Cc: David Woodhouse Signed-off-by: Joerg Roedel [bwh: Backported to 3.2: driver only operates on PCI devices] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed