summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures/ppe_closed/cme/stop_cme
Commit message (Collapse)AuthorAgeFilesLines
* Self Save: Added support for SPR self save in CME hcode(func ver)Yue Du2019-04-093-191/+305
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I890e2f8ee2fc50214ad84a37ff8098807fe6cd60 CQ: SW454956 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65480 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* HCODE: Add git commit to version field for QPMR, PPMR, and CPMRDouglas Gilbert2019-02-041-1/+11
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I0fb804fcc4a591260138ebda65940b61fab8b9c4 RTC: 201124 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64648 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Change cme init to avoid using sisr block wakeup statusYue Du2018-10-181-1/+1
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Id49bfd96af3db195b4b205deb8f3fd9222257c57 CQ: SW444858 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65779 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* SMF: clear HRMOR[15] in all modes so that secure mode won't hang coreGreg Still2018-10-061-0/+2
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I26a98dfce1eb8123c79b35f2f4dc1783e16e411e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66687 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* UV Support: CME Hcode changes to enable STOP entry exit in SMF mode.Prem Shanker Jha2018-08-302-0/+40
| | | | | | | | | | | | | | Commit incorporates CME hcode changes that enable exit from STOP as UV or HV at runtime. Key_Cronus_Test=PM_REGRESS Change-Id: Ia9ae0d284398af375f1562efff152a6a12a6eb9a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64172 Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Spwu Auto to Manual mode Signals Sync up.Yue Du2018-08-251-0/+4
| | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I23702ac9c23485b65e77c8454ccbd43e4e4bb0da CQ: SW443007 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65076 Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Assert Auto Special Wakeup mode on cores with halted CMEYue Du2018-08-221-22/+21
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I743f270638697324dfc79b915023c76c5500229e CQ: SW440106 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63410 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix PLS/Srr1 over reporting bug (impact stop2 only)Yue Du2018-08-221-155/+139
| | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I5cfb4342c68aa1426c53f8997e976f57df4eba1f CQ: SW438639 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62172 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix hole in 62403Yue Du2018-08-221-0/+6
| | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Idd49710edc606f856c2fb75a9e6c4ee28f60f3bd Original-Change-Id: Ieef4ad78a186fbbb7ae9fc947b21640970b723f0 CQ: SW438634 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62661 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Stop1 Window conditionsYue Du2018-08-221-1/+1
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I0614e0eb886d0cfb2a39c0866680d235853da52e Original-Change-Id: I59429f5ac7282378ae5550b3c09e319a51208cdc CQ: SW435666 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62403 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Clear CPPM_PECES on entry during power save cycle to prevent wakeup eventsBrian Vanderpool2018-08-221-0/+9
| | | | | | | | | | | | | | | | | During the power save cycle, clear stop exit enables to prevent a hw generated wakeup pig from overwriting the stop entry request. In this mode, SGPE will read the per thread PSCR information and restore the PECE Shadow Key_Cronus_Test=PM_REGRESS Change-Id: I8029f815553e49e12e80f7a0d20c02a7d59e26ea Original-Change-Id: I2521b38918f23c5dac4aefc59968ead05ad29b4d CQ: SW433304 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60922 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: clear Hcode error injection bits upon injection and malf alertGreg Still2018-08-221-0/+2
| | | | | | | | | | | | | | | - Also deals with PM callout order issue with the malf alert assertion Key_Cronus_Test=PM_REGRESS Change-Id: I1c2da3210aaeaff115a67dd8a17d09b39467bbf7 Original-Change-Id: I78b41c59d09369c60891beb41ff9debc986e59b4 CQ: SW434547 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60316 Tested-by: Jenkins Server <pfd-jenkins+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>
* STOP: Fix leftover wakeup aborting next entryYue Du2018-08-221-0/+9
| | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Iff892a1e71423197ae894293e5c6df242ea6fc1d CQ: HW450809 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59718 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher R. Jones <crjones@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Srr1 wrongly reported upon special wakeupYue Du2018-08-221-26/+48
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I8d0b0934b946728e0d0d4befdc6077ad77e2f178 Original-Change-Id: Idaacd4fd30afbf49b1cfbaea4baf6cf898373c3a CQ: SW431323 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59693 Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: RANGANATHPRASAD BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: CME/SGPE Hcode size reduction via global use of literalsYue Du2018-08-221-36/+39
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I6ea9e7a29ad3a12b89eb59a4a557e9d96ef8e276 Original-Change-Id: Ic9ec56beff42f052e88bde98e90e01d44ac43e4f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58542 Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+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> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix History Write Data Machine Check by PPM_WRITE_DISABLEYue Du2018-08-221-7/+7
| | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ib87dfaf483bd138f210b11f17ba8f02c7b2c35ee Original-Change-Id: Id0e6ccfec61ab2c6cf03fe58523d4610dc9d5ccd CQ: SW428789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58688 Dev-Ready: YUE DU <daviddu@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* CME: Process DB0 inside intercme_msg_handlerRahul Batra2018-08-221-0/+2
| | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ie2fa22797a7f42941edb04a52245cd19cbb6b95a Original-Change-Id: Ibba9da7c8715dcd0b79790c8466db72a0ccdeeb1 CQ: SW426908 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58123 Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Error Handling SupportRahul Batra2018-08-221-0/+6
| | | | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ib750bb6021c0be02be5084853e77dbae9e10fec6 Original-Change-Id: I00aca629108aeaca88db34eec8e408f3cd48ff7f CQ: SW414842 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48635 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: YUE DU <daviddu@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> 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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix Infinite Stacking up Stop Processing led by Entry AbortYue Du2018-08-221-3/+26
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I2fff206a97afd41ef432ba9229cd93e5d34e82e6 Original-Change-Id: Ib55a367b7e4e1c8b66e7473c696dceaa373b9a84 CQ: SW420964 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55802 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Data Machine Check with PLS FixYue Du2018-08-221-0/+8
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I299f8e46ec1cc01e5d93d2ac7eb87f58291e7215 Original-Change-Id: I5ef81a8c36a51d56881d453d008669707e6269b6 CQ: SW416039 CQ: SW419333 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54867 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Support Suspend Entry/Exit and Fix Pig CollisionYue Du2018-08-221-70/+17
| | | | | | | | | | | | | | | | | | | | | | 1) also cleanup todos in Stop Hcode 2) make STOP3 complete trans in SSH Key_Cronus_Test=PM_REGRESS Change-Id: I9287d1b24b69f9e1547701da60ab8205ac0de448 Original-Change-Id: I28a146e15e455f09f8d8ff588e122d5ecf34110a CQ: SW416550 CQ: HW437955 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54660 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> 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> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Abort Entry on ErrorYue Du2018-08-221-40/+50
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ia54a4b2a5f13d62d4f7ec2c28b2a1baf0aa5d0dc Original-Change-Id: Ifbea7f6a0b0ffd0a124131bfe957f206466c0ff5 CQ: SW416545 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53425 Reviewed-by: Michael S. Floyd <mfloyd@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: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Block Wakeup Mode with Catchup and Abort casesYue Du2018-08-221-7/+12
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ib95ce9e93bfc66dd0597e96a5d104b1a9740ff14 Original-Change-Id: I9020bc4667f3f3887bf1f6560676bc3583c547c5 CQ: SW417400 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54040 Tested-by: Jenkins Server <pfd-jenkins+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> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix Phantom PCWU causing CME IOTA to haltYue Du2018-08-221-3/+6
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I1eb1369b12454b4f2479cc0d52bff82ce9fc4281 Original-Change-Id: I6d87f34d2fb9be52f0221be3d7dd682aeca652ce CQ: SW413313 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51568 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* CME Code Size Reduction ATTEMPT#3Michael Floyd2018-08-221-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- some IOTA kernel cleanup -- also add checking for IOTA execution stack overflow -- re-coded to eliminate some math library macro usage -- added native 16-bit multiply -- re-coded to remove redundancy from external interrupt handler -- removed dec handler (optional define) and other minor cleanup -- fixed Interrupt initialization code in std_init (all PPE images) -- always inline pstate_db0_clip_bcast & update_vdm_jump_values_in_dpll -- optimized pls calculation code -- optimized pstate init, db1 handler, core good handling -- optimized pmcr requests and pmsr updates (always write for both cores) Key_Cronus_Test=PM_REGRESS Change-Id: I759785cd28f6eda8c807a476c7173a8fb39bbc38 Original-Change-Id: If48fec5832bd5e46cb89f0d6a97d90a488e8ff7b CQ: SW415503 RTC: 178789 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53381 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+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> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix PLS deepest when stop4+ due to self restore wakeupYue Du2018-08-221-7/+236
| | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I3613a44daaab9c7cf73fabd18283f85ec63a8742 Original-Change-Id: I4cc1e50a848d627f0ec3917bb8ebd39f20dc9466 CQ: HW420338 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51719 Reviewed-by: YUE DU <daviddu@us.ibm.com> Dev-Ready: YUE DU <daviddu@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: PPE CI <ppe-ci+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: Brian T. Vanderpool <vanderp@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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: PMSR Update FixesRahul Batra2018-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | -Removed any direct PMSR writes by PGPE -Fixed Clip Bcast ack during cme registration -Moved pmsr_updt from resclk to stop exit -Added Safe Mode DB0 Key_Cronus_Test=PM_REGRESS Change-Id: I9699dfbfe0beb3b82f95dba1512e78ef16fe6e65 Original-Change-Id: I4ba0372621a93242346f84e68db505a797155a2f CQ: SW407261 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49324 Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Hcode Injection: Adds hcode error injection capability.Prem Shanker Jha2018-08-221-0/+10
| | | | | | | | | | | | | | | | | | | Commit adds error injection capability in the hcode of CME, SGPE and PGPE. - CME reads CSAR[30|31] and if asserted traps - SGPE reads OCC Flag2[30] and if asserted traps - PGPE reads OCC Flag2[31] and if asserted traps Change-Id: I42488f9f3e4eb0a5cd1bac2108bbd46802dce647 Original-Change-Id: Ia8476076ce4953ced4eda30927bd891481b0373c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48920 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix Dec Wakeup on NDD2.1Yue Du2018-08-221-2/+2
| | | | | | | | | | | Change-Id: I2078627eeb36d7981f40a40b3aa29cbd47fffaf2 Original-Change-Id: I4fa5b8c9d074fd4616ae25afd549355e31543c64 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47095 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix VDM being powered down through Stop2Yue Du2018-08-221-0/+6
| | | | | | | | | | | | Change-Id: Iac038b09c4994248de3bb639f95e282a37dea315 Original-Change-Id: Ifd0606723105e335fdf078d6d188d434c0e89bd8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46959 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Core livelock busterYue Du2018-08-221-0/+8
| | | | | | | | | | | | | | | | | | | Using the FIT timer, periodically quiesce both cores to avoid a livelock between two active cores 1) Mask SCOM RC=4 on the write to direct controls to stop the core 2) If core doesn't quiesce, abort and restart the core 3) Use the 32ns timebase to abort quiesce attempt after 200us 4) Add quiesce abort count to CME_Record 5) Make abort count a #define Change-Id: Ibaf60e96350ba5d94d782ba6143df3e21004266f Original-Change-Id: Idd50c7535bf343d7a8c1b7fb2ba0374349df5082 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45708 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Add Core quiesce workaround to CME Fit TimerYue Du2018-08-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- p7: Added a check for LSU and Nest quiesce as well -- p8: Added clear of the TSR FIS to IOTA fit handler -- p9: Added stop workaround on checkstop or special attention -- p10: rebase on disable flag support -- p11: 1) enable for Cumulus 1.0 and Nimbus 2.0 & 2.1 only 2) disable the livelock buster if special wakeup done is asserted 3) clear the fit_counter when special wakeup done or stop entry is done on either core 4) delete CME_FLAGS_DISABLE_PERIODIC_CORE_QUIESCE and instead look at bit 2 of CPPMR with dualcast OR unless nimbus dd2.0 then you have to read both cores and OR because of the bug -- p12: 1) no longer have PGPE sample OCC Flag bit 13 (back out the change) 2) have SGPE init set CPMMR bit 2 in response to the attribute instead of CME flag bit 23. 3) add cme_flags[12] as workaround active bit (nor of both cpmmr[2]) -- p13: kills the CME flag, OCC flag and SGPE header flag diff commit will establish attr-> cpmmr[2] simple flow cme only read cpmmr[2] -- p14: in case of stop0/1, assert pm_exit and poll for it to wake core up -- p15: rebase -- p16: add drop pm_exit after workaround -- p17: add pm_exit delay, remove pm_active=1 poll remove some PK_TRACEs, change to unified compiler flag Change-Id: Ic9d77954488977967a93049d1da0f785aae9639f Original-Change-Id: I855f7f8e4b5ce7275511d581b8e68d10217ab601 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44965 Reviewed-by: Michael S. Floyd <mfloyd@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: Juan R. Medina <jrmedina@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP/EPM: Fix EPM markerYue Du2018-08-221-4/+4
| | | | | | | | | | Change-Id: I32928d9fef3a65d9923a55d18a5372f7b8b8f17d Original-Change-Id: I627ea3bb1e95fb1f47d173af47c8a7cba1c62b48 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44769 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher R. Jones <crjones@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* IOTAChristopher M. Riedl2018-08-221-0/+4
| | | | | | | | | | | | | | | | | | | | - implement iota panic ("dead") codes - fix uih interrupt window condition leading to iota machine stack overflow and/or phantom interrupt detection - fix iota static machine stack init value - refactor UIH for both IOTA and PK to pull the priority table from a common source - the entire INTERCME0 IRQ handler in PK is executed with EE=0, for IOTA this can only be emulated by masking all higher priorities in the UIH for that particular task/interrupt priority group Change-Id: I4eafbe95870761bdf45ce17f9c6e0fee7a20f800 Original-Change-Id: I8357518b02922d3328aff4d80003ac3030fdd5e7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44135 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Core Xstop InjectionYue Du2018-08-221-21/+32
| | | | | | | | | | Change-Id: I0103eb23846cb29acbc69a2ff6ab595131cf83c6 Original-Change-Id: Ia39449ebf5a013abd74bd5c3c0d0ea7113e2a490 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41747 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix DISABLE_STOP8 broken HB in NDD1Yue Du2018-08-221-8/+0
| | | | | | | | | | Change-Id: I38b7bb20e0d353bdb30a67d352d369262386e958 Original-Change-Id: I97f6e4134ba6d5fbd7f47dda1f5dd4061e12c234 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43648 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Stop5 Performance Boost and solve IPC issuesYue Du2018-08-221-1/+1
| | | | | | | | | | Change-Id: I552a0bafa54138a7aa9f5e6beda9232651cb0644 Original-Change-Id: If812b643abbfaf4725c398ee6f64b7dbaa9f52d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42412 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Disable Stop8Yue Du2018-08-221-0/+8
| | | | | | | | | | Change-Id: Ic724b4909798f7fccb1745ad5798ad985bb2ffb5 Original-Change-Id: I9fb54b8a96797fd1f78845db8fbbcb8c1a99eb1e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41948 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Remove sdisn dd1 workaround from dd2, add syncYue Du2018-08-221-2/+12
| | | | | | | | | | Change-Id: I10076fbe888392d7495fa3088ce8cce8a2717ffd Original-Change-Id: I1cd4a9ac567e723165cc4f709c23948b38d669aa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43128 Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: collection of small fixesYue Du2018-08-221-0/+12
| | | | | | | | | | | | | | | | 1) Copy PECE in stop1 fix Pfet sense poll 2) fix clean db2 3) rebased 4) atomic lock around entry/exit Change-Id: Iaa3a34ebebd72f2551a2e2af56845b58cc6de5ce Original-Change-Id: Iabbd8619ee18f949c01000ce849bc93c2de4ba87 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41551 Reviewed-by: Adam S. Hale <adam.samuel.hale@ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Put PIG and Notify_select back to backYue Du2018-08-221-59/+11
| | | | | | | | | | Change-Id: I41394f820379c140f373fe2287b43966791d7b06 Original-Change-Id: I5e0a237aa8abd7933bf0941d0c98d2c41b3f611f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42876 Reviewed-by: Adam S. Hale <adam.samuel.hale@ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: CME no state loss causes stop level mapYue Du2018-08-221-3/+23
| | | | | | | | | | Change-Id: I845f74792f508c8f0017ad296c1fef142ec9044c Original-Change-Id: I5c3feb9e0376cf2c3d7325284612c4eebd014fad Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42558 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix EPM Compiler errorYue Du2018-08-221-4/+4
| | | | | | | | | | Change-Id: If5571c881cf9d0865df04910957a2479f5972c0d Original-Change-Id: I5eb959c0d8cc58bd19092c4674676f2472f5c494 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42450 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Fix DD LEVEL to support minor ECsMichael Floyd2018-08-221-5/+5
| | | | | | | | | | | Change-Id: Ifdc48eeadbae4df747d7dd19e84d43b1f463b197 Original-Change-Id: I658b545b74e4aab8b766b1424632c25edd76c73f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42513 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Scrub _ANR and _OR opcode from regular cme getscomYue Du2018-08-221-18/+16
| | | | | | | | | | Change-Id: I3935231aac06955d0fe0b40b279f890c0d571888 Original-Change-Id: Ie886e4d7f5b515e89cdef797e87deb07a822f058 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40765 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: NDD2 daul cast workaroundYue Du2018-08-221-756/+789
| | | | | | | | | | Change-Id: I27e924dd5a1ddc2725b35e66ed8a8ce2ac8cb98a Original-Change-Id: I447a8343ee212ee24db8a1ccef22cc28f4e80d7f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40640 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PSTATE: CME refactoring and cleanupRahul Batra2018-08-221-3/+4
| | | | | | | | | | | Change-Id: I27de746edab70e9d74183c2e7ce166cd8bb69b2e Original-Change-Id: I03cc2316da7b997c467ece0412a5212e38718318 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40823 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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Move Stop 8 code from CME to SGPE for CME space savingsYue Du2018-08-221-0/+5
| | | | | | | | | | Change-Id: I98d46b4bd4e5271da867e511f91de9accc908929 Original-Change-Id: I8ef3a2bb61d562462a7594275ea219597d7e519c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40667 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix hostboot stop level mappingYue Du2018-08-221-3/+5
| | | | | | | | | | | Change-Id: I7183c3c956e2d661b2b3ccafb51bfd1b0a13032b Original-Change-Id: I261944757d137077be4d2788f8433a9392d2dd80 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40761 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix STOP1 with PowermixerYue Du2018-08-221-36/+45
| | | | | | | | | | Change-Id: Ia993479ed2d126ecbe5c91bdadd0a5e25d7ef799 Original-Change-Id: I42a9cbaab372506de09be183448bc3fcb5362c2c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41139 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
OpenPOWER on IntegriCloud