iommu/arm-smmu: Use per-domain page sizes.
authorRobin Murphy <robin.murphy@arm.com>
Mon, 9 May 2016 16:20:09 +0000 (17:20 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 9 May 2016 17:38:39 +0000 (19:38 +0200)
commitd546635731317a5f8923b1045d0f4403e8024a7d
tree9bc9478a80b2c124cd2ef47d441ecf2349471596
parent3b6b7e19e31a816ee02a8d4372cbea9ad7db3784
iommu/arm-smmu: Use per-domain page sizes.

Now that we can accurately reflect the context format we choose for each
domain, do that instead of imposing the global lowest-common-denominator
restriction and potentially ending up with nothing. We currently have a
strict 1:1 correspondence between domains and context banks, so we don't
need to entertain the possibility of multiple formats _within_ a domain.

Signed-off-by: Will Deacon <will.deacon@arm.com>
[rm: split from original patch, added SMMUv3]
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c