]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Detect DMAR in hyperspace at probe time.
authorChris Wright <chrisw@sous-sol.org>
Wed, 2 Dec 2009 09:17:13 +0000 (09:17 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 8 Dec 2009 10:02:15 +0000 (10:02 +0000)
commita39d900a3e4c829bfef6096f1219b29798d5a8ae
tree0b5e69d0ad7a6da667b752ffd727781c875cccff
parent00318a7537d6f7510bb7967bcb4d4615bb8b6473
intel-iommu: Detect DMAR in hyperspace at probe time.

Many BIOSes will lie to us about the existence of an IOMMU, and claim
that there is one at an address which actually returns all 0xFF.

We need to detect this early, so that we know we don't have a viable
IOMMU and can set up swiotlb before it's too late.

Cc: stable@kernel.org
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/dmar.c