1
0
Fork 0

iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute

Implement the attribute for the Samsung Exynos IOMMU driver.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
hifive-unleashed-5.1
Joerg Roedel 2012-07-11 12:41:10 +02:00
parent 23349902ed
commit 3177bb76a8
1 changed files with 4 additions and 0 deletions

View File

@ -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;