aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r--arch/x86/kernel/amd_iommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 6c99f5037801..f95dfe526444 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -1114,6 +1114,8 @@ static void __detach_device(struct protection_domain *domain, u16 devid)
1114 amd_iommu_dev_table[devid].data[1] = 0; 1114 amd_iommu_dev_table[devid].data[1] = 0;
1115 amd_iommu_dev_table[devid].data[2] = 0; 1115 amd_iommu_dev_table[devid].data[2] = 0;
1116 1116
1117 amd_iommu_apply_erratum_63(devid);
1118
1117 /* decrease reference counter */ 1119 /* decrease reference counter */
1118 domain->dev_cnt -= 1; 1120 domain->dev_cnt -= 1;
1119 1121