projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2334990
)
iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute
author
Joerg Roedel
<joerg.roedel@amd.com>
Wed, 11 Jul 2012 10:41:10 +0000
(12:41 +0200)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Wed, 11 Jul 2012 10:41:10 +0000
(12:41 +0200)
Implement the attribute for the Samsung Exynos IOMMU driver.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/exynos-iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/exynos-iommu.c
b/drivers/iommu/exynos-iommu.c
index 9a114b9ff1704f60278a5c94dd6b55a411adfa4d..5c40937e99887a4f1ca28c3ee717678b645bf752 100644
(file)
--- a/
drivers/iommu/exynos-iommu.c
+++ b/
drivers/iommu/exynos-iommu.c
@@
-732,6
+732,10
@@
static int exynos_iommu_domain_init(struct iommu_domain *domain)
spin_lock_init(&priv->pgtablelock);
INIT_LIST_HEAD(&priv->clients);
+ dom->geometry.aperture_start = 0;
+ dom->geometry.aperture_end = ~0UL;
+ dom->geometry.force_aperture = true;
+
domain->priv = priv;
return 0;