summaryrefslogtreecommitdiff
path: root/drivers/iommu/mtk_iommu.c
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2020-09-11 00:16:42 -0700
committerJoerg Roedel <jroedel@suse.de>2020-09-24 12:32:31 +0200
commit4fba98859b819961d8e1fe862b79052ff4b687b8 (patch)
tree424380625f3cdc54ea3b8ba2e4fc301e70d9de43 /drivers/iommu/mtk_iommu.c
parent82fa58e81d9edc77182aaba4110c3124481e6704 (diff)
iommu/tegra-smmu: Fix iova->phys translation
IOVA might not be always 4KB aligned. So tegra_smmu_iova_to_phys function needs to add on the lower 12-bit offset from input iova. Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200911071643.17212-3-nicoleotsuka@gmail.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/mtk_iommu.c')
0 files changed, 0 insertions, 0 deletions