diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-08-19 09:22:50 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-08-23 04:09:58 -0400 |
commit | 6b9a7d3a466fffc97c4b133852d3dd7905510dd6 (patch) | |
tree | e1d96d2ba12465f4e164d0c083c95b39ce9f6931 /drivers/iommu/intel-iommu.c | |
parent | cc7c8ad9736b5db994b84cbb1347972d28852d3b (diff) |
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>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index d6003b391e2c..587337534b76 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c | |||
@@ -3267,7 +3267,7 @@ static int __init init_dmars(void) | |||
3267 | iommu->flush.flush_iotlb(iommu, 0, 0, 0, DMA_TLB_GLOBAL_FLUSH); | 3267 | iommu->flush.flush_iotlb(iommu, 0, 0, 0, DMA_TLB_GLOBAL_FLUSH); |
3268 | } | 3268 | } |
3269 | 3269 | ||
3270 | if (iommu_pass_through) | 3270 | if (iommu_default_passthrough()) |
3271 | iommu_identity_mapping |= IDENTMAP_ALL; | 3271 | iommu_identity_mapping |= IDENTMAP_ALL; |
3272 | 3272 | ||
3273 | #ifdef CONFIG_INTEL_IOMMU_BROKEN_GFX_WA | 3273 | #ifdef CONFIG_INTEL_IOMMU_BROKEN_GFX_WA |