]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Check for an RMRR which ends before it starts.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 2 Dec 2009 09:21:55 +0000 (09:21 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 8 Dec 2009 10:02:52 +0000 (10:02 +0000)
commitf8501da5a1b1ca59253e7e55de891e962e1d49fe
treeaa6c04a00e90eb7ac91e24aa295fc2022de4161d
parentba7532de16cefdd4a86ac1e194b9b3ec22a53911
intel-iommu: Check for an RMRR which ends before it starts.

Some HP BIOSes report an RMRR region (a region which needs a 1:1 mapping
in the IOMMU for a given device) which has an end address lower than its
start address. Detect that and warn, rather than triggering the
BUG() in dma_pte_clear_range().

Cc: stable@kernel.org
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c