aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/dmar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r--drivers/pci/dmar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 0a19708074c2..a286959db67e 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -1414,6 +1414,11 @@ int __init enable_drhd_fault_handling(void)
1414 (unsigned long long)drhd->reg_base_addr, ret); 1414 (unsigned long long)drhd->reg_base_addr, ret);
1415 return -1; 1415 return -1;
1416 } 1416 }
1417
1418 /*
1419 * Clear any previous faults.
1420 */
1421 dmar_fault(iommu->irq, iommu);
1417 } 1422 }
1418 1423
1419 return 0; 1424 return 0;