iommu/arm-smmu: Set domain geometry
authorRobin Murphy <robin.murphy@arm.com>
Mon, 12 Sep 2016 16:13:58 +0000 (17:13 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 16 Sep 2016 08:34:22 +0000 (09:34 +0100)
commit455eb7d34ad11b09490f70c33973f9f3e31c4df6
treee4c576989dc67dccd3bbfa60885ae8aa8db198e4
parent021bb8420d44cf56102d44fca9af628625e75482
iommu/arm-smmu: Set domain geometry

For non-aperture-based IOMMUs, the domain geometry seems to have become
the de-facto way of indicating the input address space size. That is
quite a useful thing from the users' perspective, so let's do the same.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c