]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Use iommu_should_identity_map() at startup time too.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 17:24:27 +0000 (18:24 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Jul 2009 18:19:08 +0000 (19:19 +0100)
commit02e80c0f121f3e3fd729f58fae42e8cc5cd126d7
tree6b25279e2ab1c2c6062982dcb04bdbddf1eed7d2
parent64620abad108b8a8c0cc53804472d709ac75f316
intel-iommu: Use iommu_should_identity_map() at startup time too.

At boot time, the dma_mask won't have been set on any devices, so we
assume that all devices will be 64-bit capable (and thus get a 1:1 map).

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