summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep10/host_proc_pcie_scominit.C
Commit message (Collapse)AuthorAgeFilesLines
* HB Improvements: Fix compiler warnings on modern compilersLuis Fernandez2019-04-051-2/+4
| | | | | | | | | | | | | | | | Resolve warnings when compiling with gcc 4.8. Compiled with GCC 7.3, no more compile errors/warnings; build ends with caught exception from linker. This commit compiles with GCC 8.2, no more error/warnings; except for a linking warning. Change-Id: Ib5d7c2b5bd350edc76ee2c7de96896154cd44420 RTC: 202716 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72271 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change to DELAYED_DECONFIG for HX_KEYWORD errorsMatt Derksen2019-01-241-2/+3
| | | | | | | | | | | | | | | | Need to allow hwsv to create a dummy deconfigure record or the system will get stuck in an infinite reconfig loop. Change-Id: I2eb6a30f75bf92a42f829ba58dd9ee833f88edf5 CQ:SW453631 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70659 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support version 2 of PEC_PCIE_HX_KEYWORD_DATAMatt Derksen2019-01-091-18/+12
| | | | | | | | | | | | | | | | | Some old hardware incorrectly filled in version 1 of the HX_KEYWORD. This new version was created so old hardware will not stop system IPL. New cards will be updated to this new version, so they will support PCIE bifurcation. Change-Id: Ie2b9dee66d1905a39d6f2b734e50b070f63e819d CQ:SW453106 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable HX keyword bifurcationMatt Derksen2019-01-051-1/+7
| | | | | | | | | | | | | | Invalid HX Keyword data, 01029090, seen throughout the lab systems. Need to disable using this keyword until we come up with a workaround this bad data. Change-Id: I0a3350e5e10380ac00d36bc057d6d0ad65ff4eeb Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70095 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable PCIe slot bifurcation using HX keywordRichard J. Knight2018-12-071-35/+342
| | | | | | | | | | | | | | | | | | | | | | | | -Update the PCIe config code to check the contents of the HX keyword attribute when determining the lane configuration. The HX keyword was defined to describe the lane configuration for a specific PCIe slot. It is generally stored in the VPD data of a PCIe card where it is read by the FSP. If the HX keyword data is populated, the FSP will then update the PEC_PCIE_HX_KEYWORD_DATA attribute for the PCIe slot the card is installed in. Once hostboot reads the HX keyword it will determine the correct lane configuration and adjust the IOP configuration attributes for the hardware procedure, p9_pcie_scominit, to consume. Change-Id: I10b1fcc84aacf3caf835e3cc9fffd1350cd30935 RTC:189286 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59113 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add PCIe dynamic bifurcation function for barreleye G2Mengze Liao2018-11-011-56/+40
| | | | | | | | | | | | | | | | Adds support to query the BMC (via sensor) to determine the bifurcation settings of the PCI slots. Resolves #125 Change-Id: Ibb4333140c6209a4a04c5f1a8adf3bd278899a8b Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/52992 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: DHRUVARAJ SUBHASH CHANDRAN <dhruvaraj@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Host went to kernel panic after gard'ing PEC0/PHB0 (PCIFIR CS)Rick Ward2018-07-261-71/+65
| | | | | | | | | | | | | | | | | | The host kernel was crashing when it probed PEC0/PHB0. HDAT was populating incorrectly, not showing that PEC0/PHB0 was gard'd. The code which populates HDAT uses the attribute, ATTR_PROC_PCIE_PHB_ACTIVE, to indicate which PHBs are active. I updated hostboot code to consider gards when setting the attribute. Change-Id: Ic1c208af6ed67d7b520c7c16ef1836be1dd66170 CQ:SW412466 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63295 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove logic to deconfigure PHBs in higher position within a pecPrachi Gupta2018-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Current deconfig logic will deconfigure PHBs with a higher unit position under a given pec, if we were deconfiguring the PHB with a lower unit position. For example, PEC1 has PHB1 and PHB2. If we deconfigured PHB1, then we would by association deconfigure PHB2 as well. However, if we deconfigured PHB2, then we would not deconfigure PHB1. This commit removes the logic where if PHB2 is deconfigured, PHB1 is deconfigured as well. To summarize, the end result is to be able to deconfigure PHB1 or PHB2 with no effect on the other. HWPs will handle the hw limitations we have between PHBS. Change-Id: I95b31f4d051c15d896d18adf0a7f7c1b994f5928 CQ: SW417485 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56499 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* security -- split p9_chiplet_scominit and p9_chiplet_enable_ridi istepsJoe McGill2017-05-221-0/+816
p9_chiplet_scominit, move from istep 8 to istep 10 shift content required for XBUS, fabric establishment into p9_chiplet_fabric_scominit, to be called in istep 8 p9_chiplet_enable_ridi, move from istep 8 to istep 10 shift content required for XBUS establishment into p9_xbus_enable_ridi, to be called in istep CMVC-Coreq: 1023401 Change-Id: I4c60e4c41211976c7919a603ab679357cc4af106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39956 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brent Wieman <bwieman@us.ibm.com> Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39960 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
OpenPOWER on IntegriCloud