aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/intel-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index d3edd6aa82ce..d6f4ee50924c 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -1429,7 +1429,7 @@ static int domain_context_mapping_one(struct dmar_domain *domain, int segment,
1429 domain_flush_cache(domain, context, sizeof(*context)); 1429 domain_flush_cache(domain, context, sizeof(*context));
1430 1430
1431 /* it's a non-present to present mapping */ 1431 /* it's a non-present to present mapping */
1432 if (iommu->flush.flush_context(iommu, domain->id, 1432 if (iommu->flush.flush_context(iommu, id,
1433 (((u16)bus) << 8) | devfn, DMA_CCMD_MASK_NOBIT, 1433 (((u16)bus) << 8) | devfn, DMA_CCMD_MASK_NOBIT,
1434 DMA_CCMD_DEVICE_INVL, 1)) 1434 DMA_CCMD_DEVICE_INVL, 1))
1435 iommu_flush_write_buffer(iommu); 1435 iommu_flush_write_buffer(iommu);