iommu/tegra: smmu: modify iova_to_phys debugfs
authorSri Krishna chowdary <schowdary@nvidia.com>
Thu, 21 May 2015 18:46:57 +0000 (23:46 +0530)
committerKrishna Reddy <vdumpa@nvidia.com>
Thu, 4 Jun 2015 16:47:01 +0000 (09:47 -0700)
commit58a38311a166d128f78c5b2916b699c2a0236753
tree9fd8d71364b510dbd37381812799314e44df7abf
parent0c90bcef04b57e29ae0500de318a3551a53b270e
iommu/tegra: smmu: modify iova_to_phys debugfs

1. Avoid dumping pages when physical address is not valid.
2. Do not dump physical page from iova_to_phys debugfs, instead use
newly created iovadump debugfs.
3. By default, dump physical page to seq_file as this new iovadump debugfs
is meant to do the same.

Bug 200106873

Change-Id: Ia5884f4be551599de5e845dc1be0e630dad8e829
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/745544
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
drivers/iommu/tegra-smmu.c