[Skiboot] [PATCH] platforms/witherspoon: Make PCIe shared slot error message more informative

Andrew Donnellan andrew.donnellan at au1.ibm.com
Thu Nov 22 17:20:14 AEDT 2018

If we're missing chips for some reason, we print a warning when configuring
the PCIe shared slot.

The warning doesn't really make it clear what "shared slot" is, and if it's
printed, it'll come right after a bunch of messages about NPU setup, so
let's clarify the message to explicitly mention PCI.

Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
 platforms/astbmc/witherspoon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platforms/astbmc/witherspoon.c b/platforms/astbmc/witherspoon.c
index fe138991696f..0fafc87eb4c6 100644
--- a/platforms/astbmc/witherspoon.c
+++ b/platforms/astbmc/witherspoon.c
@@ -184,7 +184,7 @@ static void witherspoon_shared_slot_fixup(void)
 	chip1 = next_chip(chip0);
 	if (!chip1 || next_chip(chip1)) {
-			"Unexpected number of chips, skipping shared slot detection\n");
+			"PLAT: Unexpected number of chips, skipping PCIe shared slot detection\n");

More information about the Skiboot mailing list