public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] quiet MMCONFIG related printks
@ 2007-01-02  5:01 Jesse Barnes
  2007-01-02 10:36 ` Alan
  2007-01-03 13:53 ` Arjan van de Ven
  0 siblings, 2 replies; 9+ messages in thread
From: Jesse Barnes @ 2007-01-02  5:01 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton; +Cc: Arjan van de Ven

Using MMCONFIG for PCI config space access is simply an optimization, not
a requirement.  Therefore, when it can't be used, there's no need for
KERN_ERR level message.  This patch makes the message a KERN_INFO instead
to reduce some of the noise in a kernel boot with the 'quiet' option.
(Note that this has no effect on a normal boot, which is ridiculously
verbose these days.)

Signed-off-by:  Jesse Barnes <jbarnes@virtuousgeek.org>

Thanks,
Jesse

diff --git a/arch/i386/pci/mmconfig.c b/arch/i386/pci/mmconfig.c
index e2616a2..b95e7f3 100644
--- a/arch/i386/pci/mmconfig.c
+++ b/arch/i386/pci/mmconfig.c
@@ -210,9 +210,9 @@ void __init pci_mmcfg_init(int type)
 	if (type == 1 && !e820_all_mapped(pci_mmcfg_config[0].base_address,
 			pci_mmcfg_config[0].base_address + MMCONFIG_APER_MIN,
 			E820_RESERVED)) {
-		printk(KERN_ERR "PCI: BIOS Bug: MCFG area at %x is not E820-reserved\n",
+		printk(KERN_INFO "PCI: BIOS Bug: MCFG area at %x is not E820-reserved\n",
 				pci_mmcfg_config[0].base_address);
-		printk(KERN_ERR "PCI: Not using MMCONFIG.\n");
+		printk(KERN_INFO "PCI: Not using MMCONFIG.\n");
 		return;
 	}
 

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-03 19:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-02  5:01 [PATCH] quiet MMCONFIG related printks Jesse Barnes
2007-01-02 10:36 ` Alan
2007-01-02 16:37   ` Jesse Barnes
2007-01-03 13:52   ` Arjan van de Ven
2007-01-03 13:53 ` Arjan van de Ven
2007-01-03 16:49   ` Jesse Barnes
2007-01-03 17:01     ` Arjan van de Ven
2007-01-03 19:29       ` Stephen Clark
2007-01-03 17:20   ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox