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

Commit 80286879 authored by Alex Williamson's avatar Alex Williamson Committed by Jesse Barnes
Browse files

PCI iommu: iommu=pt is a valid early param



This avoids a "Malformed early option 'iommu'" on boot when trying
to use pass-through mode.

Signed-off-by: default avatarAlex Williamson <alex.williamson@hp.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 1d4a433f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -212,10 +212,8 @@ static __init int iommu_setup(char *p)
		if (!strncmp(p, "soft", 4))
			swiotlb = 1;
#endif
		if (!strncmp(p, "pt", 2)) {
		if (!strncmp(p, "pt", 2))
			iommu_pass_through = 1;
			return 1;
		}

		gart_parse_options(p);