projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42391c
)
iommu/tegra: Setup aperture
author
Thierry Reding
<treding@nvidia.com>
Fri, 27 Mar 2015 10:07:25 +0000
(11:07 +0100)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 31 Mar 2015 14:34:12 +0000
(16:34 +0200)
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>
drivers/iommu/tegra-smmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/tegra-smmu.c
b/drivers/iommu/tegra-smmu.c
index 6e134c7c227fced6a0c186f3e403fc6d9e1d49f7..d8418b54619e74d182498025cadede76961a8efc 100644
(file)
--- 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;
}