iommu/arm-smmu: Treat IOMMU_DOMAIN_DMA as bypass for now
authorWill Deacon <will.deacon@arm.com>
Thu, 18 Feb 2016 12:05:57 +0000 (12:05 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 18 Feb 2016 15:02:44 +0000 (15:02 +0000)
commitcbf8277ef4562075eb4e3932ccd60cc11ee9454c
tree87ad12c98e3264e58b7ad62c972ed8a5e8e1c068
parentbc7f2ce0a7b54ba7703f81995fe434f0926424d2
iommu/arm-smmu: Treat IOMMU_DOMAIN_DMA as bypass for now

Until all upstream devices have their DMA ops swizzled to point at the
SMMU, we need to treat the IOMMU_DOMAIN_DMA domain as bypass to avoid
putting devices into an empty address space when detaching from VFIO.

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