]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a405800fa91e9c81fa07296ce62a3debabc1f8e
tree87ad12c98e3264e58b7ad62c972ed8a5e8e1c068
parentc97421c37338fe63d1e4bdfae264aea86583a3f1
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