summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_pstate_gpe_init.C
Commit message (Collapse)AuthorAgeFilesLines
* Bug fix for the Runtime pstate bias updatePrasad Bg Ranganath2018-07-201-10/+0
| | | | | | | | | | | | | | | | Change-Id: I6a0244878de5e8cc63e18453afcdd15bc3d8a835 CQ:SW438614 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62750 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62835 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>
* PPB:Compute safe mode Freq and Volt calculation during runtimePrasad Bg Ranganath2018-07-201-0/+10
| | | | | | | | | | | | | | | Change-Id: I66943612e85c59590d7cdf4270c9f4a27f7481eb CQ:SW435482 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61718 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61722 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> Disable-CI: Christian R. Geddes <crgeddes@us.ibm.com>
* PM: clear Hcode error injection bit upon PM complex resetGreg Still2018-05-311-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | - Clearomh the bits lets STOPs and PStates be restarted during the reset. Injection has to be done after the subsystem is initialized. - Clear the CSAR bits in p9_pm_corequad_init(init) - Clear SGPE and PGPE error inject bits in OCC Flag2 (p9_pm_stop_gpe_init and p9_pm_pstate_gpe_init respectively Key_Cronus_Test=PM_REGRESS Change-Id: I93bfe8d4b0959a6a305722df1e2c518f3dfc08fc CQ:SW429797 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59078 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@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/59085 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>
* PM: Clean up PM Reset and PM Complex SuspendChristian Geddes2018-04-201-0/+17
| | | | | | | | | | | | | | | | | | | | | | | - Increase timeout in PM Complex Suspend from 10ms -> 500ms - Disable CME monitoring of PGPE heart beat loss before halting PGPE Key_Cronus_Test=PM_REGRESS Change-Id: I3fbb435ce694e7590e9e9570107347a621828402 CQ: SW424102 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56884 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> 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: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56904 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>
* Add PGPE XIRs to Special Wakeup Failure FFDCAmit Tendolkar2018-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | Adds PGPE to the list of PPEs whose FFDC is collected on special- wakeup failures for core, ex and quad. PGPE reset fail FFDC collection mode changes from snaphot to halt. Change-Id: I48e67f5088ea9e5298e0c2d0f786121c6f0a7896 CQ: SW418521 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54566 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54591 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>
* STOP/PState: SGPE/PGPE Error Handling SupportYue Du2017-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon PGPE Halt 1) SGPE performs STOP Recovery Trigger to set a malfunction alert and removes PGPE IPCs from wake-up decisions. 2) CME is interrupted by QPPM OCC Heartbeat Lost that PGPE stopped updating Upon SGPE Halt 1) PGPE moves to Psafe 2) PGPE performs STOP Recovery Trigger to set a malfunction alert. This commit also includes SGPE Panic Code Cleanup such as debug halt support. However PGPE Panic Code Cleanup is dealt in a different commit Key_Cronus_Test=PM_REGRESS Change-Id: I893aa1ef21d2f684722b8c10dbbeb92b9505c1c4 CQ: SW410252 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49275 Tested-by: PPE CI <ppe-ci+hostboot@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49430 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>
* p9_pm_pstate_gpe_init: setup Fsafe in all configured QPPMsPrasad Bg Ranganath2017-11-301-0/+28
| | | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS RTC:180835 CQ:SW409454 Change-Id: I35d437ad7aee0c99be6281e1b745a195e2e6479f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49720 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49723 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>
* Level 3: Stop GPE, PGPE proceduresSangeetha T S2017-09-061-23/+24
| | | | | | | | | | | | | | | | Change-Id: I12e5191f4503010f870e7b3a27f366d2479823e4 RTC: 139534 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40537 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41978 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>
* PM: no EQ (eg no core) supportGreg Still2017-08-041-23/+38
| | | | | | | | | | | | | | | | | | | | | - disables Pstates due to lack of #V VPD - Doesn't start Pstates in AUTO mode - Fixed in setup evid procedure related to same issue - rebased Change-Id: I6f52b5d968e3f66da8c9d33067424bebd333d587 CQ:SW390516 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43083 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43085 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>
* PM: set PGPE and SGPE Timer SelectGreg Still2017-07-071-0/+9
| | | | | | | | | | | | | | | | | | | - Writes fixed values for FIT and watchdog timers on both engines - Needed for DD2 as DD1 was done with initfile settings - Will work for either DD level Change-Id: I8fa0a5a20091016e4210b7c81b0297bded7ade62 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42496 Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@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/42500 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>
* WOF: HWP support for advanced function enablementGreg Still2017-06-301-59/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Moved to "system disabled" paradigm (eg functions are ON but default) - Moved p9_hcode_image_build to using HWP attributes from p9_pstate_parameter_block - Added Pstate Auto Start to p9_pm_pstate_gpe_init to support advanced functions in Cronus - Add p9_pstate_parameter_block_errors - Added error points for #V validity. One creates an information error log and disables WOF. Others disable Pstates. - Add error points for resonant clocking errors in p9_pstate_parameter_block - Refactoring - Subfunction API change for p9_setup_evid - Added wof header verification and tested the code - Corrected Jump value verification - Removed the check for 0 values of N_S and N_L - Address Gerrit comments on validation - Added verification for VFRT header and fixed vfrt header members - Rebase with VFRT fix (after merge) - Added some checks in iac vdn calculation part - IDDQ output formating updates - Fixed VDM and WOF disable checks Change-Id: I3e62e04c7873bb6bb7c8d96e1e91d72fb044d81e RTC: 173672 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40954 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41096 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PM: HWP update for VDD AVSBus topology handlingGreg Still2017-05-241-1/+20
| | | | | | | | | | | | | | Change-Id: I234a2eacdb5e1c48f5f4cc1cf82573bc2eb4a253 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40672 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40675 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>
* Correct PState and Stop GPE polling period to 500ms vs 500usBrian Vanderpool2017-05-031-2/+3
| | | | | | | | | | | | | | | | | | | The fapi2 delay calculation takes nanoseconds as the arg. The code was passing in microseconds, resulting in the PGPE timing out while booting Change-Id: I413c344defd1c9fa291777ba9825fc99827ecee0 CQ: SW387629 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39944 Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39954 Reviewed-by: Hostboot Team <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>
* Register data collection in FFDCSangeetha T S2017-04-021-4/+7
| | | | | | | | | | | | | | | | | | | | - Add PBA registers to FFDC collected on PBA init/reset fails - Add XISIB register collection as part of CME FFDC - Enable the callout/register ffdc collection for the target used Change-Id: I76d0e63d3e0f838f2b1e905b4a736bccaa8457e7 RTC: 168127 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37996 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38002 Reviewed-by: Hostboot Team <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: Daniel M. Crowell <dcrowell@us.ibm.com>
* p9_pm_pstate_gpe_init and p9_pm_pba_init updates for PGPE bootingGreg Still2017-02-271-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | - Allocated PBA Slave 2 to PGPE for both booting and runtime. - Setup PBA Slave 1 for GPE1 for use by OCC FW during run-time - Added debug halt detection for lab use - Typos from comments - Made stand-alone with p9_hcd_common.H updates Change-Id: I6c7513c0dff9d4fb53c8320f1ed78cf7fdbe0fc8 Original-Change-Id: I9df3676c9f58cbced49f0a5605be0d787fa930c7 RTC: 168104 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35547 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: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Sangeetha T S <sangeet2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37045 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* p9_pm_pstate_gpe_init Level 2Greg Still2017-02-271-0/+253
- Include fapi2::delay for polling and overall timeout calculation - Unit tested with Suet - Awan tested with real Hcode to set "PGPEActive" bit Change-Id: I8d03988b82813542d8e4a40ed6b577838850baf5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21583 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21585 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: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud