summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-03-18 17:10:55 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-03-28 15:24:12 +1100
commitefc568c1e30bf00dfec3fe795b24497bb7fd8d3a (patch)
treece6496c26db688d567dec1f434139a079ab159bc
parent99937b9438458967ab205b37854d6c469990162b (diff)
downloadblackbird-skiboot-efc568c1e30bf00dfec3fe795b24497bb7fd8d3a.tar.gz
blackbird-skiboot-efc568c1e30bf00dfec3fe795b24497bb7fd8d3a.zip
fsp/lxvpd: Print more LXVPD slot information
Useful to know since it changes the behaviour of the slot core. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--platforms/ibm-fsp/lxvpd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/ibm-fsp/lxvpd.c b/platforms/ibm-fsp/lxvpd.c
index 72512b7f..4317c592 100644
--- a/platforms/ibm-fsp/lxvpd.c
+++ b/platforms/ibm-fsp/lxvpd.c
@@ -149,6 +149,9 @@ void lxvpd_extract_info(struct pci_slot *slot, struct lxvpd_pci_slot *s)
slot->card_desc = s->card_desc;
slot->card_mech = s->card_mech;
slot->wired_lanes = s->wired_lanes;
+
+ prlog(PR_DEBUG, "[%s]: pluggable: %d power_ctrl: %d\n",
+ s->label, (int) s->pluggable, (int) s->power_ctl);
}
static struct lxvpd_pci_slot_data *lxvpd_alloc_slots(struct phb *phb,
OpenPOWER on IntegriCloud