[Skiboot] [PATCH 5/8] fsp/lxvpd: Print more LXVPD slot information

Oliver O'Halloran oohall at gmail.com
Mon Mar 18 17:10:55 AEDT 2019


Useful to know since it changes the behaviour of the slot core.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 platforms/ibm-fsp/lxvpd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/platforms/ibm-fsp/lxvpd.c b/platforms/ibm-fsp/lxvpd.c
index 72512b7f3b40..4317c5928c69 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,
-- 
2.20.1



More information about the Skiboot mailing list