Skip to content

Commit

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

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
  • Loading branch information
Joerg Roedel committed Jul 11, 2012
1 parent 8a0e715 commit 2c6edb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/iommu/omap-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,10 @@ static int omap_iommu_domain_init(struct iommu_domain *domain)

domain->priv = omap_domain;

domain->geometry.aperture_start = 0;
domain->geometry.aperture_end = (1ULL << 32) - 1;
domain->geometry.force_aperture = true;

return 0;

fail_nomem:
Expand Down

0 comments on commit 2c6edb0

Please sign in to comment.