[Skiboot] [PATCH] core/pci: Print 'PCI Summary' at PR_NOTICE

Oliver O'Halloran oohall at gmail.com
Wed Aug 1 16:26:52 AEST 2018


The actual entries of the PCI Summary are printed at PR_NOTICE so that
they go to the console during boot. The header however does not which
breaks my patented "grep 'PCI Summary' -A 100" technique for scraping
the summary out of a log file when that log is recorded from the SOL
console.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 core/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/pci.c b/core/pci.c
index 109459b86560..b46ece204a92 100644
--- a/core/pci.c
+++ b/core/pci.c
@@ -1748,7 +1748,7 @@ static void __pci_init_slots(void)
 	if (platform.pci_probe_complete)
 		platform.pci_probe_complete();
 
-	prlog(PR_DEBUG, "PCI Summary:\n");
+	prlog(PR_NOTICE, "PCI Summary:\n");
 
 	for (i = 0; i < ARRAY_SIZE(phbs); i++) {
 		if (!phbs[i])
-- 
2.9.5



More information about the Skiboot mailing list