diff options
author | Thierry Reding <treding@nvidia.com> | 2015-03-27 11:07:25 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-03-31 16:34:12 +0200 |
commit | 471d9144b4ec2a2cbf497af7e186c1fe89b5150e (patch) | |
tree | 3490b8bc57b5e77b4eb7189b42206e481655b3ca /drivers/iommu/tegra-smmu.c | |
parent | e42391cd048809d903291d07f86ed3934ce138e9 (diff) | |
download | blackbird-op-linux-471d9144b4ec2a2cbf497af7e186c1fe89b5150e.tar.gz blackbird-op-linux-471d9144b4ec2a2cbf497af7e186c1fe89b5150e.zip |
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>
Diffstat (limited to 'drivers/iommu/tegra-smmu.c')
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 5 |
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) domain->priv = as; + /* setup aperture */ + domain->geometry.aperture_start = 0; + domain->geometry.aperture_end = 0xffffffff; + domain->geometry.force_aperture = true; + return 0; } |