Skip to content

Commit 7304e8f

Browse files
shligitjoergroedel
authored andcommitted
iommu/vt-d: Correctly disable Intel IOMMU force on
I made a mistake in commit bfd20f1. We should skip the force on with the option enabled instead of vice versa. Not sure why this passed our performance test, sorry. Fixes: bfd20f1 ('x86, iommu/vt-d: Add an option to disable Intel IOMMU force on') Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 32c1431 commit 7304e8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/kernel/tboot.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ int tboot_force_iommu(void)
514514
if (!tboot_enabled())
515515
return 0;
516516

517-
if (!intel_iommu_tboot_noforce)
517+
if (intel_iommu_tboot_noforce)
518518
return 1;
519519

520520
if (no_iommu || swiotlb || dmar_disabled)

0 commit comments

Comments
 (0)