diff options
author | Michael Neuling <mikey@neuling.org> | 2018-06-29 16:32:20 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-07-03 01:25:36 -0500 |
commit | efc4020a32fbb199c58ada9315d64a175162d066 (patch) | |
tree | 3faf16c88eec86a65cbd2732c83c0ca4933e5ccf | |
parent | da05882b8e6e146b5b4121b1e177c4aea47de8f2 (diff) | |
download | skiboot-efc4020a32fbb199c58ada9315d64a175162d066.zip skiboot-efc4020a32fbb199c58ada9315d64a175162d066.tar.gz skiboot-efc4020a32fbb199c58ada9315d64a175162d066.tar.bz2 |
phb4: Move training trace logging to next state.
I'm going to defer training to this state soon, so move the tracing
first.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r-- | hw/phb4.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2836,11 +2836,11 @@ static int64_t phb4_freset(struct pci_slot *slot) pci_slot_set_state(slot, PHB4_SLOT_FRESET_DEASSERT_DELAY); - phb4_training_trace(p); - /* Move on to link poll right away */ return pci_slot_set_sm_timeout(slot, 1); case PHB4_SLOT_FRESET_DEASSERT_DELAY: + phb4_training_trace(p); + pci_slot_set_state(slot, PHB4_SLOT_LINK_START); return slot->ops.poll_link(slot); default: |