[Skiboot] [PATCH] phb4: Reduce link degraded message log level to debug

Michael Neuling mikey at neuling.org
Mon Oct 23 20:34:37 AEDT 2017

If we hit this message we'll retry and fix the problem. If we run out
of retries and can't fix the problem, we'll still print a log message
at error level indicating a problem.

Signed-off-by: Michael Neuling <mikey at neuling.org>
Reported-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
 hw/phb4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/phb4.c b/hw/phb4.c
index 48b01e7b63..0e3c6e1882 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2632,7 +2632,7 @@ static int64_t phb4_poll_link(struct pci_slot *slot)
 		if (reg & PHB_PCIE_DLP_TL_LINKACT) {
 			PHBDBG(p, "LINK: Link is stable\n");
 			if (!phb4_link_optimal(slot)) {
-				PHBERR(p, "LINK: Link degraded\n");
+				PHBDBG(p, "LINK: Link degraded\n");
 				if (slot->link_retries)
 					return phb4_retry_state(slot);

More information about the Skiboot mailing list