diff mbox series

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

Message ID 20190318061058.3753-5-oohall@gmail.com
State Accepted
Headers show
Series [1/8] hdata/iohub: Look for IOVPD on P9 | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (2ba5ce84a197ee61423355f443a3ff3eea185ff1)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot fail Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Oliver O'Halloran March 18, 2019, 6:10 a.m. UTC
Useful to know since it changes the behaviour of the slot core.

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

Patch

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,