[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A47DC7D.6020609@kernel.org>
Date: Sun, 28 Jun 2009 14:11:25 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Suresh Siddha <suresh.b.siddha@...el.com>,
David Woodhouse <David.Woodhouse@...el.com>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
Ingo Molnar <mingo@...e.hu>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-pci@...r.kernel.org
Subject: [PATCH] pci/dmar: don't complain IOPAIC is not supported
INTR_REMAP handle that type
[Impact: cleanup]
Signed-off-by: Yinghai Lu <yinghai@...nel.org>
---
drivers/pci/dmar.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Index: linux-2.6/drivers/pci/dmar.c
===================================================================
--- linux-2.6.orig/drivers/pci/dmar.c
+++ linux-2.6/drivers/pci/dmar.c
@@ -129,9 +129,13 @@ static int __init dmar_parse_dev_scope(v
if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT ||
scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE)
(*cnt)++;
- else
- printk(KERN_WARNING PREFIX
- "Unsupported device scope\n");
+ else {
+#ifdef CONFIG_INTR_REMAP
+ if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC)
+#endif
+ printk(KERN_WARNING PREFIX
+ "Unsupported device scope\n");
+ }
start += scope->length;
}
if (*cnt == 0)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists