]> 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)
commit3365991022f659ac7dbe057270e48dfeed23a36a
tree87ad12c98e3264e58b7ad62c972ed8a5e8e1c068
parent0a8086a2c13c415334f8ddd1d32fd1bdf2ae6946
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