提交 471d9144 编写于 作者: T Thierry Reding 提交者: Joerg Roedel

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: NThierry Reding <treding@nvidia.com>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 e42391cd
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册