summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add PHY DP16 DRIFT_LIMITS regs and DD2_BLUE_WATERFALL_EXT field APILouis Stermole2017-10-231-0/+6
| | | | | | | | | | | | Change-Id: Ia891488d7de965a99c8cf3c457fccba9603773ad Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41136 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@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: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PM: deprecate p9_ppe_dump in favor of p9_ppe_stateBrian Vanderpool2017-10-238-21/+21
| | | | | | | | | | Change-Id: I547796c9b3501c6e85c079228fa0d275681b267d RTC: 174667 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40930 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>
* PSTATE: PGPE updates for new slopes set and Pstates Table fixRahul Batra2017-10-234-35/+19
| | | | | | | | | | | | | - Updates PGPE to use new slopes calculation - Fixes Pstates Table generation to use correct slope set Change-Id: I07389e89c58b3c942a6b704ccece1b94ea9101fa HW-Image-Prereq: Ic79ed4d0311c46612d68d6dffdabc459ec88d8e1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40955 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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>
* PSTATE: System Calc Parameters FixRahul Batra2017-10-232-6/+22
| | | | | | | | | | | | | | | | | | - Adds PStateVSlopes and VPStateSlopes to Global Parm Struct - Calculates slopes for RAW/SYSP/BIASED/SYSP_BIASED Operating Pts - Leaves the old slopes and calculation in p9_pstate_parameter_block.C using slope shift of 13. To be removed later - Adds a new slopes format of 4.12[4 bits integer + 12 bit fractional - Recovers the lost system parameter equation fix Change-Id: Ic79ed4d0311c46612d68d6dffdabc459ec88d8e1 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40891 Tested-by: Jenkins Server <pfd-jenkins+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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* p9_cen_framelock -- 2nd versionJin Song Jiang2017-10-232-1/+26
| | | | | | | | | | | | | | | | | 1) Replace MCSMODE4 register with MCMODE2 and MCBCFGQ register shift host attention enablement to p9c_set_inband_addr HWP 2) Update FIR registers'(ACT0,ACT1 and MASK) set from p8 to p9c Change-Id: Ifdce2d948c12ad2b82a74cfc6a8731617a3086df Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39558 Dev-Ready: Brent Wieman <bwieman@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: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* AVSBus current,temperature and slew rate commands, add CRC CheckingGreg Still2017-10-232-0/+120
| | | | | | | | | | | | | | | | | - Reformated output of the wrapper to be more tablular - Included voltage read and write functions into p9_avsbus_cmds to avoid code duplication with p9_avsbus_voltage.C - p9_avsbus_voltage_wrap is still retained to keep present usage intact. - Remove unconnected AVSBus VCS rail error messages - added CRC and bad response error checking Change-Id: I36e87aa434ec39a2a34520f9762574e8f665d02d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37164 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>
* PGPE: Fix compilation errroPrasad Bg Ranganath2017-10-231-2/+2
| | | | | | | | Change-Id: If663efe75de8983dcc01eae5a51a7dbc2a63aaed Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41083 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Johannes Koesters <koesters@de.ibm.com>
* PSTATE: Remove #define EVID_SLOPE_FP_SHIFT from PGPE codeRahul Batra2017-10-231-1/+1
| | | | | | | | | Change-Id: I0ef830065baca12da3dcd471f917a03cda979d0f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40993 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* p9_pstate_parameter_block: Pound W enhancement for VID ComparePrasad Bg Ranganath2017-10-235-51/+69
| | | | | | | | | | | | | | | - Add changes to Compare VID slopes support - Added changes for threshold slopes Change-Id: I6ce9f7630cf8f8bbb19a2914da43c24308c3c7fd RTC:172523 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39955 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: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Enablement of support for Stumped and Cmsk ringsSumit Kumar2017-10-236-93/+296
| | | | | | | | | | | | | | | | | | - Currently its enabled for ec_func ring only - Introduced new function read_scan_data_care_ring() to read scan data & care bits for rings - Updated scan address for cmsk ring - Both ec_func's stumped and cmsk rs4 rings treated as non-overrides Change-Id: Id684ecb68d987f6ecd3f2e0476ab9aa2adce338f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38788 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: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* H-code ddLevel support: Bridging front-end to back-end.Martin Peschke2017-10-234-12/+84
| | | | | | | | | | | | | | Further add a small update to xip_image.C to clear the ddSupport field in XipSection upon deleting a section. Change-Id: I5a0aa28ac209d8d31a1e30a75389910da366c5f6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40046 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* CME: CME PMCR Format FixRahul Batra2017-10-232-4/+4
| | | | | | | | | | Change-Id: I970b1f0db1b487fd7e4f7cd2719ad4aa22539774 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40810 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Remove context switch in ppe program exception handlerspashabk-in2017-10-231-8/+1
| | | | | | | | | | | Change-Id: Iaed6207f1838e3a77fde9eeb945fc1fd1c5c0a91 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40485 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Adding conditional flags to pCpmrHdrAddr to avoid ndd2 build errorsJenny Huynh2017-10-231-0/+2
| | | | | | | | | Change-Id: Iec7000de4dd107566ea7563a0b93cedc3e4fea4d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40844 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Read AVS Bus Num and Rail Num from OCCScratch2Rahul Batra2017-10-232-57/+27
| | | | | | | | | Change-Id: I40d18dac950db6225ad8d6c5f90019c228c1a34f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40668 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>
* Add DDRPHY RD_VREF renamed or added regs for DD2.0 to platform headerLouis Stermole2017-10-232-1/+1391
| | | | | | | | | | | | Change-Id: I9ea515c64dbc7133a4443b458f367887581e662e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40561 Reviewed-by: JACOB L. HARVEY <jlharvey@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: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PSTATE: CME UIH priorities fixRahul Batra2017-10-231-89/+79
| | | | | | | | | Change-Id: Ib9317e5a887c822d4c568e9a2c321839bc148fb4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40734 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: Gregory S. Still <stillgs@us.ibm.com>
* Pstate: Fix CME Resclk EnablementChristopher M. Riedl2017-10-233-41/+27
| | | | | | | | | | | | | | - Fix wrong usage of BITS64() macro - Replace single-word 64bit local register access with upper/lower-half 32b access instead (save code space) - Pstate SUSPEND disables Resclk and VDM operations Change-Id: I212c19d5db62b74fae4fc547d74b9c70cb572c99 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40678 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>
* L2/L3/NCU scominit changes in stop codeJenny Huynh2017-10-231-2/+2
| | | | | | | | | | | | | > Fixed attribute check for fbc pump mode to set chip==node bit > Fixed skip_g bit set in ncu scominit Change-Id: I1ed0182975b67680d4632a87f7cc6bcf8389c4a3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40739 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> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PM: Remove usage of CME flag to disable queued scan.Michael Floyd2017-10-238-20/+23
| | | | | | | | | | | - Subsequent commit will need to remove attribute and from image build. Change-Id: Ia8a3771ff883929f96f4451d6dbb6b83bfaa1c17 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40571 Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@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: Move delay after LPID change to before asserting quiesceBrian Vanderpool2017-10-231-2/+6
| | | | | | | | | Change-Id: Ie4f44477258ad97432a368949618189905ad9c25 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40626 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: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Port recent L2/L3/Ncu Initfile changes to scominits in stopYue Du2017-10-231-1/+50
| | | | | | | | | Change-Id: Ie6069a57ba9899afa5a786fd1cd8c821c7a2d625 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40526 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: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Stop1 overall fixYue Du2017-10-232-20/+36
| | | | | | | | | | Change-Id: I101179bce569ad47970d17e15c1213eee00fe447 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40680 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> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* WOF: Phase 1 FixesRahul Batra2017-10-233-41/+71
| | | | | | | | | | Change-Id: Ia5ff5c59ef333f7d745e5249af1c0da30ba966e0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40502 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: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* This reverts the stop 1 commitsBrian Vanderpool2017-10-232-35/+22
| | | | | | | | | | Change-Id: Iddb6f734b8c05b97fc4d87268829ecb7af08fdf2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40653 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: Fix STOP1 correctly for DD1 WorkaroundMichael Floyd2017-10-232-11/+28
| | | | | | | | | Change-Id: I8e10199208db098f5e73b9b3c66cb64a097f73e6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40603 Reviewed-by: YUE DU <daviddu@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* xip_tool: Removed the commented, and unnecessaryly identically repeated,Claus Michael Olsen2017-10-231-101/+0
| | | | | | | | | | | | form of "usage" which is also printed out. Change-Id: I603e8f61fd780162164f3165e065cc531f514c4c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40535 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* p9_throttle_sync -- initial version for CumulusPeng Fei GOU2017-10-231-0/+4
| | | | | | | | | | | | | | | | | | | 1) Mostly copied from Nimbus settings. 2) Add findNumDimms() for dimm numbers. 3) Add MCMODE0 bit 27/28 programming for Nimbus DD2 and Cumulus. 4) No HW397255 workaround for Nimbus DD2 and Cumulus 5) Generalize throttleSync(), progMaster() and progMCMODE0(). Change-Id: I74d96f4113cb2a33eaba6e1966b17aac693c9c4e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39695 Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Thi N. Tran <thi@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: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Fix FABRIC_PUMP_MODE plumbing in stop imagesYue Du2017-10-2314-113/+104
| | | | | | | | | | Change-Id: Id0d10d56e421bb0cae2f02f2da54e11bd349ac1f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35443 Tested-by: Jenkins Server <pfd-jenkins+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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* p9_dd_container: simple generic standalone DD level containerMartin Peschke2017-10-235-0/+767
| | | | | | | | | Change-Id: I4c9d8cb28d4ae6a8b21c87ebaad07c1fd7163b85 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39588 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
* STOP: Actually enable Manual Stop1 for Nimbus DD1 to fix the PSSCR PLS reportingMichael Floyd2017-10-232-11/+7
| | | | | | | | | Change-Id: Ib001a6b4afe22b84f6cbf389cafec71dce86aa7b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40510 Reviewed-by: YUE DU <daviddu@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: PGPE Updates and fixes for STOP with PstatesRahul Batra2017-10-236-121/+164
| | | | | | | | | | Change-Id: If6a0a30e7e7b5a8e4559a78f639d3e20950550c4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40430 Tested-by: Jenkins Server <pfd-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: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* STOP: SGPE Fix for Quad Active UpdateRahul Batra2017-10-231-2/+0
| | | | | | | | | Change-Id: I0ef8d17292c19304fffb648dfc6c3a5c7951610a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40429 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* DD1 Doorbell Write Workaround FixRahul Batra2017-10-231-17/+0
| | | | | | | | | Change-Id: I921d12a58685f0d2328c039ef06ce7ba55c37c83 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40428 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* rename TYPE_NV to TYPE_OBUS_BRICKPrachi Gupta2017-10-232-2/+2
| | | | | | | | | | | | | Change-Id: I2915e0b76c16f1c789700c0ca300e601fd0c4cdd RTC:171599 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39676 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* Pstate: Remove legacy VDM codeChristopher M. Riedl2017-10-234-16/+0
| | | | | | | | | | | | | | | - Remove legacy VDM code in preparation for actual VDM enablement commit - VDM enablement only occurs during istep15 - Does not introduce any inter-platform dependencies Change-Id: Ia46661f6133e2556bee0464a95c7109658a86beb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40185 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: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* H-code ddLevel support - Front-end hooks for user and back-end codes.Claus Michael Olsen2017-10-233-45/+3423
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xip_image.c has been renamed to xip_image.C to take advantage of C++ ability to overload function call arg list to avoid having to introduce additional skinny "xip_dd_get_section" and "xip_dd_append" functions. p9_xip_get_section() and p9_xip_append() APIs have been updated with an additional DD support arg as their last parm. P9XipSection.iv_reserved8[0] converted to iv_ddSupport to enable XIP level knowledge about ddSupport capability of XIP sections. Introduced p9_xip_dd_section_support() that queries a section's iv_ddSupport flag to tell caller true/false about a sections ddLevel support status. Added support in xip_tool.C as follows: - Updated "append" command to accept an optional arg, ddSupport, if section has ddLevel support or not. - Updated "extract" command to accept an optional arg, ddLevel, specifying which ddLevel to extract. - Updated "report" command's listing to show ddLevel support status of sections. Change-Id: I17e1e09d63e894d4f26cb7b324cf10ab784d78a4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38666 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> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Support to unfreeze IMA after self-restoreMichael Floyd2017-10-233-13/+18
| | | | | | | | | Change-Id: Ibbfdd893ceeb69b69537fbe46cfc692ab18eb744 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PSTATE: PGPE-SGPE Interaction UpdatesRahul Batra2017-10-2314-668/+984
| | | | | | | | | Change-Id: Ifcda5054779766eb2acc40a539b09ddf02b9ae63 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39682 Tested-by: Jenkins Server <pfd-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>
* Fixes required to build P9 STOP API with skibootDan Crowell2017-10-235-62/+65
| | | | | | | | | | | | | | | | | | | | | | | | This commit contains code changes which are needed to build P9 STOP API for skiboot/opal firmware. Fixes are mostly around detecting skiboot environment using __SKIBOOT__ and including files required for the build. Fixes related to using C compiler instead of C++ Fixes related to mixed code and declaration and other compiler error/warnings Resolves #100 Change-Id: I49b0cb5918373c0b1a0e795fded2d245bf2aa3f7 Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40151 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Stuart Z. Jacobs <sjacobs@us.ibm.com> Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Enablement of n3_br_fure ring for Nimbus DD2Sumit Kumar2017-10-233-7/+9
| | | | | | | | | | | Change-Id: I913dce08862c05aedd21ea1e00bc02a147786536 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39634 Reviewed-by: Joseph J. McGill <jmcgill@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: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: SGPE fixes for PGPE InteractionYue Du2017-10-235-39/+63
| | | | | | | | | | | | | | - SGPE checks PGPE_ACTIVE bit on OCC Scratch2 - SGPE uses semaphore for waiting on PGPE ACKs - SGPE checks STOP_LVL before sending Update Quad Active Exit - Sets IPC build flag to enable Change-Id: I8d99bf94e50d296e46c685ebf16f5e5cd155520d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39449 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: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: Move Slopes and DPLL_PS0 calculation offlineRahul Batra2017-10-232-233/+7
| | | | | | | | | | | Change-Id: I766c84575f2f5083f2dbcc4709b032a57c1ec2dd HW-Image-Prereq: I7718a529b8754ffc6fd8fdeb957eccee563110b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38575 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-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>
* p9_nv_ref_clk_enable -- shift NV refclock field programmingJoe McGill2017-10-231-1/+8
| | | | | | | | | | | Change-Id: I4d0d4c6d32ba42f0760142cca01ac15ab4e42108 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39831 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: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* PGPE: Added Code to Start Pstates if OCCFLG bit is setRahul Batra2017-10-231-51/+98
| | | | | | | | | | Change-Id: I2a393ae060ebe10165b513d2dcb83a333df3676b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39739 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* Pstate: Resonant Clocking Enablement - CME HcodeChristopher M. Riedl2017-10-2312-133/+597
| | | | | | | | | | | | | | | | | - implement p9_cme_resclk_control and p9_cme_resclk_update - initialize resclk datastructures during init - add handler for comm_recvd (intercme msg interrupt) and corresponding irq priority (10) - update p9_cme_qm_flags.h to match header definition (uint16_t) and fix duplicate flag definition - add intercme msg functions and packet definition Change-Id: I3509892ec90b5a2135f7419f4c78209ac24e4e06 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39353 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* PGPE: WOF Calculation Phase 1Rahul Batra2017-10-235-81/+135
| | | | | | | | | | | | Change-Id: I57e87ee310141a7d569371d9987005db1c3d0209 HW-Image-Prereq: I7718a529b8754ffc6fd8fdeb957eccee563110b6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39683 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: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Release the PCB Atomic lock on aborted Stop 11 entryBrian Vanderpool2017-10-231-0/+12
| | | | | | | | | Change-Id: If11230c11e82f3a2ec2fe9fee16408374737b8f8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39974 Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
* p9_mss_setup_bars -- customize interleave granularityJoe McGill2017-10-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | create new attribute to encapsulate system-wide interleave granularity, ship default should be 128B (so that the stride between channels in a group is a single cacheline) other enums are supported for logic and performance verification update p9_mss_setup_bars HWP to apply granularity customization only for supported group sizes of 2, 4, and 8 Change-Id: Iadecb9164efbf6c9ce0658f75a0def03cc600f01 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39923 Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SHELTON LEUNG <sleung@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
* STOP: Scom Restore version 2Brian Vanderpool2017-10-2312-78/+92
| | | | | | | | | | | | Due to difficulty rebasing 31210, the changes were made on a fresh checkout of head and put into this commit Change-Id: Ia3590895691161880a348b4dd501fe644f00640e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39878 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
OpenPOWER on IntegriCloud