iommu/tegra-smmu: Respect IOMMU API read-write protections
authorDmitry Osipenko <digetx@gmail.com>
Wed, 6 Mar 2019 22:50:09 +0000 (01:50 +0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 11 Apr 2019 12:51:37 +0000 (14:51 +0200)
commit43d957b1334670a9b232f9a4a027d51e05155c83
treef68c419cc7ea3403100afe641bee0a3cab2afbfa
parent4f97031ff8605c1e8388a650bc5708ceda4357d5
iommu/tegra-smmu: Respect IOMMU API read-write protections

Set PTE read/write attributes accordingly to the the protections requested
by IOMMU API.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/tegra-smmu.c