[PATCH 2/2] x86: Turn down the scary 'no PCI' warning

From: Matthew Wilcox
Date: Thu Aug 18 2016 - 21:56:16 EST


From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>

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 <mawilcox@xxxxxxxxxxxxx>
---
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();

--
2.8.1