iommu/arm-smmu: Support DMA-API domains
authorRobin Murphy <robin.murphy@arm.com>
Tue, 26 Jan 2016 18:06:36 +0000 (18:06 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 18 Feb 2016 15:02:43 +0000 (15:02 +0000)
commit9adb95949a343dac53b1cd81dc973b5f815c88d4
tree88854134d48d0056bcb7a054fb060d616fd6196a
parentd346180e70b91b3d5a1ae7e5603e65593d4622bc
iommu/arm-smmu: Support DMA-API domains

With DMA mapping ops provided by the iommu-dma code, only a minimal
contribution from the IOMMU driver is needed to create a suitable
DMA-API domain for them to use. Implement this for the ARM SMMUs.

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