summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PGPE/CME Hcode: Safe Pstate and STOP<>VDM FixesGreg Still2017-11-171-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Set OVERRIDE_PSAFE_PSTATE=0(use psafe from GPPB) (PGPE) - Make safe Pstate be lowest frequency limit (PGPE) - Uses POWERSAVE if the safe mode frequency is not set. Otherwise, uses the in the general clipping equation vs the safe computation (PGPE) - Use the correct jump field (L_S) for setting safe mode (split variables for better understanding (HWP) - Incorporate PGPE fix for registration doorbell acks as Safe Mode exacerbated a STOP 11 Quad Manager Registration timing window - Fix CME DB0 ack window upon before QM registration - Fix PGPE auto mode for Cronus - Put CME Pstate analog update and Next Pstate update in critical section to fix testing issues Key_Cronus_Test=PM_REGRESS Change-Id: Ie065e788c632ee41240602f654e38c59534278ef Original-Change-Id: I10388e288251d9915a5dc0b38a9424747524ea17 CQ: SW405402 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49372 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Ack SUCCESS to SGPE in SafeMode/PMSuspendRahul Batra2017-11-171-21/+0
| | | | | | | | | | | | Change-Id: Iaff84db07a65b8cf15757dc9a4b7d3df0cac3b88 Original-Change-Id: Id837b1435e8fc9e45e1647ad29b7a6f7dc106e97 CQ: SW405547 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48599 Tested-by: Jenkins Server <pfd-jenkins+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: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* VDM: Pstate Start Voltage Updt fixRahul Batra2017-11-171-1/+9
| | | | | | | | | | | Change-Id: I54564420b5f619d1b3fe2320dd4d8e222282391d CQ: SW404392 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48409 Tested-by: Jenkins Server <pfd-jenkins+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: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE/CME Hcode: Safe Pstate and STOP<>VDM FixesGreg Still2017-11-172-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Set OVERRIDE_PSAFE_PSTATE=0(use psafe from GPPB) (PGPE) - Make safe Pstate be lowest frequency limit (PGPE) - Uses POWERSAVE if the safe mode frequency is not set. Otherwise, uses the in the general clipping equation vs the safe computation (PGPE) - Use the correct jump field (L_S) for setting safe mode (split variables for better understanding (HWP) - Incorporate PGPE fix for registration doorbell acks as Safe Mode exacerbated a STOP 11 Quad Manager Registration timing window - Fix CME DB0 ack window upon before QM registration - Fix PGPE auto mode for Cronus - Put CME Pstate analog update and Next Pstate update in critical section to fix testing issues Key_Cronus_Test=PM_REGRESS Change-Id: I10388e288251d9915a5dc0b38a9424747524ea17 CQ: SW405402 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49372 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix SGPE UIH Messed up EIMR book keeping ErrorYue Du2017-11-171-1/+3
| | | | | | | | | | | | | | Key_Cronus_Test=PM_REGRESS Change-Id: Ie1611b009e95192a0dad3a47af14ef8a36dd454b CQ: SW407045 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49234 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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Revert "STOP: Drop PM_EXIT for HB Master Core before CME Boot in MPIPL"YUE DU2017-11-171-4/+0
| | | | | | | | | | | | | | | This reverts commit 12d0db8f61ad755bd471314d40a9cefd2938f5fa. Change-Id: Ifa6fac0e7fb8abb69e61ec993b4def0c89718ce2 CQ: SW406048 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49147 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: SPURR code fixYue Du2017-11-171-1/+16
| | | | | | | | | | | Change-Id: Ia48b1258c4aa814464b0a97b7875a5d46a6b48fc CQ: SW405516 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48849 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> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Clear OCC LFIR and CME LFIR halted bits on PPE bootsYue Du2017-11-171-0/+3
| | | | | | | | | | | Change-Id: I60649b9d924414038c3575ee65985cb93e0c060c CQ: SW406206 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48596 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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Ack SUCCESS to SGPE in SafeMode/PMSuspendRahul Batra2017-11-171-93/+69
| | | | | | | | | | | Change-Id: Id837b1435e8fc9e45e1647ad29b7a6f7dc106e97 CQ: SW405547 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48599 Tested-by: Jenkins Server <pfd-jenkins+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: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix Resonent Clock Support for STOP11Yue Du2017-11-178-123/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) modify the CME pstate resonant clock adjustment code to 1a) have better detection for the issue being fixed. 1b) to read cme flag at runtime for whether to touch resonant clock setting due to pstate change 2) modify the CME DB2 Handler to 1a) when disable resonant clock for stop11, also disable pstate code from changing the setting via cme flags 1b) when stop11 is aborted, and DB2 is asked to restore the resonant clock setting, also enable pstate to do so 3) modify the SGPE PIG Handler to 1a) fix the bug that one quad has resonant clock ready for stop11 entry or exit, the code automaticially grant ready for other quads 1b) fix the bug that resonant clock ready PIG will result an redundant IPC sent to PGPE for the core already IPCed 4) Modify the SGPE entry code to fix the bug that other quad calling entry service can result this quad doing an redundant stop11 entry after exam again the previous resonant clock ready state. 5) Fix compiler flag to continue using NDD20 code on NDD21+ until the NDD21 code is ready (skewadjust issue) 6) Like 2) above, Fix Sibling needs to disable pstate code from reenabling resonant clock when going into stop11 also the restore measure for Sibling 7) Fix interrupt window condition to cause pstate code to pass the rclk_operatable check and change rclk when db2 interrupt to disable pstate from change rclk happening after the check condition but before change 8) fixing partial good case when writing to cme flags 9) db2 read using single cast instead of dual cast 10) using unique panic code for additional error detection 11) Fix PGPE and CME conflict on PMSR writes 12) revert Marker change and remove redundant critial section Change-Id: I70d86686be690f030dfa4886875c4fa00dcae208 CQ: SW404802 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46775 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* EQ SCOM Restore: Introduced version control in SCOM restore entry.Prem Shanker Jha2017-11-172-7/+43
| | | | | | | | | | | | | | | | | | | - introduces version control in header of SCOM restore entry - ensures backward compatibility - introduces flexibility to handle any number of SCOM restore entry. Key_Cronus_Test=NO_TEST CQ:HW423686 HW-Image-Prereq: Ie1611b009e95192a0dad3a47af14ef8a36dd454b Change-Id: I781b0862dc983001574ba5f09a84ea0a2f7f781f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48793 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: 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>
* STOP Recovery: Misc infra. updates to enable PM FFDC in HOMERAmit Tendolkar2017-11-171-17/+91
| | | | | | | | | | | | | | | | | | | | | 1. Updated STOP Recovery wrapper for test 2. Enable GPE0/1, shared region sram data collection 3. FIR and OCC register collection support 4. PM FFDC Section Header and Region Inits 5. Defined constants for FFDC region boundary in HOMER 6. Fixed miscellaneous review comments and UT bugs Change-Id: I802e6ddb919efaa09b9ffab5ddd3283d8efa9323 RTC: 179599 CQ: SW406487 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48987 Tested-by: Jenkins Server <pfd-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: Prem Shanker Jha <premjha2@in.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>
* Revert "STOP API: Increased max allowed SCOM restore entries for EQ."Prem Shanker Jha2017-11-172-2/+2
| | | | | | | | | | | | | | | This reverts commit bff2f1adea4160eeec5a679ebb4885ce6283a6d9. which created a co-req situation between HB and HW Image. This commits reverts it. Changes done in original commit will be re-implemented to avoid the co-req scenario. Change-Id: Id29f6dc2533e30c8736435e5b73187b13fe4303a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48690 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* adding binary files for initial release and updating release tagJoshua Hunsberger2017-10-244-1/+1
| | | | Change-Id: I78eebec933e2a63295e36b8ae257a9e7496d5c88
* STOP: Drop PM_EXIT for HB Master Core before CME Boot in MPIPLYue Du2017-10-231-0/+4
| | | | | | | | | | | Change-Id: I7108aa249d9b1f1b43de921eb6e46f40793fb596 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48222 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
* p9_pibms_reg_dump updatesAnusha Reddy Rangareddygari2017-10-231-0/+28
| | | | | | | | | | | | Adding I2CM1 registers collection Change-Id: Iaf156d817a9e56e91b280932e876666029929569 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45354 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Anay K. Desai <anaydesa@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* STOP API: Increased max allowed SCOM restore entries for EQ.Prem Shanker Jha2017-10-232-2/+2
| | | | | | | | | | | | | | Commit increases the max allowed SCOM restore entries from 16 to 31. This is to facilitate IMA function. Change-Id: Iaa77f9cd47dc24fb5ecb31dc38405fe9d48bd7a5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48157 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: JAMES DEZELLE <jdezelle@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* RESCLK: Fix a bug that prevented L2 resonance from being set up on NDD2.1Brian Vanderpool2017-10-233-6/+6
| | | | | | | | | | | Change-Id: If3c2010394178fa014f68ba846e432dff82567c3 CQ: SW403807 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48335 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Victorious Eye: Update core hang limit from 3->10Jenny Huynh2017-10-231-1/+1
| | | | | | | | | | | | | | | | | - Temporarily disable debug mark handling for ltptr - In lieu of ISU serialization, which tanked performance, set IMC_WORKAROUND such that IFU does it. Not a complete workaround, but better than nothing... - modify WAT to increase delay cycles CQ: HW422495 Change-Id: Ic68b9c08396b2e6ae17b478ca00946238f85c99a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48273 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PLL updates for filter BG, BW including OBUS tank coreqsJoe McGill2017-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p9.filter.pll.scan.initfile adjust BG offset to -1 for P9n DD2.[12], P9c DD1.1 apply BW updates to P9n DD2.2, P9c DD1.[01] p9.obus.pll.scan.initfile apply BW updates to P9n DD2.2, P9c DD1.[01] with tests 108, 109, 110 p9_frequency_buckets: default Cumulus OBUS bucket 0 to 25.625gbs chip_ec_attributes.xml add feature attributes for BG, BW controls Change-Id: I5e06da5267db70bb1d6e6eae066611577d32ac7b CQ: HW423532 CQ: HW423535 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48267 Reviewed-by: Ann C. Wu <annchen@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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Use compiler definition for size_tSachin Gupta2017-10-231-1/+1
| | | | | | | | | | | | | | We get multiple definition issues if we include ppe42_string.h as stddef.h also has defined size_t Change-Id: I44ec000db4df176f36d185842dd8057b2b03e28d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48101 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> Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM Recovery FFDC: Added support to collect Register data for PPMPrasad Bg Ranganath2017-10-232-4/+16
| | | | | | | | | | | | | | Change-Id: I841cf840c8df49640b7612832960f56a59419ad7 RTC:179598 RTC:179602 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47011 Tested-by: HWSV CI <hwsv-ci+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: FSP CI Jenkins <fsp-CI-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: PARVATHI RACHAKONDA <prachako@in.ibm.com>
* PM Recv FFDC: Base changes for PPE State and OCC PlatAmit Tendolkar2017-10-232-4/+33
| | | | | | | | | | | | | | | | | | | Change to 1. enable collection of PPE XIRS, SPRs, GPRs to respective 2. create and collect OCC plat traces for OCC, GPE0/1 & Shared to respective regions in HOMER PM FFDC sections Change-Id: I4ee1314450b72818e4b3ba44558e1359a1a2df08 RTC: 180382 RTC: 180553 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47120 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP Recovery: Added support for FFDC collection of CME and SGPE.Prem Shanker Jha2017-10-233-0/+46
| | | | | | | | | | | Change-Id: Ie0ac19b81a44a72faedc860ea2337acc8e20c321 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46853 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: 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>
* Revert PLL unlock commits of 45102 and 46563Yue Du2017-10-233-23/+1
| | | | | | | | | | | | Change-Id: I27f7c75d73881a54152a77c7ab2c8b49be19adb7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47148 Reviewed-by: Joachim Fenkes <fenkes@de.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: Fix Dec Wakeup on NDD2.1Yue Du2017-10-231-2/+2
| | | | | | | | | | 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>
* TOR Magic header supportClaus Michael Olsen2017-10-234-302/+425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HW-Image-Coreq=Yes SBE-Image-Coreq=No (SBE image is back compatible) This commit adds an 12-byte header to all TOR ring sections: - for improved self-containment of TOR ring sections incl stand-alone ring sections like .overrides which, currently, has no meaningful size info associated with it in the PNOR, - to support a more data-driven implementation of TOR API, - to eliminate the current usage of XIP_MAGIC ids to inform the TOR APIs which ring section they are dealing with, and - to improve debugging binary ring sections. The TOR header expands on the current TorNumDdLevels field in the HW ring section and is added to all other ring sections as well, e.g. for the SBE and OVRD ring sections. Most importantly, the TOR header adds the TOR magic number which is unique for each possible TOR ring section. Also, of quite practical importance, a size field has been added so that the size of a true standalone section like .overrides can be extracted (since its size in PNOR is not indicative of its size). Further, to support the use of ddLevel and chipType in the TOR header fields, these two data points need to be always supplied whenever calling ring_apply. Thus, updates have been made to the ring_apply.mk file as well as the override .pl script. While making these changes, we also decided to change the --type arg to the --bOverrides arg to make the arguments being passed less confusing in view of the Centaur commit that's coming and its demands to make codes less data dependent, incl make and script files which should simply inform the functional intent of the "user". The user shouldn't presume it knows about which specific type of ring section needs to be produced. Further, the DD level block struct has been increased from 8B to 12B to avoid the unnecessarily complex merging of the ddLevel and offset into the same 4B field. It's included in this commit since this is also going to break the lab and because the required code changes are in the same places where the code changes needed for the TOR header are. Further, xip_tool has been updated to support the new TOR header so that it can be called by supplying a standalone ring section, such as overrides.bin. Various changes have been made in xip_tool's dissect section to support overrides as well. This code uses many of the code changes in 33778 except changes to p9_tor.C|H are at a bare minimum focusing on the functional changes and keeping any cleanups to a minimum changing only some variable names associated with the functional changes for improved readability of the code. CMVC-Prereq: 1034144 CMVC-Prereq: 1035575 Change-Id: I29ba8905ac55dad5c10878a94fb94468e5580ea0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35372 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix VDM being powered down through Stop2Yue Du2017-10-232-3/+11
| | | | | | | | | | | 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>
* add SGPE flag for simulation only workaroundsJoe McGill2017-10-232-8/+22
| | | | | | | | | | | | | Change-Id: I4e0b11f869d306ec5825615b40204b7a76c25cc3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46949 Reviewed-by: YUE DU <daviddu@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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* update HWP level metadata for nest, common filesJoe McGill2017-10-2337-37/+37
| | | | | | | | | | | | | Change-Id: I451695b8ae1d8f7d5ed6d512631992dea98b5ee8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46967 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: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Core livelock buster - the sequelBrian Vanderpool2017-10-231-94/+105
| | | | | | | | | | | | | Stop instructions on any cores that are running. The previous patch only activated if both cores were active Change-Id: Ibc89794eaf00242c932f307a9189ca376a9b2fba Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46587 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Properly clear DPLL unlock indication in dpll_setupYue Du2017-10-234-0/+27
| | | | | | | | | | | Change-Id: I0d8ecd45e3b4f7414de10bb785069509b623f7ab Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46563 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> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: SGPE add ReturnActiveCores checking from PGPEYue Du2017-10-233-7/+33
| | | | | | | | | | Change-Id: I1de8f35f78aed01e784744d31e59b6214a8c385a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46530 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@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: attribute to halt upon phantom interruptsYue Du2017-10-234-20/+36
| | | | | | | | | | | | | Change-Id: I6c5e4bea58c188d736b2b1218577da7deee0f88d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46337 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.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: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: Enabling progress code in PGPE boot loder and copier.Prem Shanker Jha2017-10-233-16/+18
| | | | | | | | | | | | | Change-Id: I413477095128b3d88b1a135efbd134752aba8b78 RTC:167543 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38977 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: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Overlays and multi-DD XIP related updates to xip_image and dd_containerClaus Michael Olsen2017-10-235-74/+106
| | | | | | | | | | | | | | | | | | to support WIN32 for manu team. Also, - various updates to dd_container error handling, - improved DD support query checking. Change-Id: I706e56258894c3453cf01aa1a637fe888af1db00 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46596 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@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: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Roundoff Error FixRahul Batra2017-10-232-4/+31
| | | | | | | | | Change-Id: I4b1f6c6bfe762f336978d2df6a4fc23f638ae7e2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46653 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Reduce CME trace verbosity from 2 to 1Brian Vanderpool2017-10-231-1/+1
| | | | | | | | | | | Change-Id: I1f83ec9bf2ad10ade422d2e0f2ff34373384a77a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46743 Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Kevin F. Reick <reick@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+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: Fix EPM mark to avoid detecting nop waitYue Du2017-10-232-10/+10
| | | | | | | | | | Change-Id: I35e14054c65592953ebfac529afbfb3884265cc9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46428 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Christopher R. Jones <crjones@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: AVS Driver UpdatesRahul Batra2017-10-233-49/+127
| | | | | | | | | | | | | -Adds checks for SlaveACK -Adds code to resync in case of non-zero SlaveAck Change-Id: I130126474621f8f8c4d55a3c34bb75de4a2dcc06 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46752 Tested-by: Jenkins Server <pfd-jenkins+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix MPIPL Dpll Lock via ensuring mode 1Yue Du2017-10-231-2/+9
| | | | | | | | | Change-Id: Ie1ee6c9fc46575006b163846a8e4c1d1086b99c6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46686 Tested-by: PPE CI <ppe-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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix Partial Error on getscom to CPLT_CONF0Yue Du2017-10-231-4/+12
| | | | | | | | | Change-Id: I20a1ebfe16d0e6c3a906d89980640d20af64e0ff Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46538 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> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* optrace tb resyncAdam Hale2017-10-233-4/+34
| | | | | | | | | | Change-Id: Ia648f726c5fe080ea6ce4e3f019c23842a0ed140 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46476 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: remove union usage in p9_pm_hcd_flags.hYue Du2017-10-235-171/+66
| | | | | | | | | | | | Change-Id: Ic57a5c5e604c45dcfdc720fd1205c7b6790c77e2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46157 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Quad Registration Pstate FixRahul Batra2017-10-235-159/+284
| | | | | | | | | | Change-Id: Iae9cb4a12a6fc06bd0fc9fea558a17871b676ff1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46314 Tested-by: Jenkins Server <pfd-jenkins+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Core livelock busterYue Du2017-10-235-28/+62
| | | | | | | | | | | | | | | | | | 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: 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>
* Update ppe makefiles to enable support in op-build envRichard J. Knight2017-10-234-4/+4
| | | | | | | | | | Change-Id: Iaf584fc21d480d996f5ba16146a102cdd1a5cf6c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46104 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* SGPE:putring code size optimization and scan performance improvementPrasad Bg Ranganath2017-10-233-797/+328
| | | | | | | | | | Change-Id: I3c3b2a44763e47a94eb153e3bd85281ae0e3f828 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45845 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: PGPE Op Trace updatesAdam Hale2017-10-2311-166/+338
| | | | | | | | | | | | | | | | -Added entry/exit demarcation for core/quad changes -Fixed ordering of ACK/PRC trace stmt. -Added Unexpected errors and panic tracing Change-Id: Ic293d2c907f4bbdc5805ab0d96a47b1582d2b27d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45112 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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* HWP: Fixing pfet sense bit bug in p9_hcd_common_poweronoffYue Du2017-10-231-15/+17
| | | | | | | | | | | Change-Id: Ic23f3c6ef7c6a975e2a59e9954e408443e2dc70c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46101 Tested-by: FSP CI Jenkins <fsp-CI-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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
OpenPOWER on IntegriCloud