From 471d9144b4ec2a2cbf497af7e186c1fe89b5150e Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Fri, 27 Mar 2015 11:07:25 +0100 Subject: iommu/tegra: Setup aperture Each address space in the Tegra SMMU provides 4 GiB worth of addresses. Cc: Hiroshi Doyu Signed-off-by: Thierry Reding Signed-off-by: Joerg Roedel --- drivers/iommu/tegra-smmu.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/iommu') 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) domain->priv = as; + /* setup aperture */ + domain->geometry.aperture_start = 0; + domain->geometry.aperture_end = 0xffffffff; + domain->geometry.force_aperture = true; + return 0; } -- cgit v1.2.3