aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-03-27 06:07:25 -0400
committerJoerg Roedel <jroedel@suse.de>2015-03-31 10:34:12 -0400
commit471d9144b4ec2a2cbf497af7e186c1fe89b5150e (patch)
tree3490b8bc57b5e77b4eb7189b42206e481655b3ca
parente42391cd048809d903291d07f86ed3934ce138e9 (diff)
iommu/tegra: Setup aperture
Each address space in the Tegra SMMU provides 4 GiB worth of addresses. Cc: Hiroshi Doyu <hdoyu@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--drivers/iommu/tegra-smmu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index 6e134c7c227f..d8418b54619e 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -266,6 +266,11 @@ static int tegra_smmu_domain_init(struct iommu_domain *domain)
266 266
267 domain->priv = as; 267 domain->priv = as;
268 268
269 /* setup aperture */
270 domain->geometry.aperture_start = 0;
271 domain->geometry.aperture_end = 0xffffffff;
272 domain->geometry.force_aperture = true;
273
269 return 0; 274 return 0;
270} 275}
271 276