Re: [PATCH] iommu: fix trace_unmap() to report original iova

2015-01-19 Thread Joerg Roedel
On Mon, Jan 19, 2015 at 03:04:00PM +0100, Joerg Roedel wrote: > Instead of adding another variable I think it is better to just move the > trace_unmap call before the unmap loop. It can actually replace the > pr_debug there. Okay, forget this. I just noticed that your follow-on patch requires the

Re: [PATCH] iommu: fix trace_unmap() to report original iova

2015-01-19 Thread Joerg Roedel
On Fri, Jan 16, 2015 at 04:47:19PM -0700, Shuah Khan wrote: > 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 > Reported-by: A

[PATCH] iommu: fix trace_unmap() to report original iova

2015-01-16 Thread Shuah Khan
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 Reported-by: Alex Williamson --- drivers/iommu/iommu.c | 3 ++- 1 file changed, 2 in