summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_corequad_init.C
Commit message (Collapse)AuthorAgeFilesLines
* PM: clear Hcode error injection bit upon PM complex resetGreg Still2018-05-311-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | - 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_RESCLK: Clear override bits of CACCR in reset flowPrasad Bg Ranganath2018-05-231-8/+24
| | | | | | | | | | | | | | | | Change-Id: I562ebde813ecfd76f7352197276efeccce88b297 CQ:SW430120 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59263 Reviewed-by: YUE DU <daviddu@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+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: 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/59272 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Disable-CI: Dean Sanner <dsanner@us.ibm.com>
* PM reset: Fix disable resclk procedurePrasad Bg Ranganath2018-05-191-16/+27
| | | | | | | | | | | | | | | | CQ:SW427449 Change-Id: I5fa942cc5c4981946a37e3c8b828ff5e12fd16df Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57467 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57475 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>
* Fix bug in cache query state procedurePrasad Bg Ranganath2017-11-171-10/+22
| | | | | | | | | | | | | | | | | Change-Id: Ic4869b2d73e90bd213c229fc83b189cb10ad57b6 CQ:SW407497 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49476 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49585 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: William G. Hoffa <wghoffa@us.ibm.com>
* RESLCK:p9_pm_corequad_init:port CME resonant clock disablement to FAPIPrasad Bg Ranganath2017-10-081-2/+277
| | | | | | | | | | | | | | | | RTC:177123 Change-Id: I9abadacb52aab6578977e1271b738a92aa48d088 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46613 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> 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/46656 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>
* PM: p9_pm_corequad_init Level 3Greg Still2017-10-081-97/+174
| | | | | | | | | | | | | | | | | | | | | | | - Moved to use of PPE utils to halt the CME - Place holders identified for HOMER PM FFDC calls - Cleared PPM error regs consistently - Added CME register per XML and callbacks - Added EX gard for CME halt failure - Fix deconfig and gard targets to be correct Change-Id: I26cb58ff302f2305ac004760a655fe53bacce43f RTC: 174350 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46392 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> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46393 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>
* Bug fix in PM firinit procedures(CME,OCC,PBA)Prasad Bg Ranganath2017-09-051-18/+0
| | | | | | | | | | | | | | | | | | CQ:SW399439 Change-Id: Idf183e38f695fd32b6a4aeacf2303b7bf19879df Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45033 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: 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> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45037 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* STOP: move CME scominits from corequad_init to SGPEYue Du2017-06-211-108/+56
| | | | | | | | | | | | | | | Change-Id: I428c16cc512101bceb5a2431c599c50bfb732c02 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39514 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39523 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>
* Reapply "Use query_cache_access_state to verify EQ scomable in.."crgeddes2017-05-251-0/+21
| | | | | | | | | | | | | | | | | | | | | In corequad_init we cannot rely on hwas states because targets are not always scommable even though they are functional. This adds a check to ensure a ex is scommable before we attempt to scom it. This had to be removed because we were incorrectly querying the core EQ state. That issue is now resolved Change-Id: I4a3c516b5063e1a898f2ebe7f0da68cfb965b737 CQ: SW388687 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40927 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.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/40934 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Revert "Use query_cache_access_state to verify EQ scomable in corequad_init"crgeddes2017-05-241-21/+0
| | | | | | | | | | | | | | | | This reverts commit 88f0b7f45fc4989990cf7cd94de3e80d1ce34872. Change-Id: Ic7b2fd3d1767748a4306b4ed6b08acbfadc8f894 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40885 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40886 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Use query_cache_access_state to verify EQ scomable in corequad_initcrgeddes2017-05-221-0/+21
| | | | | | | | | | | | | | | | | | | | In corequad_init we cannot rely on hwas states because targets are not always scommable even though they are functional. This adds a check to ensure a ex is scommable before we attempt to scom it CQ: SW388687 Change-Id: Ic4ea7a71231a0cbc13e76fa085cbd3b1a47348c0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40560 Tested-by: Jenkins Server <pfd-jenkins+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 KUMAR <akumar3@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40565 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* Fix clearing CME_FLAGS to use EX target instead of EQ targetBrian Vanderpool2017-02-021-6/+9
| | | | | | | | | | | | | | Change-Id: Ifb86d69e71994c3a1b286e910c1729bde21bb515 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35189 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35197 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>
* Fix PM procedure problems found during hardware bringupCorey Swenson2017-01-191-4/+2
| | | | | | | | | | | | | | | Change-Id: Ib559a6a5b57957d1a8934a8b802bbfcf8fa392a7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34847 Tested-by: Jenkins Server <pfd-jenkins+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: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34854 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>
* Collect register FFDC for CMEsSangeetha T S2016-11-041-1/+2
| | | | | | | | | | | | | | | Change-Id: I9dbe6c989779311283189f7218aef387adb65403 RTC: 163326 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31902 Tested-by: Jenkins Server <pfd-jenkins+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: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32093 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_init: Level 2: Implement functionalitySangeetha T S2016-08-051-4/+4
| | | | | | | | | | | | | | | | | | | | | > Transliteration from FAPI 1.0 to FAPI 2.0 > SUET Test > AWAN Test > Add fixes to p9_pm_corequad_init, p9_pm_pba_init & p9_pm_ocb_init Change-Id: I0e29d6aa40b5cee7d993f20ee83dcf69ca6b0aad RTC: 154516 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25348 Reviewed-by: Gregory S. Still <stillgs@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: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25351 Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update prologs of mirrored files to apache licenseStephen Cprek2016-08-051-8/+14
| | | | | | | | Change-Id: I25a782f6f8af801beb35f541f6076c482b78bf8e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27920 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* p9_pm_corequad_init: Level 2 - Fapi 1.0 to Fapi 2.0 transliterationSangeetha T S2016-06-091-5/+421
| | | | | | | | | | | | | | | Change-Id: Ic2917d7eb65136134c3c9e3519a19e5e6e186536 Original-Change-Id: I779ac5c24decb6121ce8a4e7a46ea657d0cbf3d7 RTC: 148006 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22233 Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25500 Tested-by: FSP CI Jenkins
* p9_pm_corequad_init : Level 1 - Interface designSangeetha T S2016-06-091-0/+91
Change-Id: If56735d281b74fdb6e3c60278fa2e34773d0e995 RTC: 140971 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/10671 Tested-by: Jenkins Server Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25499 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
OpenPOWER on IntegriCloud