From: Joerg Roedel Date: Wed, 11 Jul 2012 10:41:10 +0000 (+0200) Subject: iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute X-Git-Tag: firefly_0821_release~3680^2~2367^2^6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3177bb76a8;p=firefly-linux-kernel-4.4.55.git iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute Implement the attribute for the Samsung Exynos IOMMU driver. Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 9a114b9ff170..5c40937e9988 100644 --- 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;