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.
iommu=pt和iommu.passthrough=1是一样的。
linux对iommu=pt内核命令行参数解析的流程
arch/x86/kernel/pci-dma.c:189:ear
订阅专栏 解锁全文
208




被折叠的 条评论
为什么被折叠?



