]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
iommu/tegra: smmu: print queried page contents in iova_to_phys
authorSri Krishna chowdary <schowdary@nvidia.com>
Wed, 4 Feb 2015 10:36:19 +0000 (16:06 +0530)
committerSri Krishna Chowdary <schowdary@nvidia.com>
Wed, 11 Feb 2015 03:54:48 +0000 (19:54 -0800)
commit3caca0327d1f787f1d85e5407b9f1f0704b40c75
tree27805139f58ba564d3daacab289f44941fb460c6
parent130ebd82301503b27df23c0f2b5ab4e6efb3ce76
iommu/tegra: smmu: print queried page contents in iova_to_phys

sample output on cat:

$ cat /d/70019000.iommu/as000/iova_to_phys
iova=0x0000000080047000 pa=0x0000000139431000 bytes=1000 npte=251

0x0000000139431000: 0x80043400 0x00000000 0x00000040 0x00000000
0x0000000139431010: 0x00000000 0x00000000 0x00000000 0x00000000
.
.
0x0000000139431ff0: 0x00000000 0x00000000 0x00000000 0x00000000

Bug 200068466

Change-Id: Idf33a9dd8c42e89c3b223733c389e7f8bae8ca7e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/681151
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/iommu/tegra-smmu.c