提交 7304e8f2 编写于 作者: S Shaohua Li 提交者: Joerg Roedel

iommu/vt-d: Correctly disable Intel IOMMU force on

I made a mistake in commit bfd20f1c. We should skip the force on with the
option enabled instead of vice versa. Not sure why this passed our
performance test, sorry.

Fixes: bfd20f1c ('x86, iommu/vt-d: Add an option to disable Intel IOMMU force on')
Signed-off-by: NShaohua Li <shli@fb.com>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 32c1431e
......@@ -514,7 +514,7 @@ int tboot_force_iommu(void)
if (!tboot_enabled())
return 0;
if (!intel_iommu_tboot_noforce)
if (intel_iommu_tboot_noforce)
return 1;
if (no_iommu || swiotlb || dmar_disabled)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册