summaryrefslogtreecommitdiffstats
path: root/import
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Hcode: hcode changes for STOP exit in SMF enabled HV mode"hostboot2020-02-011-0/+0
| | | | Change-Id: Ifea38fef46b8fb0c7445c15c5301509e42ed6b54
* Revert "Hcode: hcode changes for STOP exit in SMF enabled HV mode"Gregory S Still2020-02-014-185/+91
| | | | | | | | | | | | | This reverts commit ff590eff954571ee8f9a32d7daf67fbdb36ab97a. Change-Id: I0a0b549a87a1cee4c554aa9b8cf8c6febd134cea Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/90214 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: Gregory S Still <stillgs@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>
* Hcode: hcode changes for STOP exit in SMF enabled HV modehostboot2020-01-181-0/+0
| | | | Change-Id: I47a8d3c096f941046acc0c254edf778d971690f7
* Hcode: hcode changes for STOP exit in SMF enabled HV modePrem Shanker Jha2020-01-185-101/+195
| | | | | | | | | | | | | | | Commit addresses STOP exit issue in HV mode with SMF enabled from hcode perspective. Self-save restore binary is fixed to so that on STOP exit core enters linux in HV mode with SMFCTRL[E] bit SET. Change-Id: I8f1c9ab5181786a39efd53453e02e16295a87b36 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87552 Tested-by: Jenkins Server <pfd-jenkins+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: Gregory S Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* Self Save: Fixing self save of core SPR.Prem Shanker Jha2020-01-182-4/+88
| | | | | | | | | | | | | | | | | | | | | Commit fixes - the issue originated due to withdrawal of self-save for HRMOR and URMOR. This withdrawal created an asymmetry in the design of self-save and restore. Commit fixes the self-save common routine which now accounts for not self saving of HRMOR. - missing handling of an LE core in STOP entry path. Key_Cronus_Test=PM_REGRESS Change-Id: I3bcdb9b0a4c6e0c99b2731c5253872f2ffb41244 Original-Change-Id: I9a10b4ff0062980ed496d93976a2a30a6f31af77 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75808 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Self Save: Added support for SPR self save in CME hcode(func ver)Yue Du2020-01-182-26/+4
| | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I3d6768bfb19b17ae9e2520f3938fb98ab7204be9 Original-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>
* Self Restore: Changes for SMF and SPR self save.Prem Shanker Jha2020-01-182-0/+1654
| | | | | | | | | | | | | | | | | | | 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: I1de20f69036d9bbc468ef2f5b1d700b2279592ba Original-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 Jha2020-01-182-1612/+0
| | | | | | | | | | | | | Change-Id: I210608cdb97fabb12907b1c7b57f7df265cb5f36 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 Jha2020-01-182-0/+1612
| | | | | | | | | | | | | | | HW-Image-Coreq: yes HW-Image-Prereq: Ia9ae0d284398af375f1562efff152a6a12a6eb9a Change-Id: I48c087f103f0a6535b45ad4c87d2633f329c5d80 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 API: API to verify API and image compatibility.Prem Shanker Jha2020-01-083-5/+91
| | | | | | | | | | | | | | | | Commit defines a new API primarily intended for OPAL to determine cpu register save API's compatibility with HOMER layout and self save restore. It can help OPAL determine if version of API integrated with OPAL is different from hostboot. Change-Id: Ic0de45a336cfb8b6b6096a10ac1cd3ffbaa44fc0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77612 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: Gregory S Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* Img Build: Updated STOP API version to reflect SPR self save availability.Prem Shanker Jha2019-12-191-0/+7
| | | | | | | | | | | | | | | | Commit version field of associated with self save restore and cpu save API. This is part of the solution identified to address version mismatch and missing commits pertaining to STOP on open power side. Change-Id: I462d84b13e93752813fc2e4bb32d0ee7753ed6ac Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77523 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> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* Abus PPE TSX FixChris Steffen2019-10-251-13/+47
| | | | | | | | | | | | - Updated PPE code to help catch slow TSX patterns Change-Id: I082ea8a57ad62cca99858041524b00afefc31e14 CQ: SW477839 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85664 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Megan P Nguyen <pmegan@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* Make COREFIR(63) unit checkstop for CumulusJenny Huynh2019-10-181-3/+3
| | | | | | | | | | | Change-Id: Iee9a8eac390f24a3902970441321dede0ebeae2b CQ:HW509193 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85361 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Kevin F Reick <reick@us.ibm.com> Reviewed-by: Joseph J McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* CME: Perform SMF Self Save After RAM Psscr.PLS in STOP EntryYue Du2019-10-121-61/+61
| | | | | | | | | | | Change-Id: I38d6b03c2a44def6aed080722a77e08892d35efb CQ:SW474026 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85053 Tested-by: Jenkins Server <pfd-jenkins+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> Reviewed-by: Christopher R Jones <crjones@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* PGPE: Multiple Droop Handling FixRahul Batra2019-09-173-19/+44
| | | | | | | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS - Fixes droop handling issue where the second time prolonged droop condition is detected, PGPE doesn't attempt to throttle, set OCCFLG[PM_RESET_SUPPRESS] - Fixes handling of droop condition when PGPE attempts to actuate the system to Psafe. PGPE correctly sends re-trying DB3 Safe Mode msg instead of DB3 Replay DB0 msg. Also, CME correctly sets the CME_FLAGS[SAFE_MODE] bit only after system has actuated to Psafe rather than on first attempted move to Psafe. Change-Id: I3329a8ea446d0926325daf5b619f360125586381 CQ: SW475838 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83597 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* CME: Reduce Image SizeYue Du2019-09-105-39/+40
| | | | | | | | | | | | | | | | | | | On some systems, the ring overrides size is more than anticipated, and causes a run time failure when CME Image is loaded during istep 15/16. Therefore, we are reducing CME Image Size by converting PK_TRACE_INF to PK_TRACE_DBG for some trace statements. Key_Cronus_Test=PM_REGRESS Change-Id: Ie5959d251cf52f034dd9f6e47b343e6a7c9390c5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83116 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.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>
* PGPE: Fix bad volt updt upon nackRahul Batra2019-09-101-2/+17
| | | | | | | | | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS As part of undervolting code, the nack handling was modified to remove any amount of undervolting. This is because undervolting can be the cause of the droop and hence the nack. However, the original code didn't properly account for the freq and voltage update ordering. As a result, sometimes voltage would be updated before frequency/vdm/resclk update in the wrong order, and resulting in droop forever. Change-Id: Ie1dab7bbdac8c52cfc68d51d45fe0b7e8e5fd183 CQ: SW473697 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82613 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* PM: Fix DB0 HangRahul Batra2019-09-057-13/+175
| | | | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I706ec7b87e777b736153d5765ced0a3f6cea5d96 CQ: SW470688 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81266 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> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* HB Implement Static Analysis with cppcheckLuis Fernandez2019-09-051-1/+2
| | | | | | | | | | | | | | | | | | | Inline cppcheck-suppressions for false positives. HB (which pulls in files edited here) will start having the option to implement cppcheck. Change-Id: I08adcf3a344295621c5730fc04516f806c6b85bd RTC: 201451 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82267 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> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Glenn Miles <milesg@ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* OCC assisted PGPE, SGPE Error LoggingAmit Tendolkar2019-08-1211-5/+1107
| | | | | | | | | | | | | | | | | | | | | | Support basic infrastructure to - create an error log - add trace to the error log - add any user data section to the error log - add callouts to the error log - commit the error log - fix size issues and alignment exceptions - Fixes .. trace buffer parsing, repetitive xgpe logs, added PVR & PIR to log - Fixed severity, removed demo trigger code files RTC: 198654 Change-Id: Ie9842d2631863132ee456d421f0974cf9ade76ce Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75078 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: 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>
* HCode Error Logs - Final structure change for PGPE-OCC APIAmit Tendolkar2019-07-241-15/+4
| | | | | | | | | | | | | | | | | | Changes to clean unwanted symbols Changes to support only unrecoverable error (1) in HCode error logs Changes to remove reserved member, such that errlog_idx match the spec. Change-Id: I2b56905e5ea2f7d3b4c879be9b4563d9ccbb983b RTC: 207368 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80598 Reviewed-by: Christopher J Cain <cjcain@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S Still <stillgs@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* PGPE: Optrace fixesRahul Batra2019-07-226-40/+47
| | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Idf3bbbf54401a564ce48d94f96507c38ca238f10 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79831 Tested-by: Jenkins Server <pfd-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> 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>
* Axone: Fix PPE PVR expectation checks and SMF build flagYue Du2019-07-134-7/+7
| | | | | | | | | | | Change-Id: Ib3734137c6e16d4d8cbe579492df56ec9149146e Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78920 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Adam S Hale <adam.samuel.hale@ibm.com> Dev-Ready: YUE DU <daviddu@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* PM: WOV(OCS) PGPE Hcode Changes (2/2)Rahul Batra2019-06-259-64/+238
| | | | | | | | | | | | | | | | | | | | | 2nd commit in the series of 2 commits for WOV(OverCurrent Sampling, OCS) Commit 1: WOV(OCS) HW procedures updates Commit 2: WOV(OCS) PGPE Hcode updates Key_Cronus_Test=PM_REGRESS HW-Image-Prereq: I6234f0f60b9ed57b8b144159f3fe9c0b756df1e3 Change-Id: I64d72c8c2c3163d000a640959e0b188ab63d3819 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70514 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* Stop API: STOP API made project agnostic.Prem Shanker Jha2019-06-152-297/+472
| | | | | | | | | | | | | | | | | | | | Commit incorporates changes that make STOP API project agnostic. Changes include defining wrapper functions which call legacy API. It also adds duplicate enum members which start with prefix PROC instead of P9. Key_Cronus_Test=PM_REGRESS Change-Id: If87970f3e8cf9b507f33eb1be249e03eb3836a5e RTC: 201128 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71307 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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
* PM: WOV(OCS) HW Procedures Changes (1/2)Rahul Batra2019-06-145-2/+27
| | | | | | | | | | | | | | | | | | | | | | | 1st commit in the series of 2 commits for WOV(Over Current Sampling, OCS) Commit 1: WOV(OCS) HW procedures updates Commit 2: WOV(OCS) PGPE Hcode updates Key_Cronus_Test=PM_REGRESS HW-Image-Prereq: Ieabbc383d2bbbd1df8cf5a2ed5b503c860518cd8 Change-Id: I6234f0f60b9ed57b8b144159f3fe9c0b756df1e3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70513 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> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: 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>
* PGPE: Fix Voltage Delay MathRahul Batra2019-06-064-15/+16
| | | | | | | | | | | | | | | | - fix attribute consumption in busy-wait implementation Key_Cronus_Test=PM_REGRESS Change-Id: Ifc38fb147fd6c202154b5c3d930c638e1f110583 CQ: SW465588 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77667 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> 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>
* Synch up OMI and MCA frequenciesDan Crowell2019-05-111-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is an intrinsic link between ATTR_FREQ_MCA_MHZ and ATTR_FREQ_OMI_MHZ and ATTR_MC_PLL_BUCKET. -ATTR_MC_PLL_BUCKET will be read-only, platforms will return the value based on ATTR_FREQ_OMI_MHZ. -ATTR_FREQ_MCA_MHZ will be read-only (again), platforms will return the value based on ATTR_FREQ_OMI_MHZ. -ATTR_FREQ_OMI_MHZ will be writeable, defaulted by mrw/config file, written by mss_freq_system. -OMI_PLL_FREQ_LIST was be expanded to include the value of ATTR_FREQ_MCA_MHZ. Platforms will use ATTR_FREQ_OMI_MHZ (and VCO) as the key into OMI_PLL_FREQ_LIST to determine the value of ATTR_MC_PLL_BUCKET and ATTR_FREQ_MCA_MHZ Change-Id: I17681b8b1ff8ad6b195fc741e20e48ac60ce1c99 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76877 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: Steven B. Janssen <janssens@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Handle PIB Reset with data check handler on all GPEsYue Du2019-05-1010-9/+119
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I121aaf5efb579fde88829f2ef5354ad4c8b6d77b CQ:SW447494 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68622 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@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> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* VDM(Part 3): Image build changes for quad level VDMPrem Shanker Jha2019-05-091-0/+47
| | | | | | | | | | | | | | | | | | | | Commit accomplishes following: - enables CME booting using new CPMR layout - copies new definition of poundw to LPSPB - enables quad level LPSPB - implements new CPMR layout that supports customized LPSPB. - for old VPD version, retains old CPMR layout Change-Id: I66a13579e0edbc046226db259a736416e1e5c268 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75272 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Enablement of Axone supportSumit Kumar2019-05-063-0/+251
| | | | Change-Id: I2340569cf32eed6ed52a81a84b0481c35b9fa0fb
* Updating latest selfRest.bin fileSumit Kumar2019-05-031-0/+0
| | | | Change-Id: I3ca58d1b483581a9a9610a2eba289c4e31eaabdf
* Add p9a.omi.pll.scan.initfile and ifCompiler support.Ben Gass2019-04-301-1/+22
| | | | | | | | | | | | | | | | | | | | | Frequencies supported for OMI: OMI VCO Data rate MCA_FREQ 19200, 0, DDR4-2400 1200 21330, 0, DDR4-2667 1333 23460, 0, DDR4-2933 1466 23460, 1, DDR4-2933 1466 25600, 1, DDR4-3200 1600 Change-Id: Ideebc4636f79302f3728264fb8dc63a3ba4e807a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/54198 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> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* VDM(Part 2): CME hcode support for per quad VDM.Prem Shanker Jha2019-04-304-8/+41
| | | | | | | | | | | | | | | | | | | | If per quad VDM is enabled by hcode image build through CME header, CME downloads local pstate parameter block and repair rings in second block copy. If per quad VDM is not enabled CME retains legacy behavior. Key_Cronus_Test=PM_REGRESS Change-Id: I97112b6816657a8201d7b8122bca01909ca20aa5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69971 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: Hostboot CI <hostboot-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> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Self Save: Fixing self save of core SPR.Prem Shanker Jha2019-04-301-33/+49
| | | | | | | | | | | | | | | | | | | | Commit fixes - the issue originated due to withdrawal of self-save for HRMOR and URMOR. This withdrawal created an asymmetry in the design of self-save and restore. Commit fixes the self-save common routine which now accounts for not self saving of HRMOR. - missing handling of an LE core in STOP entry path. Key_Cronus_Test=PM_REGRESS Change-Id: I9a10b4ff0062980ed496d93976a2a30a6f31af77 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75808 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Fix Clip Update TimeoutRahul Batra2019-04-253-16/+87
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ia943cdd3bb646104bfd686356cd3f23bc5876a7d CQ: SW452077 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74964 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Self Save: Added support for SPR self save in CME hcode(func ver)Yue Du2019-04-094-192/+306
| | | | | | | | | | | | | | | 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>
* Proposed structure change for OCCChris Cain2019-03-261-56/+35
| | | | | | | | | | | Change-Id: I8d6afd28e96ed987333471a3f0317b4ff06a8671 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72201 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: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PPB: Refactor pstate parameter blockPrasad Bg Ranganath2019-03-082-121/+12
| | | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS CQ:SW458304 Change-Id: Ia854423e663919a192a8fd271f2656d7d7469406 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70365 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: Prem Shanker Jha <premjha2@in.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>
* Change CME BCE reads to always use VG scopeJoe McGill2019-02-201-2/+2
| | | | | | | | | | | | | DD2.1 parts are now being run with the MCD disabled in enterprise FW Change-Id: Ia2fdcf72023ec353688d1db3decec65161f0d745 CQ: SW455429 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71940 Reviewed-by: Brian T. Vanderpool <vanderp@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> Reviewed-by: Dean Sanner <dsanner@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-0425-338/+113
| | | | | | | | | | | | | 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>
* Removing check on sbe region fenceAnusha Reddy Rangareddygari2019-02-042-8/+6
| | | | | | | | | | | | | This fence is not implemented in Axone. Change-Id: I5585616c40f20b7a4a1cbc3e4869ec656428e4b9 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70285 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> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Use busy-wait instead of PK_SLEEP for delayRahul Batra2019-02-041-9/+61
| | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: I830da405d7a7d2ebafaa2f9833fc638b744344ad Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71039 Tested-by: Jenkins Server <pfd-jenkins+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> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Add support for p9c 1.2Ben Gass2019-01-301-0/+93
| | | | | | | | | | | | | | | | Also initial mk files for p9n 2.3, but p9c 1.2 will be first. Change-Id: Idf3c0d4a8980fc285c0cb3e167b693ca79834878 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>
* 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>
OpenPOWER on IntegriCloud