summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures/ppe_closed/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-049-167/+39
| | | | | | | | | | | | | 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>
* Revert "Self Restore: Integrated support for build of self-restore code in EKB."Gregory S. Still2019-02-046-14/+6
| | | | | | | | | | This reverts commit dcebd90d5d9518bfe9809dac395f8410d67f5ee6. Change-Id: I8c6f8cfcbdb947b58ad65c6ff32ee53763c02cb1 Original-Change-Id: I588f0798c0f1914e10f7aef218e9e377b12aa3c2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61066 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Self Restore: Integrated support for build of self-restore code in EKB.Prem Shanker Jha2019-02-046-12/+20
| | | | | | | | | | | | | | | | | | | | | | | Self restore binary used to get built by a shell script standalone. It used to get checked in to EKB. Hardware image build infrastructure used to just pick that binary and insert it into the hardware image. This commit augments the EKB build flow by incorporating a capability to build self restore binary like any other executable generated during EKB build. Syntax to build binary: ekb build p9_core_restore_routines Key_Cronus_Test=PM_REGRESS Change-Id: Ia99f9d4cd8e98aadbe889e852f5a2e111ae66ba3 Original-Change-Id: Ifdcf31df6ceded564222f6962d94a3459072a3d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57345 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: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Revert "Self Restore: Integrated support for build of self-restore code in EKB."Gregory S. Still2019-01-301-3/+1
| | | | | | | | | | This reverts commit dcebd90d5d9518bfe9809dac395f8410d67f5ee6. Change-Id: I7fc75a78b2bca4deb0127c11463417e94ea2501f Original-Change-Id: I588f0798c0f1914e10f7aef218e9e377b12aa3c2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61066 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Self Restore: Integrated support for build of self-restore code in EKB.Prem Shanker Jha2019-01-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | Self restore binary used to get built by a shell script standalone. It used to get checked in to EKB. Hardware image build infrastructure used to just pick that binary and insert it into the hardware image. This commit augments the EKB build flow by incorporating a capability to build self restore binary like any other executable generated during EKB build. Syntax to build binary: ekb build p9_core_restore_routines Key_Cronus_Test=PM_REGRESS Change-Id: Ia5b324c74b2ae71a7464f5eebd09e20aa6537639 Original-Change-Id: Ifdcf31df6ceded564222f6962d94a3459072a3d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57345 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: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Revert "Self Restore: Integrated build with rest of the EKB build flow."Prem Shanker Jha2019-01-301-3/+1
| | | | | | | | | | | This reverts commit 9a74fd0f1b933fa171eaa10e0a60540160ce7aca. Change-Id: I7ad6f88ac3f66669a97547da87fbe292ee13c657 Original-Change-Id: Id935d8de4ccca6a41d25e8b9465f69fad8941188 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56661 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Self Restore: Integrated build with rest of the EKB build flow.Prem Shanker Jha2019-01-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | Self restore binary used to get built by a shell script standalone. It used to get checked in to EKB. Hardware image build infrastructure used to just pick that binary and insert it into the hardware image. This commit augments the EKB build flow by incorporating a capability to build self restore binary like any other executable generated during EKB build. Syntax to build binary: ekb build p9_core_restore_routines Key_Cronus_Test=PM_REGRESS Change-Id: I76916b617b980ed9b57ce91e9bd33b008874c8e8 Original-Change-Id: I68b2587eab2798b7b8a2a188187767fa53aaf12f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55259 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+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> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Add support for p9c 1.2Ben Gass2019-01-301-0/+83
| | | | | | | | | | | | | | | | Also initial mk files for p9n 2.3, but p9c 1.2 will be first. Change-Id: Ibebeed2de246d4a7be34eca74c780c29bfddd688 Original-Change-Id: Ia73aba37be5bcf64b1b2cfe5b1ed153b189c7777 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53909 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: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Clean Up PROLOGRahul Batra2018-11-271-5/+0
| | | | | | | | Change-Id: Ibfa698a129c9c1ea771f1d1681db38d6a303b5a6 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69079 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>
* Self Restore: Changes for SMF and SPR self save.Prem Shanker Jha2018-11-131-2/+2
| | | | | | | | | | | | | | | | | | Commit incorporates following changes: - thread launching based on new self-save restore layout. - self restore in UV mode, UV enter - HV exit mode - self restore in HV compatibility mode - self save of SPRs Key_Cronus_Test=PM_REGRESS Change-Id: Id574e4ec03ba644cd59b82baba8c7a9066d80f0c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66251 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> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Revert "UV Support : Augmented STOP API and self restore for enabling UV"Prem Shanker Jha2018-11-131-2/+2
| | | | | | | | | | | | | Change-Id: I4dc0cc495073097d999a1b2111f34dfa5c0c354c Original-Change-Id: Iaabd787166422b68179901b7785ab3e8a54d35b8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65875 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> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* UV Support : Augmented STOP API and self restore for enabling ultravisor.Prem Shanker Jha2018-11-131-2/+2
| | | | | | | | | | | | | | | HW-Image-Coreq: yes HW-Image-Prereq: Ia9ae0d284398af375f1562efff152a6a12a6eb9a Change-Id: I67f9ec7a76acc93d89a479bcbae343d2b278ce11 Original-Change-Id: I1f7ca865640dfc0a08aef783fd3595d2f249a672 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/58843 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> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Change cme init to avoid using sisr block wakeup statusYue Du2018-10-183-1/+3
| | | | | | | | | | | | | 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: Fix leftover wakeup aborting next entryYue Du2018-08-222-0/+2
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I426f31fe069c3c53e8c80662b7ef816475726e89 Original-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: 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>
OpenPOWER on IntegriCloud