当前位置:   article > 正文

iommu=pt内核参数解析

iommu=pt

PassthroughConfigname: CONFIG_IOMMU_DEFAULT_PASSTHROUGH default domain type
L->Passthrough
In linux kernel since version 3.10 (release Date:2013-06-30)
Trusted devices are identity-mapped, giving them unrestricted accessto memory with minimal performance overhead. Equivalent to passing"iommu.passthrough=1" (historically “iommu=pt”) on the command line.
If this mode is not supported by the lOMMU driver, the effectiveruntime default will fall back tO IOMMU DEFAULT DMA STRICT

./drivers/iommu/Kconfig:140:	  "iommu.passthrough=1" (historically "iommu=pt") on the command line.
  • 1

iommu=ptiommu.passthrough=1是一样的。

linux对iommu=pt内核命令行参数解析的流程

arch/x86/kernel/pci-dma.c:189:early_param(“iommu”, iommu_setup);

176                 if (!strncmp(p, "pt", 2))
177                         iommu_set_
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/541968
推荐阅读
相关标签
  

闽ICP备14008679号