From: Thierry Reding <[email protected]>

Each address space in the Tegra SMMU provides 4 GiB worth of addresses.

Cc: Hiroshi Doyu <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
---
 drivers/iommu/tegra-smmu.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index fff45b3d3e57..7b36760ae087 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -269,6 +269,11 @@ static int tegra_smmu_domain_init(struct iommu_domain 
*domain)
 
        domain->priv = as;
 
+       /* setup aperture */
+       domain->geometry.aperture_start = 0;
+       domain->geometry.aperture_end = 0xffffffff;
+       domain->geometry.force_aperture = true;
+
        return 0;
 }
 
-- 
2.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to