[patch 05/26] x64, x2apic/intr-remap: Fix the need for RMRR in the DMA-remapping detection

From: Suresh Siddha
Date: Thu Jul 10 2008 - 14:47:35 EST


Presence of RMRR structures is not compulsory for enabling DMA-remapping.

Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
Signed-off-by: Yong Y Wang <yong.y.wang@xxxxxxxxx>
---

Index: tree-x86/drivers/pci/dmar.c
===================================================================
--- tree-x86.orig/drivers/pci/dmar.c 2008-07-10 09:51:53.000000000 -0700
+++ tree-x86/drivers/pci/dmar.c 2008-07-10 09:51:55.000000000 -0700
@@ -419,10 +419,8 @@
}

#ifdef CONFIG_DMAR
- if (list_empty(&dmar_rmrr_units)) {
+ if (list_empty(&dmar_rmrr_units))
printk(KERN_INFO PREFIX "No RMRR found\n");
- return -ENODEV;
- }
#endif

return 0;

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/