iommu/tegra-smmu: Store struct page pointer for page tables
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 27 Jul 2015 12:29:26 +0000 (13:29 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 14:06:39 +0000 (16:06 +0200)
commit853520fa96511e4a49942d2cba34a329528c7e41
treeb34b8dce2abde0c9ef555f509148ffa8c5708da2
parent0b42c7c1132f331fba263f0d2ca23544770584b7
iommu/tegra-smmu: Store struct page pointer for page tables

Store the struct page pointer for the second level page tables, rather
than working back from the page directory entry.  This is necessary as
we want to eliminate the use of physical addresses used with
arch-private functions, switching instead to use the streaming DMA API.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/iommu/tegra-smmu.c