mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
iommu/vt-d: Request passthrough mode from IOMMU core
Get rid of the iommu_pass_through variable and request passthrough mode via the new iommu core function. Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
cc7c8ad973
commit
6b9a7d3a46
@ -3267,7 +3267,7 @@ static int __init init_dmars(void)
|
||||
iommu->flush.flush_iotlb(iommu, 0, 0, 0, DMA_TLB_GLOBAL_FLUSH);
|
||||
}
|
||||
|
||||
if (iommu_pass_through)
|
||||
if (iommu_default_passthrough())
|
||||
iommu_identity_mapping |= IDENTMAP_ALL;
|
||||
|
||||
#ifdef CONFIG_INTEL_IOMMU_BROKEN_GFX_WA
|
||||
|
Loading…
Reference in New Issue
Block a user