aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/intel-iommu.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2009-03-16 20:04:55 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2009-03-17 18:38:59 -0400
commit9d783ba042771284fb4ee5013c3d94220755ae7f (patch)
tree102ec9f89d363589108ae35e4b38c12fc6e2765c /drivers/pci/intel-iommu.c
parent0ac2491f57af5644f88383d28809760902d6f4d7 (diff)
x86, x2apic: enable fault handling for intr-remapping
Impact: interface augmentation (not yet used) Enable fault handling flow for intr-remapping aswell. Fault handling code now shared by both dma-remapping and intr-remapping. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r--drivers/pci/intel-iommu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
index 4a4ab651b709..25fc1df486bb 100644
--- a/drivers/pci/intel-iommu.c
+++ b/drivers/pci/intel-iommu.c
@@ -1799,7 +1799,7 @@ static int __init init_dmars(void)
1799 struct dmar_rmrr_unit *rmrr; 1799 struct dmar_rmrr_unit *rmrr;
1800 struct pci_dev *pdev; 1800 struct pci_dev *pdev;
1801 struct intel_iommu *iommu; 1801 struct intel_iommu *iommu;
1802 int i, ret, unit = 0; 1802 int i, ret;
1803 1803
1804 /* 1804 /*
1805 * for each drhd 1805 * for each drhd
@@ -1921,7 +1921,6 @@ static int __init init_dmars(void)
1921 if (drhd->ignored) 1921 if (drhd->ignored)
1922 continue; 1922 continue;
1923 iommu = drhd->iommu; 1923 iommu = drhd->iommu;
1924 sprintf (iommu->name, "dmar%d", unit++);
1925 1924
1926 iommu_flush_write_buffer(iommu); 1925 iommu_flush_write_buffer(iommu);
1927 1926