summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt
Commit message (Collapse)AuthorAgeFilesLines
* Fix off-by-one error when counting WOF reset countsAndres Lugo-Reyes2018-05-161-2/+4
| | | | | | | | | | | | | | Change-Id: I4f4707e6c532a7459fe50137af6353a9b9995ca2 CQ:SW429098 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58873 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Sheldon Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Support AVSBus Config packet for Vdd Current roll over workaroundChris Cain2018-04-241-5/+28
| | | | | | | | | | | | | | Change-Id: I1aa18500e227e3daf27564758b6301794fc436da RTC: 191241 CQ: SW424766 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57652 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Check for pending OCC messages on HBRT start in OpenPOWERBrian Bakke2018-04-171-2/+34
| | | | | | | | | | | | | | | | | | | The OCC will set an interrupt for the Host to look for a pending message/action. If opal-prd is not running at the time that this interrupt happens, HTMGT will never see the message. Therefore we need to have HTMGT explicitly check for anything pending any time HBRT starts up. Change-Id: Iaae075ae6828a9de5a7bd5afe55c541b0076f2d2 RTC: 187912 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57175 Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: memory throttle calculation fixesChris Cain2018-04-062-65/+93
| | | | | | | | | | | | | Change-Id: Ifde809c7c0110c2991f33bed64f1c10258e8b0c2 RTC: 189531 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56403 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon Bailey <baileysh@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Cache user power limit from BMC and add proc callout for 2AEx errorsChris Cain2018-03-192-12/+63
| | | | | | | | | | | | | | Change-Id: Ib8918b03bfadd2948fe98e37b7e695c6df2ac7cb CQ: SW414473 CQ: SW413111 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55897 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon Bailey <baileysh@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Pass i_skipComm to _buildOccsIlya Smirnov2018-02-232-8/+15
| | | | | | | | | | | | | | | | | | | | | In the _resetOccs path the i_skipComm parameter is not getting passed into _buildOccs function that (almost) unconditionally executes sendOccPoll, regardless of whether the comm was supposed to be skipped or not. That 1) defeats the purpose of i_skipComm, and 2) may not work in the OCC reset path depending on how far into OCC setup the code has gotten before the reset was requested. Change-Id: I044e1193d8ddf022ada902030c74c75076af2f42 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54522 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Bias values need to be applied to frequenciesChris Cain2018-02-124-34/+116
| | | | | | | | | | | | | Change-Id: Ia36af860f907a0cc8916a549bcd2d6160f46faee CQ: SW414845 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53236 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Mark GPU as functional when presentChris Cain2017-12-201-3/+3
| | | | | | | | | | | | Change-Id: I61d4d5b053424659cfda106a8a4ce1989ba4ca06 CQ: SW408506 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50951 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Send power supply redundancy policy to OCCChris Cain2017-12-153-10/+25
| | | | | | | | | | | | | Change-Id: If439440e0a4368e51de91818f406f152f5e232b1 CQ: SW408974 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50824 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* HTMGT: Pass power per DIMM to memory throttling proceduresChris Cain2017-12-155-19/+143
| | | | | | | | | | | | | | Add capability to dump OCC config data Change-Id: I214346577af050a279fa4d2467b8ddeea7b1db71 CQ: SW410627 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50817 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* HTMGT: Updates for reporting throttle below nominal on BostonSheldon Bailey2017-12-134-13/+34
| | | | | | | | | | | | | Change-Id: Ie8ce3d93d23b06c0a1939a1f5cdcebfad88acc13 RTC:181699 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50660 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Ensure processor callout added when going to safe modeChris Cain2017-12-123-16/+80
| | | | | | | | | | | | | Change-Id: Ib5e1035121ed574a97416d59498b39f997131fd6 CQ: SW398232 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50597 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Pass utilization in hundredth units to HWP for mem throttlingChris Cain2017-12-071-10/+15
| | | | | | | | | | | | | Change-Id: Ibf974345e23582e69f468ceeb550efad1d1678ca CQ: SW409089 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50396 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* HTMGT: Do not validate throttles based on oversubscriptionChris Cain2017-11-222-20/+4
| | | | | | | | | | | | | Change-Id: I20520c38ce791a63a1f8a43e9e1afdeb8596b63f CQ: SW408496 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49921 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Send VRM Vdd Thermal Thresholds to OCC part1 HB attributesSheldon Bailey2017-11-062-23/+59
| | | | | | | | | | | | | Change-Id: Ia8b657c2dc396997b3e4e0678cd5b0f33b22d3a9 RTC:180398 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47144 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Centaur ring support - ring_apply and ring dataSumit Kumar2017-11-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduces Centaur ring ID header files and ring_apply support to generate a separate Centaur ring image file. - Introduces common ring ID header file consumed by both P9 and Centaur and all user codes, e.g. putRing, ipl_build, xip_tool, etc. - Introduces a namespace approach for complete separation of P9 and Centaur ring data and to facilitate execution time selection of either P9 and Centaur ring data. - Added Centaur image .rings generation function to p9_ring_apply. - This commit does NOT support Centaur in the TOR API nor in xip_tool. See commit 38018 for that support. - Modified hw_image.mk file to support Centaur XIP image generation. - Updated ring_apply to also support .overrides ring gen for Centaur. Change-Id: I12a27b194dc14d906fea7bc273eb9f766f0fc5bf Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35639 Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36011 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
* HTMGT:OP910:No change in processor speed turbo or non-turbo WitherspoonSheldon Bailey2017-10-261-53/+111
| | | | | | | | | | | | | Change-Id: I06eb243497a56302ff1aed86a844729da3407d09 CQ:SW400066 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48752 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Ensure AbaPtr is not used in runtime codeDan Crowell2017-10-192-0/+2
| | | | | | | | | | | | | | | | | The AbaPtr makes assumptions that we have pointer values that are only 32-bits long. In our runtime (HBRT) environment that assumption is not true so we need to make sure none of the code that runs there is trying to use the AbaPtr code. Change-Id: I0a26558f305fada723bf3cb3447a2bdfddb194d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48248 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Update GPU config to send calculated power valuesChris Cain2017-10-044-179/+189
| | | | | | | | | | | | | Change-Id: I36badb11c9350a176265f11b3046cf88a30292c0 RTC: 179616 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46439 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Support for detecting a WOF requested resetAndres Lugo-Reyes2017-09-229-65/+185
| | | | | | | | | | | | | | Change-Id: I385b20538230b152828075f695e8352f969d5cf2 RTC:174543 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45986 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Add misc Processor Power to AVSbus config packetSheldon Bailey2017-09-191-2/+14
| | | | | | | | | | | | | Change-Id: I477a90277e0d9a4ad424accc442f60d163dabbe8 RTC:160888 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45641 Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Config data changes for GPU supportChris Cain2017-09-078-9/+249
| | | | | | | | | | | | | Change-Id: I2b4a5a82791ee6c4531d102dad51389f9dedbe6c RTC: 133828 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45480 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Prevent communication with OCC during OCC reset if comm not establishedChris Cain2017-07-204-21/+56
| | | | | | | | | | | | | | | | | | - during OCC reset, prevent sending poll/reset prep to OCC if communications has never been successfully completed. - fix elog leak Change-Id: Ib154718834995401b585d584b8e2686c3b468873 CQ: SW390460 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42495 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Do not log E1 exception if comm has been established with an OCCChris Cain2017-06-281-1/+4
| | | | | | | | | | | | Change-Id: Iae64e6d8d143a1c31bd2e9ad028d6c02e752ba97 RTC: 176399 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42479 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Fix offset of userdata in OCC elogsChris Cain2017-06-251-2/+1
| | | | | | | | | | | | Change-Id: I4ce254519eab186cdd914d293bf958acb91c037f RTC: 176191 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42299 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Connect get_lid_list interface function in UtilLidMgrCorey Swenson2017-06-231-1/+0
| | | | | | | | | | | | | Change-Id: I415b85fd3bf5b1aa4f9caeca5d689e54bcbb1b86 CQ:SW393002 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42315 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Memory Throttling and Power Capping supportChris Cain2017-06-228-398/+602
| | | | | | | | | | | | | | | | | | | - Enable DIMM thermal monitoring - Implement VRM thermal monitoring support - Implement memory throttle calculations - Move HTMGT only attributes to _openpower xml files System owner will need to update the following for full support: OPEN_POWER_MIN_MEM_UTILIZATION_POWER_CAP OPEN_POWER_VRM_READ_TIMEOUT_SEC Change-Id: Ib7f31e58c62af4b66edc3989156ebc6e636cc741 RTC: 153942 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41982 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Change WOF system enable attribute to send to OCCAndres Lugo-Reyes2017-06-211-7/+14
| | | | | | | | | | | | Change-Id: I25921ae03746c42bd01a1e99f79eec82e13ebe80 RTC:173800 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41891 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update HTMGT state when called from hostChris Cain2017-06-013-8/+24
| | | | | | | | | | | | | | | HTMGT state needs to get initialized the first time the host makes a call into HTMGT. Change-Id: Ifb4524f793abe6310d4f3aa18895549b7bcf9da0 RTC: 174507 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40737 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Allow MFG, AME, and debug commands to be sent via HTMGTChris Cain2017-05-183-111/+95
| | | | | | | | | | | | Change-Id: I3c098bc42620aa92002b7160742906406048c8c2 RTC: 172167 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40629 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update attribute names and prevent sending empty config dataChris Cain2017-05-171-6/+8
| | | | | | | | | | | | CQ: SW388150 Change-Id: I01ebe5981f77de67bef5efef110b59c37a776d15 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40557 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Support for MFG CMDsSheldon Bailey2017-05-159-74/+137
| | | | | | | | | | | | Change-Id: I8453db169745577d350f4f971d65b781ec634df0 RTC:172167 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40219 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT Witherspoon updatesChris Cain2017-05-158-54/+87
| | | | | | | | | | | | | | | - Add internal flag to enable memory monitoring - Fix power cap data - Additional console traces on errors Change-Id: I726260aa678c5b0ddd7ea60a8e0dfbd8d1e7ea4d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40469 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Clean up OCC and enable HTMGTCorey Swenson2017-05-106-12/+170
| | | | | | | | | | | | | Change-Id: I0903f4bd504589d4d5931b4b3b6206664f39b119 RTC:171441 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39736 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Push2 BringUp changes needed to get HTMGT to work.Sheldon Bailey2017-03-307-41/+80
| | | | | | | | | | | | | | | | | Thermal Control CMD data enhancments. AVS Bus Data enhancments. OCC checkpoint fix. Change-Id: Iaefe4a2a7cfd8408aefeafe818245524be84c253 RTC:170737 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38370 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: compile errors: fix depricated interfaces.Sheldon Bailey2017-03-292-18/+23
| | | | | | | | | | | | | | RTC:170737 Change-Id: I4afa36c4b3aacc47c7c0d4c69c5bc20587ed9315 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37875 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Command Data UpdatesSheldon Bailey2017-03-152-120/+119
| | | | | | | | | | | | Change-Id: Ibbd70d79566883212cb972b5d2c2678f27952567 RTC: 164403 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37732 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: Checkpoint ChangesAndres Lugo-Reyes2016-12-205-91/+228
| | | | | | | | | | | | Change-Id: Ic9c61b7bc15221e70cc6e4861f2d0861a606b6fe RTC:160613 Depends-on: I6182163e569ac97f06e3ddfbb69deab90e849de3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* P9 Updates for occ communication codeAndres Lugo-Reyes2016-12-203-32/+39
| | | | | | | | | | | | | | | | This commit contains updates for p9 OCC communication code to no longer use the deprecated ecmdDataBufferBase class. Change-Id: I96b6be564a6edee1f66099583f030d3b519acb60 Depends-on: I6182163e569ac97f06e3ddfbb69deab90e849de3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31876 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* HTMGT: OCC InitializationAndres Lugo-Reyes2016-12-0916-1346/+668
| | | | | | | | | | | | | | | | | Contains the changes for p9 OCC init. Mostly a port from p8. New cmd/rsp buffers and data format for packets. This commit also makes HTMGT fapi2 compatible. Change-Id: I6182163e569ac97f06e3ddfbb69deab90e849de3 RTC:133945 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31010 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Use 2 byte mod ID for OCC errlsWilliam Bryan2016-09-082-4/+6
| | | | | | | | | | | Change-Id: Ief6dcbadfb12ead896350bcc8a68c85cdfda21d1 RTC:148702 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29342 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Remove last of old hwpf directoryDan Crowell2016-08-307-23/+9
| | | | | | | | | | | | | | Remove all of the old fapi1 HWPs from P8 Update makefiles/code to not include old hwpf headers Change-Id: Idc840554721f68b0af3b6ee6c7ad84f5df258e60 RTC: 146345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28844 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Compute Nest Freq during 6.12 host_voltage_configAndres Lugo-Reyes2016-07-241-1/+1
| | | | | | | | | | | | | Change-Id: I8c6a8aac1a683b1b3c4defefa06ea22e3d8c564e Depends-on:I358109f01732fdb4d75409693d5a1866bcd57866 RTC:151649 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26269 Tested-by: Jenkins Server <pfd-jenkins+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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add internal flag support to prevent OCC resets and query pstate tablesChris Cain2016-05-257-387/+680
| | | | | | | | | | | Change-Id: Ifd30c8bf36aa82c168afa3e34de7fd8f4d4e4cab RTC: 152379 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24987 Tested-by: Jenkins Server Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* OCC Checkpoint handling improvementsChris Cain2016-05-244-175/+282
| | | | | | | | | | | | | Change-Id: Ibf8712fe560c022be939f73fcc78fb610a2bcabb RTC: 153923 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24622 Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24831 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins
* Add way to clear reset count and exit safe modeChris Cain2016-05-054-28/+239
| | | | | | | | | | | | Change-Id: I88de38fe700770abadb90b442f47198eb3532c87 Original-Change-Id: I82c56f8684f5ca3cee14a3e7bcdee968b65513fb RTC: 149231 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23998 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24108 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix compile issue and update trace textChris Cain2016-04-263-22/+25
| | | | | | | | | | | | | | | | Change-Id: I2bdf5034605c65b1d98b843255234f02daef669a RTC: 149668 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22127 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: Jenkins OP HW Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23622 Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins
* Fix regulator efficiency for memory throttlingChris Cain2016-02-191-8/+8
| | | | | | | | | Change-Id: I2e773a6bbbafe8d83ab76b1bf92bf56c8ac1fbbd CQ: SW333572 Forwardport: yes Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23903 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Prevent customer power cap truncation on HPC systems.Chris Cain2015-11-163-32/+53
| | | | | | | | | | | | | Change-Id: I23990356887d162b7959b20307a36d58b3db4c32 CQ:SW328005 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21803 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set the system power cap based on the redundant power supply policyChris Cain2015-11-021-1/+57
| | | | | | | | | | | | | | Change-Id: I9b3aa1dc5072ab5f716090c72212b2da2fde16a4 RTC: 135830 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21615 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud