Commit 3177bb76 authored by Joerg Roedel's avatar Joerg Roedel

iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute

Implement the attribute for the Samsung Exynos IOMMU driver.
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 23349902
...@@ -732,6 +732,10 @@ static int exynos_iommu_domain_init(struct iommu_domain *domain) ...@@ -732,6 +732,10 @@ static int exynos_iommu_domain_init(struct iommu_domain *domain)
spin_lock_init(&priv->pgtablelock); spin_lock_init(&priv->pgtablelock);
INIT_LIST_HEAD(&priv->clients); INIT_LIST_HEAD(&priv->clients);
dom->geometry.aperture_start = 0;
dom->geometry.aperture_end = ~0UL;
dom->geometry.force_aperture = true;
domain->priv = priv; domain->priv = priv;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment