intel-iommu mistakenly uses offset_pfn when caching mode is enabled
authorNadav Amit <nadav.amit@gmail.com>
Thu, 1 Apr 2010 10:24:35 +0000 (13:24 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 9 Apr 2010 14:38:47 +0000 (15:38 +0100)
commit8bdd77dd4ef99292f3d705c4c389c12f55641133
tree8e61b8852de3ce09a9b0f352a2c9aeddc6a453b9
parenta45946abb8991e17c39326854ed1314d20742ca6
intel-iommu mistakenly uses offset_pfn when caching mode is enabled

intel_map_sg used offset_pfn which was set to zero when invalidating the IOTLB.
intel_map_sg now uses size variable for this matter.

Signed-off-by: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c