iommu/vt-d: correct flush_unmaps pfn usage
authorOmer Peleg <omer@cs.technion.ac.il>
Wed, 20 Apr 2016 08:33:11 +0000 (11:33 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 20 Apr 2016 19:05:56 +0000 (15:05 -0400)
commitf5c0c08b1e0976cb493d503108f1b897ce58bc5d
treed2d9246fabfaddc9ba5de2b978c84c7dafe77512
parentaa4732406e1290dd18a8d2078977996c152a4be7
iommu/vt-d: correct flush_unmaps pfn usage

Change flush_unmaps() to correctly pass iommu_flush_iotlb_psi()
dma addresses.  (x86_64 mm and dma have the same size for pages
at the moment, but this usage improves consistency.)

Signed-off-by: Omer Peleg <omer@cs.technion.ac.il>
[mad@cs.technion.ac.il: rebased and reworded the commit message]
Signed-off-by: Adam Morrison <mad@cs.technion.ac.il>
Reviewed-by: Shaohua Li <shli@fb.com>
Reviewed-by: Ben Serebrin <serebrin@google.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c