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)
commit6941af2810c6fc970b88f7c0d52ba4e286acbee5
tree6b25279e2ab1c2c6062982dcb04bdbddf1eed7d2
parent736768325efcbee7b0861d62670d01a54c2d158b
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