iommu: Fix trace_unmap() to report original iova
authorShuah Khan <shuahkh@osg.samsung.com>
Fri, 16 Jan 2015 23:47:19 +0000 (16:47 -0700)
committerJoerg Roedel <jroedel@suse.de>
Mon, 19 Jan 2015 14:19:31 +0000 (15:19 +0100)
commit6fd492fd746d9858a41dc85eef44bd627b809109
tree0010c12f0fb4ce2d4b402b9dc6dfa1d0e9dadbef
parent0fb5fe874c42942e16c450ae05da453e13a1c09e
iommu: Fix trace_unmap() to report original iova

iommu_unmap() calls trace_unmap() with changed iova and original
size. trace_unmap() should report original iova instead. Change
iommu_unmap() to call trace_unmap() with original iova.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Reported-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c