Skip to content

Commit

Permalink
iommu/tegra: Setup aperture
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thierry Reding authored and Joerg Roedel committed Mar 31, 2015
1 parent e42391c commit 471d914
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/iommu/tegra-smmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 471d914

Please sign in to comment.