Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 471d9144 authored by Thierry Reding's avatar Thierry Reding Committed by Joerg Roedel
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent e42391cd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;
}