Skip to content

Commit

Permalink
fsp/lxvpd: Print more LXVPD slot information
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
oohal authored and stewartsmith committed Mar 28, 2019
1 parent 99937b9 commit efc568c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platforms/ibm-fsp/lxvpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit efc568c

Please sign in to comment.