aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-10-23 20:34:37 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-23 12:37:52 -0500
commit4396cba75836070cca41d83705497273aa846d8a (patch)
treef489f869202dfd0a39110b96214e182a7404e502 /hw
parent379d745cbf8b5af3d1cdfcfb172b169e157d09a5 (diff)
downloadskiboot-4396cba75836070cca41d83705497273aa846d8a.zip
skiboot-4396cba75836070cca41d83705497273aa846d8a.tar.gz
skiboot-4396cba75836070cca41d83705497273aa846d8a.tar.bz2
phb4: Reduce link degraded message log level to debug
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@neuling.org> Reported-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index 48b01e7..0e3c6e1 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);
/*