summaryrefslogtreecommitdiffstats
path: root/src/sbefw/sbecmdiplcontrol.C
Commit message (Collapse)AuthorAgeFilesLines
* Enter dump state on MPIPL failurespashabk-in2017-05-251-7/+2
| | | | | | | | | | | | | Transition to dump state on enter/continue mpipl chip-op failures Allow cntl instruction, putscom in mpipl state to support termination flows during mpipl Change-Id: I54e1373878a946d5886384f6d8609bbb6629ae7a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40903 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Increased timeout for Sequence DRTM timeout issueRaja Das2017-05-041-1/+1
| | | | | | | | | | Change-Id: I984246227d16e5414fff540162b284e7ee88bd96 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40011 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fixed bit shift bug for PERV_N3_LOCAL_FIR_OR reg (DMT/MPIPL)Raja Das2017-04-181-3/+4
| | | | | | | | | Change-Id: Id47a94b938ba5ffef364542295da21409433971d CQ: SW380791 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39356 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Updated MPIPL Flag in Scratch3 Reg in Continue MPIPLRaja Das2017-03-241-0/+4
| | | | | | | | | Change-Id: I91e06971167dc73f29b0faa591d6e72c6c6850bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38029 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: Sachin Gupta <sgupta2m@in.ibm.com>
* Update quad power off so HB can call it on Slave Quadscrgeddes2017-03-231-60/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously this HWP was only being called by the SBE down the MPIPL but we also need to call it during HB to power down the slave quads. There is a tricky workaround in this HWP where we need to save off some ring data EQ pointers for the PB. On the SBE we just saved the rings in global variables but we cannot do that in HB because the Hcode would not have access to the global varibles. Instead we will write the ring data to the OCC SRAM to do this I will just pass the data out of the hwp via an out param The same ring data is fetch during cache_initf procedure to init Change-Id: I4f20cd8dd9ca1b53604db1bc3020c0d57bbd1172 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36828 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37977 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* BMC Mpipl isteps updated, 50009 Reg updated for Major/Minor IstepRaja Das2017-03-211-0/+45
| | | | | | | | | | Change-Id: Id06d2f0e84f055feb3080b043f0ac3de3de5ab01 RTC: 164425 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33292 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Consolidating globals in SBEspashabk-in2017-03-201-11/+10
| | | | | | | | | | Overall an increase in size of 88bytes Change-Id: I975ec1536bc2d8153772133d26f750688a849a70 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37714 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Enable sbe runtime support for labSachin Gupta2017-02-221-18/+15
| | | | | | | | | | | | | | | | | | It adds these two capabilities 1. Call p9_sbe_attr_setup in start. This will sync sbe attributes as istep will not be called for sbe. 2. Set pk frequency as per nest pll bucket. We need to see if step 1 has some side effect in sbe reset at runtime. Change-Id: Ib3ee7075e7bea87b225a9ab6ae55707e4f9152c3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36701 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Missing break in istep stopclockRaja Das2017-02-151-0/+1
| | | | | | | Change-Id: I04f9bb348458cab638541ee1a154572cd32ac418 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36495 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* MPIPL Commits on the Istep FlowRaja Das2017-02-071-13/+4
| | | | | | | | | | | | | | | | 1.In continue mpipl flow, istep 4&5 should execute only in master 2.sbe_select_ex is already there in the continue mpipl istep, so removed it from the list of isteps to execute. 3.Cleaned-up set mpipl flag from continue since it is getting set in the enter mpipl path Change-Id: Ia1b30d6e96d949ed964bef68a5358184240186e0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36005 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Stopclock chip-op updatespashabk-in2017-02-071-1/+1
| | | | | | | | | | Change-Id: If382ef60fa3c4a7115fd417edf7c4f18999f226e RTC:162349 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34164 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* MPIPL Set Attr moved up the sequenceRaja Das2017-02-071-1/+3
| | | | | | | | | | | Change-Id: I307899e6c7d60c12cc640115e4b93e29987c1db6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35821 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.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: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* StopClock Isteps in SBE (Debug usecase in MPIPL)Raja Das2017-02-031-3/+50
| | | | | | | | Change-Id: I2eab07b70d021294bb938a2c8aabd9b81641d212 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34817 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
* Skip lpc init on slave sbeSachin Gupta2017-02-021-1/+16
| | | | | | | | | | Change-Id: Ifdc50784cff46b5479adadf1bce11de80c53b476 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35776 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* tpm reset supportSachin Gupta2017-01-171-10/+72
| | | | | | | | | | | Change-Id: I2e16eff6b2ea4d2aa6125933e43bdb79a07b5b7f RTC: 153355 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34818 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Update fapi::delay implementationSachin Gupta2016-12-011-4/+4
| | | | | | | | | | Change-Id: I1194b6819de9c9c4935e2761b984de1f40ba9aec Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31680 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Fix some trace problemsDoug Gilbert2016-11-231-2/+5
| | | | | | | | | | | | | | | | | This change is in preparation for future, better trace handling. Bit fields don't have a size_type - so they need a cast to int or uint in a trace statement. Pointers are always 4 bytes in PPE. Pointers cannot be converted to a uint32_t (%x) without an explicit cast. The printf/trace format %x is 4 bytes, even %016x is 4 bytes. What is needed is %llx or %016llx otherise a uint64_t will get truncated. Change-Id: I0b55a355f3211a7f6913e846834486b4808f50c1 RTC: 161851 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31189 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* MPIPL Set LQA Quiesce bit fixed, reduced number of loopsRaja Das2016-11-111-3/+3
| | | | | | | | Change-Id: Id528814eb632f98a164e3327ccbf495c6f5a398a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32528 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Continue MPIPL implemntationShakeeb2016-11-111-3/+87
| | | | | | | | | | Change-Id: I3e10b71c081a506b692c8da24c9190f4613daa7f RTC:157068 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30775 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* MPIPL Start Chipops and Mpipl istep implementationRaja Das2016-11-111-35/+394
| | | | | | | | | | Change-Id: If0579dfdfb10eb42bc837107e38361512a416b03 RTC: 123696 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30367 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Stop Clocks for MPIPL (Core & Cache(EQ))Raja Das2016-10-061-66/+0
| | | | | | | | | | | | RTC: 156382 Change-Id: Ib3e8c29467aa7d3b6b85286e6f5ce154f0f28ad6 RTC: 156382 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29555 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
* Removed Collect FFDC & Abort State from SM implementationRaja Das2016-10-031-62/+0
| | | | | | | | | Change-Id: Iefb1be8bdb33497814e529d44df2422334303085 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29235 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Change pk frequency after istep 2.7Sachin Gupta2016-09-301-1/+37
| | | | | | | | | | | RTC: 128819 Change-Id: If409105a104f482cb93979384906d85509b3ea32 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30269 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* PIBMEM Image supportShakeeb2016-09-291-7/+26
| | | | | | | | | | | Change-Id: I0a88f8963b28905791ddfe92ad649b1584a0b943 RTC:158600 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29852 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* Update file headersSachin Gupta2016-09-161-0/+1
| | | | | | | | Change-Id: Icdd7460d8e3213f9bbd3d52e7825242bc59fc9e9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29825 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
* Modify signature of FIFO response utilityShakeeb2016-09-021-6/+5
| | | | | | | | Change-Id: I6ac79e1a13d978a91463e02f992d9bb164aa672a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28662 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
* SBE code restructure: sbe -> src renameShakeeb2016-08-301-0/+830
Change-Id: I6e4378d0e71a00ed2b239658d43f180df2a9b748 RTC:159709 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28875 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
OpenPOWER on IntegriCloud