]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Don't set identity mapping for bypassed graphics devices
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 09:40:38 +0000 (10:40 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 09:40:44 +0000 (10:40 +0100)
commita0f029f9d1fb0a54abf41df641e4ecd1712f7d41
tree5f7c9aa7801c59f88dacdcae3c6722c5d9149ebf
parente4a2aac2b6498942c67ca4331d625785312af92b
intel-iommu: Don't set identity mapping for bypassed graphics devices

We should check iommu_dummy() _first_, because that means it's attached
to an iommu that we've just disabled completely. At the moment, we might
try to put the device into the identity mapping domain.

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