diff options
Diffstat (limited to 'drivers/pci/intr_remapping.c')
-rw-r--r-- | drivers/pci/intr_remapping.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c index ef25caade54b..472be1c3fff0 100644 --- a/drivers/pci/intr_remapping.c +++ b/drivers/pci/intr_remapping.c | |||
@@ -524,6 +524,13 @@ int __init enable_intr_remapping(int eim) | |||
524 | struct intel_iommu *iommu = drhd->iommu; | 524 | struct intel_iommu *iommu = drhd->iommu; |
525 | 525 | ||
526 | /* | 526 | /* |
527 | * If the queued invalidation is already initialized, | ||
528 | * shouldn't disable it. | ||
529 | */ | ||
530 | if (iommu->qi) | ||
531 | continue; | ||
532 | |||
533 | /* | ||
527 | * Clear previous faults. | 534 | * Clear previous faults. |
528 | */ | 535 | */ |
529 | dmar_fault(-1, iommu); | 536 | dmar_fault(-1, iommu); |