summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-09-22 07:43:54 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-28 08:06:50 (GMT)
commit0ee2d166a93fb0bcda9938a003b921a6cccef01e (patch)
tree4196e6df91a148e1ea10eeee2cdb47d4e80fb905 /Documentation
parent6930efadfd76cf2e55d25b4749b2e64e3b6b479b (diff)
downloadlinux-0ee2d166a93fb0bcda9938a003b921a6cccef01e.tar.xz
iommu: Allow default domain type to be set on the kernel command line
commit fccb4e3b8ab0957628abec82675691c72f67003e [bindings can't be applied] 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> Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions