mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
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: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
1d4a433fc4
commit
80286879c2
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue