From: Yinghai Lu <yinghai@kernel.org>
To: Suresh Siddha <suresh.b.siddha@intel.com>,
David Woodhouse <David.Woodhouse@intel.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
Ingo Molnar <mingo@elte.hu>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux-pci@vger.kernel.org
Subject: [PATCH] pci/dmar: don't complain IOPAIC is not supported
Date: Sun, 28 Jun 2009 14:11:25 -0700 [thread overview]
Message-ID: <4A47DC7D.6020609@kernel.org> (raw)
In-Reply-To: <4A47DBD5.6070307@kernel.org>
INTR_REMAP handle that type
[Impact: cleanup]
Signed-off-by: Yinghai Lu <yinghai@kernel.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)
next prev parent reply other threads:[~2009-06-28 21:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-28 21:08 [PATCH] pci/dmar: remove the noisy print out about unmapping Yinghai Lu
2009-06-28 21:11 ` Yinghai Lu [this message]
2009-06-28 21:12 ` [PATCH] pci/dmar: print out iommu seq_id Yinghai Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A47DC7D.6020609@kernel.org \
--to=yinghai@kernel.org \
--cc=David.Woodhouse@intel.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=suresh.b.siddha@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox