diff options
author | Michael Neuling <mikey@neuling.org> | 2017-07-20 16:22:14 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-07-25 15:42:30 +1000 |
commit | 65d7ce5d3bf508b841cbaad1a3a03626b034721a (patch) | |
tree | 9d28a687768f01566f65395043dc0fcbbd809dda /hw | |
parent | d392d5b100829f3f6a99424b3dbeb6a61e0d2bd3 (diff) | |
download | skiboot-65d7ce5d3bf508b841cbaad1a3a03626b034721a.zip skiboot-65d7ce5d3bf508b841cbaad1a3a03626b034721a.tar.gz skiboot-65d7ce5d3bf508b841cbaad1a3a03626b034721a.tar.bz2 |
phb4: Change timeouts prints to error level
If the link doesn't have a electrical link or the link doesn't train
we should make that more obvious to the user.
This boosts these prints to error level.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/phb4.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2218,7 +2218,7 @@ static int64_t phb4_poll_link(struct pci_slot *slot) } if (slot->retries-- == 0) { - PHBDBG(p, "LINK: Timeout waiting for electrical link\n"); + PHBERR(p, "LINK: Timeout waiting for electrical link\n"); PHBDBG(p, "LINK: DLP train control: 0x%016llx\n", reg); rc = phb4_retry_state(slot); if (rc >= OPAL_SUCCESS) @@ -2239,7 +2239,7 @@ static int64_t phb4_poll_link(struct pci_slot *slot) } if (slot->retries-- == 0) { - PHBDBG(p, "LINK: Timeout waiting for link up\n"); + PHBERR(p, "LINK: Timeout waiting for link up\n"); PHBDBG(p, "LINK: DLP train control: 0x%016llx\n", reg); rc = phb4_retry_state(slot); if (rc >= OPAL_SUCCESS) |