Message ID | 20190304055637.13875-1-oohall@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | platforms/zz: Re-enable LXVPD slot information parsing | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | success | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
"Oliver O'Halloran" <oohall@gmail.com> writes: > From memory this was disabled in the distant past since we were waiting > for an updates to the LXPVD format. It looks like that never happened > so re-enable it for the ZZ platform so that we can get PCI slot location > codes on ZZ. > > Cc: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> > Signed-off-by: Oliver O'Halloran <oohall@gmail.com> > --- > platforms/ibm-fsp/zz.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Merged to master as of 43f11d51e601333c3643de26d6229dd561635947
diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c index 5e62403b3765..19fbb6383e6e 100644 --- a/platforms/ibm-fsp/zz.c +++ b/platforms/ibm-fsp/zz.c @@ -76,10 +76,9 @@ DECLARE_PLATFORM(zz) = { .exit = ibm_fsp_exit, .cec_power_down = ibm_fsp_cec_power_down, .cec_reboot = ibm_fsp_cec_reboot, - /* FIXME: correct once PCI slot into is available */ - .pci_setup_phb = NULL, - .pci_get_slot_info = NULL, - .pci_probe_complete = NULL, + .pci_setup_phb = firenze_pci_setup_phb, + .pci_get_slot_info = firenze_pci_get_slot_info, + .pci_probe_complete = firenze_pci_send_inventory, .nvram_info = fsp_nvram_info, .nvram_start_read = fsp_nvram_start_read, .nvram_write = fsp_nvram_write,
From memory this was disabled in the distant past since we were waiting for an updates to the LXPVD format. It looks like that never happened so re-enable it for the ZZ platform so that we can get PCI slot location codes on ZZ. Cc: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- platforms/ibm-fsp/zz.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)