iommu/arm-smmu: Support non-strict mode
authorRobin Murphy <robin.murphy@arm.com>
Thu, 20 Sep 2018 16:10:27 +0000 (17:10 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 1 Oct 2018 12:01:34 +0000 (13:01 +0100)
commit44f6876a00e83df5fd28681502b19b0f51e4a3c6
treec01fa0948efa7a79ff2d1c25e158966a020206a0
parentb2dfeba654cb08db327d0ed4547b66c2f8fce997
iommu/arm-smmu: Support non-strict mode

All we need is to wire up .flush_iotlb_all properly and implement the
domain attribute, and iommu-dma and io-pgtable will do the rest for us.
The only real subtlety is documenting the barrier semantics we're
introducing between io-pgtable and the drivers for non-strict flushes.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c