diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-07-11 06:41:10 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-07-11 06:41:10 -0400 |
commit | 3177bb76a8c510cbc737425a74e777a9aa253065 (patch) | |
tree | daa3a845f678cf8205585b9af154c83b51fdb4e2 /drivers/iommu | |
parent | 23349902edec4d3d932bca1bb99261477139a36a (diff) |
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>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/exynos-iommu.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
732 | spin_lock_init(&priv->pgtablelock); | 732 | spin_lock_init(&priv->pgtablelock); |
733 | INIT_LIST_HEAD(&priv->clients); | 733 | INIT_LIST_HEAD(&priv->clients); |
734 | 734 | ||
735 | dom->geometry.aperture_start = 0; | ||
736 | dom->geometry.aperture_end = ~0UL; | ||
737 | dom->geometry.force_aperture = true; | ||
738 | |||
735 | domain->priv = priv; | 739 | domain->priv = priv; |
736 | return 0; | 740 | return 0; |
737 | 741 | ||