]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu: Fix second argument of trace_map() to report correct paddr
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 10 Feb 2016 01:18:04 +0000 (10:18 +0900)
committerJoerg Roedel <jroedel@suse.de>
Thu, 25 Feb 2016 13:57:22 +0000 (14:57 +0100)
commit06bfcaa91f0eff1aeab37c74056afa79fb450aea
treedb4123eb959aa17f5cdf5bccf0df590f88c33f9a
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a
iommu: Fix second argument of trace_map() to report correct paddr

Since iommu_map() code added pgsize value to the paddr, trace_map()
used wrong paddr. So, this patch adds "orig_paddr" value in the
iommu_map() to use for the trace_map().

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c