aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/io-pgtable-arm.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-01-05 18:38:26 +0000
committerWill Deacon <will.deacon@arm.com>2017-04-06 16:06:44 +0100
commitfccb4e3b8ab0957628abec82675691c72f67003e (patch)
tree7671e81a6d9fce8266a49d6e397917dd317a0eab /drivers/iommu/io-pgtable-arm.c
parentiommu/arm-smmu-v3: Install bypass STEs for IOMMU_DOMAIN_IDENTITY domains (diff)
downloadlinux-dev-fccb4e3b8ab0957628abec82675691c72f67003e.tar.xz
linux-dev-fccb4e3b8ab0957628abec82675691c72f67003e.zip
iommu: Allow default domain type to be set on the kernel command line
The IOMMU core currently initialises the default domain for each group to IOMMU_DOMAIN_DMA, under the assumption that devices will use IOMMU-backed DMA ops by default. However, in some cases it is desirable for the DMA ops to bypass the IOMMU for performance reasons, reserving use of translation for subsystems such as VFIO that require it for enforcing device isolation. Rather than modify each IOMMU driver to provide different semantics for DMA domains, instead we introduce a command line parameter that can be used to change the type of the default domain. Passthrough can then be specified using "iommu.passthrough=1" on the kernel command line. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm.c')
0 files changed, 0 insertions, 0 deletions