Skip to content

Commit

Permalink
iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute
Browse files Browse the repository at this point in the history
Implement the attribute for the Samsung Exynos IOMMU driver.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Joerg Roedel committed Jul 11, 2012
1 parent 2334990 commit 3177bb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/iommu/exynos-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3177bb7

Please sign in to comment.