]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 3 Jul 2014 15:57:02 +0000 (09:57 -0600)
committerJoerg Roedel <jroedel@suse.de>
Tue, 29 Jul 2014 15:38:31 +0000 (17:38 +0200)
commit8f8d012068bbbaaf7aecd8d31c22a2050998ed9a
treee3f42b98efcdd2771a162820aea82fadf6dab449
parenta5ac3d65e5792462e68e4183562e8cef5bbe7a55
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 <alex.williamson@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: stable@vger.kernel.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c