aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/intel-iommu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index ef5795d0396b..f3eebd2b2d72 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -1947,6 +1947,15 @@ static int __init init_dmars(void)
1947 } 1947 }
1948 } 1948 }
1949 1949
1950#ifdef CONFIG_INTR_REMAP
1951 if (!intr_remapping_enabled) {
1952 ret = enable_intr_remapping(0);
1953 if (ret)
1954 printk(KERN_ERR
1955 "IOMMU: enable interrupt remapping failed\n");
1956 }
1957#endif
1958
1950 /* 1959 /*
1951 * For each rmrr 1960 * For each rmrr
1952 * for each dev attached to rmrr 1961 * for each dev attached to rmrr