Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7304e8f2 authored by Shaohua Li's avatar Shaohua Li Committed by Joerg Roedel
Browse files

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: default avatarShaohua Li <shli@fb.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 32c1431e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)