From patchwork Thu Aug 18 19:12:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 9288539 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7255F607FD for ; Thu, 18 Aug 2016 17:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5975A292B3 for ; Thu, 18 Aug 2016 17:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E534292BC; Thu, 18 Aug 2016 17:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E70B1292AF for ; Thu, 18 Aug 2016 17:24:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6E5761A1E04; Thu, 18 Aug 2016 10:24:44 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from p3plsmtps2ded03.prod.phx3.secureserver.net (p3plsmtps2ded03.prod.phx3.secureserver.net [208.109.80.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7677E1A1E04 for ; Thu, 18 Aug 2016 10:24:42 -0700 (PDT) Received: from linuxonhyperv.com ([72.167.245.219]) by : HOSTING RELAY : with SMTP id aR2bbfFqY5pcAaR2bb7fQ9; Thu, 18 Aug 2016 10:23:41 -0700 x-originating-ip: 72.167.245.219 Received: by linuxonhyperv.com (Postfix, from userid 528) id 368511904CC; Thu, 18 Aug 2016 12:12:59 -0700 (PDT) From: Matthew Wilcox To: x86@kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Subject: [PATCH 2/2] x86: Turn down the scary 'no PCI' warning Date: Thu, 18 Aug 2016 12:12:55 -0700 Message-Id: <1471547575-14748-2-git-send-email-mawilcox@linuxonhyperv.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1471547575-14748-1-git-send-email-mawilcox@linuxonhyperv.com> References: <1471547575-14748-1-git-send-email-mawilcox@linuxonhyperv.com> X-CMAE-Envelope: MS4wfOyOuCUmjS6hGYMfQEmrFlEThdNwahSmxQTuHwlIiGWsC74SHZixlD0LVGrYUaiiY3qDF6Y4zrUgPhGRll4rK6Ydb/vkbbOwzLpJji2X2Vurhh01vw2L EtbNF6BJB6HuUvxP/ydojrON18gniVDfXBAW8MonG2T6YWbk6rgJJdMGTvYkKM/lYJDcao0edYa6mQO/ubGR/kIZO+ssg7hN8Y20qBVMrckWPT7G7f8mAalI H1BGO45E3iBEY1Y3W5KxBwMVAILnh9323KhfcG+5PuwA5/alpeu9SC/0+S6N3t/+ X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matthew Wilcox MIME-Version: 1.0 Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP From: Matthew Wilcox Hyper-V Generation 2 guests do not have PCI hardware. It is therefore not 'Fatal' to lack PCI config space, and those booting with the 'quiet' option do not need to see a message at all. I deem this to be 'informational' rather than 'normal but significant', at least on some hardware. Signed-off-by: Matthew Wilcox --- arch/x86/pci/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/pci/init.c b/arch/x86/pci/init.c index adb62aa..595840a 100644 --- a/arch/x86/pci/init.c +++ b/arch/x86/pci/init.c @@ -32,8 +32,7 @@ static __init int pci_arch_init(void) pci_direct_init(type); #endif if (!raw_pci_ops && !raw_pci_ext_ops) - printk(KERN_ERR - "PCI: Fatal: No config space access function found\n"); + pr_info("PCI: No config space access function found\n"); dmi_check_pciprobe();