mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-04 10:55:41 +07:00
intel-iommu: Make iommu=pt work on i386 too
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
f3a0a52fff
commit
3238c0c4d6
@ -211,11 +211,11 @@ static __init int iommu_setup(char *p)
|
||||
#ifdef CONFIG_SWIOTLB
|
||||
if (!strncmp(p, "soft", 4))
|
||||
swiotlb = 1;
|
||||
#endif
|
||||
if (!strncmp(p, "pt", 2)) {
|
||||
iommu_pass_through = 1;
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
gart_parse_options(p);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user