From patchwork Sun Sep 27 07:08:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinghai Lu X-Patchwork-Id: 50292 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8R78eKK019654 for ; Sun, 27 Sep 2009 07:08:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbZI0HIf (ORCPT ); Sun, 27 Sep 2009 03:08:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753284AbZI0HIf (ORCPT ); Sun, 27 Sep 2009 03:08:35 -0400 Received: from hera.kernel.org ([140.211.167.34]:36445 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078AbZI0HIe (ORCPT ); Sun, 27 Sep 2009 03:08:34 -0400 Received: from [192.168.101.10] (adsl-75-36-250-135.dsl.pltn13.sbcglobal.net [75.36.250.135]) (authenticated bits=0) by hera.kernel.org (8.14.2/8.13.8) with ESMTP id n8R78WW5004735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Sep 2009 07:08:33 GMT Message-ID: <4ABF0F69.1030609@kernel.org> Date: Sun, 27 Sep 2009 00:08:25 -0700 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Jesse Barnes CC: "linux-pci@vger.kernel.org" , Ingo Molnar Subject: [PATCH] pci/dmar: don't complain IOPAIC is not supported X-Virus-Scanned: ClamAV 0.93.3/9841/Sun Sep 27 02:04:45 2009 on hera.kernel.org X-Virus-Status: Clean Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org INTR_REMAP handle that type [Impact: cleanup] Signed-off-by: Yinghai Lu --- drivers/pci/dmar.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6/drivers/pci/dmar.c =================================================================== --- linux-2.6.orig/drivers/pci/dmar.c +++ linux-2.6/drivers/pci/dmar.c @@ -130,9 +130,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)