aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/amd_iommu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 7c3a95e54ec..cc6f6da630e 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -1798,7 +1798,6 @@ static int device_change_notifier(struct notifier_block *nb,
1798 goto out; 1798 goto out;
1799 } 1799 }
1800 1800
1801 device_flush_dte(dev);
1802 iommu_completion_wait(iommu); 1801 iommu_completion_wait(iommu);
1803 1802
1804out: 1803out:
@@ -2605,7 +2604,6 @@ static void amd_iommu_detach_device(struct iommu_domain *dom,
2605 if (!iommu) 2604 if (!iommu)
2606 return; 2605 return;
2607 2606
2608 device_flush_dte(dev);
2609 iommu_completion_wait(iommu); 2607 iommu_completion_wait(iommu);
2610} 2608}
2611 2609