summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep13
Commit message (Collapse)AuthorAgeFilesLines
* Call p9a_throttle_sync inside mss_scominitDan Crowell2020-01-072-5/+51
| | | | | | | | | | | | | | | | | | | | | | | | We need to setup the memory throttles for worstcase mode for a portion of the boot before we have the real values later in mss_thermal_init. Changes to IPL flow - 13.8 mss_scominit - exp_scominit() - p9a_throttle_sync() <<< new 14.2 mss_thermal_init - exp_mss_thermal_init() - p9a_throttle_sync() <<< current place, stays here but also called earlier Change-Id: Iebf4ccb0f8b3f84ca146314b2a5d94ccbe88fc06 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/88118 Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V Swenson <cswenson@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>
* Move gen_keys and encrypt_unlock from istep 14 to 13Corey Swenson2019-07-101-0/+9
| | | | | | | | | | | | | | | Need to unlock nvdimm encryption before draminit. CQ:SW469239 Change-Id: Ib8d228470431082f3450cdeb52cfef1c7cff18dc Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79873 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@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> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove some Centaur procedures from Axone compileDan Crowell2019-06-105-26/+35
| | | | | | | | | | | | | | | The Axone compile is getting large so this is trimming a few unneeded HWPs from the image. Change-Id: If49afacae3f53ed02ece9e6d23082018f1e6f767 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78563 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: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add gemini HWP calling into hostbootMatt Derksen2019-05-072-145/+215
| | | | | | | | | | | | | | | | | Added gem_getecid call in istep12. Adding NOOP calls for omi_setup, scominit, draminit_mc, and thermal_init if chip is Gemini. Change-Id: I677dd4dea0b39095c73d8b0769592ce68373ee6d RTC:204647 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76602 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Compile and call exp_draminit in istep 13.10Christian Geddes2019-05-062-9/+10
| | | | | | | | | | | | | | | | | | This commit adds the call to exp_draminit which sends the command EXP_FW_DDR_PHY_INIT to the explorer chip. Currently simics is just returning valid response and the data associated with the response is all 0s. This is acceptable for the time being. RTC: 207856 Change-Id: Ie160d1e6405d1c2922500c40f04c9f5470d7db23 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76755 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Compile Gemini hardware procedures in hostbootMatt Derksen2019-04-302-81/+195
| | | | | | | | | | | | | | | | | | This is just the start of importing/compiling the Gemini hardware procedures. This commit compiles the helper functions in mss library, and then compiles/calls gem_draminit in istep 13. Change-Id: I837a5d8507c882c41650d06bccfcf25cd11688c8 RTC:204647 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76522 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Re-enable mss_draminit_trainadv parallelismNick Bofferding2019-04-241-2/+2
| | | | | | | | | | | | | | Allow four parallel threads in mss_draminit_trainadv Change-Id: I65cd4316371ef17d72216505e0986c5a47d8aa26 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76062 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: Glenn Miles <milesg@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add Child RC Checking to Thread PoolIlya Smirnov2019-04-241-3/+10
| | | | | | | | | | | | | | | | | | | | | | | Add logic for Thread Pool to return error log when shutdown() is called if a child thread (or multiple child threads) had crashed. This is a default behavior, but a constructor option can switch this functionality off. The new logic will aid in debugging of the failures of child processes, as the failures could be catched when they occurred and not at some point after. Change-Id: I9736d659a086701b8e4f18f41504df4864924d88 RTC: 208517 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75897 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Compile and call exp_draminit_mcChristian Geddes2019-04-232-32/+91
| | | | | | | | | | | | | | | | | | Per the P9A IPL Flow documentation we must call exp_draminit_mc during istep 13.12. On hardware this requires exp_draminit to have been called. But in simulation it shouldnt matter. I make this note because at the time of writing the the exp_draminit HWP is not being called. RTC: 195556 Change-Id: I2db07c461cf9f10b85d51c091964b62574abb62e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76256 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Glenn Miles <milesg@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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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 parallel operations in draminit advanced trainingNick Bofferding2019-04-101-1/+1
| | | | | | | | | | | | | | | | Completely disable parallel draminit advanced training operations because it is too sensitive to memory fragmentation. Change-Id: Id9777ab114a1b808e492fda3a839fe425f7f50a4 CQ: SW462361 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75798 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* Setup CONFIG_AXONE env variable correctlyChristian Geddes2019-04-061-7/+4
| | | | | | | | | | | | | | | | | | | | In previous attempt to use CONFIG_AXONE env variable as a flag to decided whether or not to compile certain AXONE only features we forgot to add in the config variable to HBconfig. Worse is we were using the wrong env var in the make files as a flag. As a result, without this change we are not running any Axone HWPs in axone simics. Change-Id: I82dd7f86c5ad390a23eab2d2123d1d10ca9edea3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75568 Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Reduce draminit_training_adv thread count to avoid OOMNick Bofferding2019-04-041-1/+1
| | | | | | | | | | | | | | | | | | The draminit_training_adv istep is memory intensive; running 4 of these procedures in parallel was causing out of memory condition in Hostboot, so dialing back to 3 for the time being. CQ: SW461601 Change-Id: Ide022886bebc7d6db39e22d9453a368a1961d6fd Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75504 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Compile Explorer MSS libs in our istepsmss libChristian Geddes2019-04-032-4/+10
| | | | | | | | | | | | | | | | We added P9A awhile back but forgot to add in the explorer libs. Some of the MSS hwps are requiring these so we need to add them. When we pulled this in it caused the HBI image for the Nimbus and Cumulus standalone layouts to be too large. To get around this we will not compile any Axone/Explorer HWP code in non-axone system configurations. Change-Id: I041f5f160a6e530995bbb1b350a1b2362704fbc8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75224 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Run memory training in parallel across centaursGlenn Miles2019-03-112-66/+148
| | | | | | | | | | | | | | | | | | | -Uses a thread pool to do memory training for multiple (up to 4) centaurs at a time. -Also fixes mdiasm.C to set the thread pool count before creating a thread pool instead of using whatever was set before it. Change-Id: I7331bfcd0e1e85af1b825e8ac4e0d1d76924014a RTC: 71239 CQ: SW454787 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71614 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@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>
* Compile and add calls to exp_scominit in istep 13.8Christian Geddes2019-03-062-2/+57
| | | | | | | | | | | | | | | | Since this code is ready and seemingly passing in axone simics okay we will pull it in to cross another item off the list. Change-Id: Id02b1fae825d5e601312251f75af21120f9fa2ba RTC: 195556 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72723 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable NVDIMM Trigger Before Draminit and Deassert DDR_RESETn During MPIPLTsung Yeung2019-02-121-1/+19
| | | | | | | | | | | | | | | | | | | | - Per the JEDEC spec, DDR_RESETn is masked from the DRAM when the NVDIMM is armed. This could cause the training to fail if the trigger is not disabled before training. Two scenarios where this can happen are warm reboot and cold boot before the backup power module can deplete the charge - Deassert DDR_RESETn in MPIPL before triggering the restore. - Fix the config flag to enable NVDIMM code Change-Id: I9d25c2f653fc54d379f0dbab49218f5b59a407a0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70035 Reviewed-by: Matt Derksen <mderkse1@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> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Progress code tweaksDan Crowell2018-11-271-0/+4
| | | | | | | | | | | | | | | | | | | Added additional calls to poke the watchdog during draminit training advanced in anticipation of FSP using the progress codes as a finer granularity timeout mechanism. Started rolling the internalStep nibble of our CFAM reg istep counter as a way to show internal progress in long-running steps Change-Id: I7a3bd08d9ab71b020a05b7476b3e31f8c81c4f86 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68393 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Start compiling p9c_mss_row_repairDan Crowell2018-10-051-0/+1
| | | | | | | | | | | | Added p9c_mss_row_repair.o to istep13 Change-Id: I55a26c8f9698afb80a66cd9e02bea8c7c91f3f90 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66932 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>
* Fixes Centaur training advanced to unmask errors when disabledStephen Glancy2018-08-201-1/+5
| | | | | | | | | | | | | | | | Change-Id: I928f5adf5963dbce409a9c5c34796a06f155631a CQ:SW441346 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64187 Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64192 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>
* Re-enable p9c_mss_draminit_training_advancedDan Crowell2018-07-181-7/+10
| | | | | | | | | | | | | | | | | | VPD updates should be in place so we are enabling the function call again. Removing the security check for Centaur reg 030106DB. Change-Id: I2a67de4844e29ffb79e083bbcd800db62c096ccd CMVC-Prereq: 1059608 CMVC-Prereq: 1062188 CQ: SW437498 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62544 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Enables DDR4 training advancedStephen Glancy2018-05-251-2/+7
| | | | | | | | | | | | | | | | | | Change-Id: I64a05ce07b8ce734b2269a4218b3c0c06490618e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56452 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56457 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com>
* Tweaks to multicast scom workaroundDan Crowell2018-01-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Added a mode to avoid a pile of FFDC collection for the case where we expect errors could happen. Also added a couple new flags to control which chiplets get accessed as part of the workaround, one to avoid access to slave cores before they are running and the other to avoid access to the memory chiplets before they have clocks enabled. Without these changes, the code is still functionally correct but the traces get filled with pointless non-errors which makes real problems harder to find and also increases boot time. Change-Id: I834781261d16748cbbfd8511d9649ec19de53d81 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50503 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Zeppelin BUP updatesPrachi Gupta2017-11-211-43/+0
| | | | | | | | | | | | | | | | | | | | | | | - targeting: skip over ATTR_BAD_DQ_BITMAP during fapi attriubte dump as it is not looked up correctly for cumulus. Need to add it back in future. - istep changes: - remove p9_throttle_sync from istep 13, it is already getting called in istep 14 - add support for memdiags on cumulus - centaur pibrc errors: mask out PROTECTION_BIT for centaur scoms as it is irrelevant for centaurs - configureHbrtHypIds: correctly setup DMI information Change-Id: Ifeaca2f58e16b7ecac9e1329409b98bc6a2f38e7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49382 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Thomas R. Sand <trsand@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Centaur ring support - ring_apply and ring dataSumit Kumar2017-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduces Centaur ring ID header files and ring_apply support to generate a separate Centaur ring image file. - Introduces common ring ID header file consumed by both P9 and Centaur and all user codes, e.g. putRing, ipl_build, xip_tool, etc. - Introduces a namespace approach for complete separation of P9 and Centaur ring data and to facilitate execution time selection of either P9 and Centaur ring data. - Added Centaur image .rings generation function to p9_ring_apply. - This commit does NOT support Centaur in the TOR API nor in xip_tool. See commit 38018 for that support. - Modified hw_image.mk file to support Centaur XIP image generation. - Updated ring_apply to also support .overrides ring gen for Centaur. Change-Id: I12a27b194dc14d906fea7bc273eb9f766f0fc5bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35639 Tested-by: HWSV CI <hwsv-ci+hostboot@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: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36011 Reviewed-by: Hostboot Team <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> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Cumulus HWPs for istep 13Swathi Madhuri Bhattiprolu2017-09-187-4/+422
| | | | | | | | | | | | | | Change-Id: Ib09110b844db1e54e129abdca88bc0aaae8d162a RTC:175769 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45092 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Sakethan R. Kotta <sakkotta@in.ibm.com> Reviewed-by: Thomas R. Sand <trsand@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable calls to p9_mss_draminit_training_advDan Crowell2017-09-122-6/+6
| | | | | | | | | | | | | | | New HWPs from the HW team, added the code into HB istep Change-Id: I9d5f033db35e09b0d0190266cd3b509a966f8d41 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44989 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@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>
* Framework (plumbing work) in HB for Cumulus HW proceduresSwathi Madhuri Bhattiprolu2017-08-121-0/+61
| | | | | | | | | | | | | | Change-Id: I0bc7b56d75f404176268cfbd3948e6c24ef35b4d RTC: 175996 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43020 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: VENKATESH SAINATH <venkatesh.sainath@in.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Sakethan R. Kotta <sakkotta@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9 Cumulus InitCompiler supports - Part 2Thi Tran2017-05-241-3/+3
| | | | | | | | | | | | | | | | | | Rename Nimbus only initfiles to p9n.xxx.initfile Update scan_procedures.mk, generate_wrapper.pl to support new names. Update initfiles.mk to take in p9c chip type Change-Id: I6aeb04999c6c140f6347ce24f1ce47bffb8990f4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40782 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40783 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove bring up workaround that disabled memory throttlesDean Sanner2017-03-171-24/+0
| | | | | | | | | | | | | Change-Id: I8816cda1dd5ec1a789048893e0eda73aad35a250 RTC:167292 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37587 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add pos API to be shared among controllers, move generic files to utilsAndre Marin2017-03-151-1/+1
| | | | | | | | | | | | | | | | Change-Id: I7daedddf83c6a34f28417c97a28e78d88ec5c9af Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37562 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: LUCAS W. MULKEY <lwmulkey@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37630 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>
* Add c_str generic API and update makefilesAndre Marin2017-02-101-1/+2
| | | | | | | | | | | | | | | Change-Id: I95e3b9013d3ab0c352d3614c12ee4ef0d26965d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35924 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35952 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Clean up FAR3BQ workaround so that fails will be committed properlycrgeddes2017-01-171-5/+14
| | | | | | | | | | | | | | Before we were using the FAPI infrastructure to scom the register but we need to use the native scom to handle errors correctly Change-Id: I39b244497265f61efaeba8685d4a39fb41cf8646 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34938 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Insert workaround for issue with memdiagscrgeddes2017-01-141-1/+17
| | | | | | | | | | | | | | | For the sake of getting started running plckIPLRequests we are insertting this workaround. It needs to be removed Change-Id: I99d5fa0ae3613ef1b4b77a6c6af81750a0a76d26 RTC: 167292 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34837 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Fixing a bunch of orphaned TODO commentsDan Crowell2016-11-071-1/+1
| | | | | | | | | | Change-Id: Ia7c4dfcc947bebfc26952a9788ef0443372c9c23 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32203 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Interface to send processor voltage change requests to HWSVAndres Lugo-Reyes2016-09-165-1544/+0
| | | | | | | | | | | | | | | | | | | | | This commit contains an altered implementation of hbVddrMsg that is capable of sending voltage change requests related to the processor to HWSV. It also contains the MRW parsing code to retrieve processor I2C information and relay that data to the FSP so POWR can actually change the voltage. Change-Id: Ifcdbd9ebe0eb300a61ee17cc8be6751cee4ff228 Depends-on: I3a478e4a70421d73bcaf7c9746d6569192be4d10 RTC:158500 CMVC-Prereq: 1002713 CMVC-Prereq: 1005080 CMVC-Prereq: 1005149 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28490 Tested-by: Jenkins Server <pfd-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: Matt Derksen <v2cibmd@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove IS_SIMULATION hack needed for memory hwpscrgeddes2016-09-112-12/+0
| | | | | | | | | | | | | | Change-Id: Icf4e2511097d3834f4425fa0a9d3ac83d23ccd72 RTC:155373 CMVC-Coreq: 1000150 CMVC-Prereq: 1005045 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27086 Tested-by: Jenkins Server <pfd-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: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix sendMsg to exit if in vpo environmentMatt Derksen2016-08-221-1/+1
| | | | | | | | | | | Change-Id: Ie6a7c4845be987f7f284a862fa8d45931c46530c RTC:134177 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28520 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Create ekb mirror libmss.so for istepsLateef Quraishi2016-08-081-24/+0
| | | | | | | | | | | | makefile compiles all files under sub-direcotries and creates the library. isteps 07, 13 & 14 are including it Change-Id: I6171b9a1416c1b6ceab6d4e658cd37097d1bd70a RTC: 157095 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27798 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>
* Enable VRM power on stepMatt Derksen2016-08-074-219/+211
| | | | | | | | | | | | | | | - Add SUPPORTS_DYNAMIC_MEM_VOLT attribute - Move some Centaur MEMBUF attributes to MCBIST - Created new PROGRAM attributes for each domain type Change-Id: I35a94ae4bbb7949c336754f8b94c0b20771f8d0c RTC:152994 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25966 Tested-by: Jenkins Server <pfd-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: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Set up mrsXX.o objects to be built for ddr4 updatecrgeddes2016-07-281-0/+10
| | | | | | | | | | | | | There was an udpate to mrs loading on ddr4 dimms , it was failing without this makefile change Change-Id: I65268f3c3e8e4945a0c34c246d8270cdfa0ecb86 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27368 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> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* MDIA: Add compilation of memdiags_firCaleb Palmer2016-07-071-1/+3
| | | | | | | | | | Change-Id: Ibe114c40ce3ec768dd481e14f119d966f0f8494d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26677 Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Move mcs_scom.mk include from istep 13 into istep 8 makefilecrgeddes2016-07-011-1/+0
| | | | | | | | | Change-Id: I49436113f8577dc2f92a029698318858fbf182bd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26554 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Build adr32s.o in istep13 makefile, it is a memory HWP librarycrgeddes2016-06-281-0/+1
| | | | | | | | | | Change-Id: Ia490baa90671238c4b6dbf6cc0b41ed46d5fd5ee Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26344 Tested-by: Jenkins Server Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Enable Istep 13 HWPscrgeddes2016-06-2010-100/+200
| | | | | | | | | | | | | | | | | This work includes enablement of p9_mss_draminit HWPs p9_mem_pll HWPs mss_ddry_phy_reset and startmemclocks Change-Id: I43a64080c377e6655f60a2bb89f92f18db9a6469 RTC: 134081 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25946 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Rename PALMETTO_VDDR to be more OpenPOWER generic.Matt Derksen2016-06-164-26/+5
| | | | | | | | | Change-Id: I93640fe9a39d6a93111a278b4318b7fa352535c4 RTC: 152294 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25792 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Disable DRAM init HWP in istep 13 until istep 7 hwps are mergedcrgeddes2016-06-154-4/+8
| | | | | | | | Change-Id: I9a9d9cc8e1cb0539529bf4109713864a88fd8123 RTC: 134081 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25858 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable Istep 13 L2 Procedurescrgeddes2016-06-155-32/+54
| | | | | | | | | | | | | More work to enable the building and calling of variable istep 13 HWPS RTC: 134081 Change-Id: I662f6819dd880feed7e473f4d8bfb6bcde41aaaf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24608 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add attribute to correct targets and set IS_SIMULATION to 1 for p9n syscrgeddes2016-06-091-0/+9
| | | | | | | | | | RTC: 155373 Change-Id: Iaa612b472ff49499af9ab5332b8b1ffccd4f2300 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25130 Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for fapi2::getChildren with additional const TargetFilterMike Baiocchi2016-06-091-3/+2
| | | | | | | | | | | | | | | In addition to adding support for fapi2::getChildren with additional const TargetFilter input parameter, this commit also adds a test_fapi2GetChildrenFilter to the automatic simics testcases. Change-Id: I82e34c001ebb0af8eacb3c8f244391504ed424ae RTC:149115 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24813 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Build p9_mcs_scom and p9_mcbist_scom in istep13crgeddes2016-06-061-0/+3
| | | | | | | | | | | | | | These changes are required for change 25099 to pass HB CI file changes will follow this commit that use these .o's so we need to modify the make to build them. Change-Id: I0e78e19282ea2d0dd163d9f88a2c7651c427c8d1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25368 Tested-by: Jenkins Server Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud