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: omap-for-v3.17/fixes-against-rc2~158^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c875d2c1;p=pandora-kernel.git iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains 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 Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed