summaryrefslogtreecommitdiffstats
path: root/src/usr/util/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable OCC parition in pnorStephen Cprek2017-09-081-8/+0
| | | | | | | | | | | | | | | | | | Additional Changes - Created isEmpty check for pnor sections to handle lack of FSP support when loading Lids - Removed not needed PNOR partitions from FSP layout Change-Id: I326831a1b389ef25b6f5f557d332c74f3b5e77d8 RTC:178164 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45251 Reviewed-by: Michael Baiocchi <mbaiocch@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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Load PNOR RINGOVD section into Hostboot Reserved MemoryStephen Cprek2017-08-251-1/+2
| | | | | | | | | | | | | | | | RINGOVD will always be put unverified to the HB resv memory section but it will not actually be used/applied if we're in securemode Change-Id: I469c5ba058145c63b51b020d53bfc89329c12231 RTC:177372 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44933 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Implemented SBE Passthrough for Attribute Override.Donald Washburn2017-08-241-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | *Wrote a runtime SBE pass-through function to invoke the runtime apply_attribute_overrides function. The caller is required to place the request data in the SBE COMMS reserved memory area and invoke the sbe_message_passing function. The request data consists of an sbeMessage_t header followed by binary override data which can be obtained from the attributeOverride tool. Upon completion of the sbe_message_passing function, the respose data will be written to the SBE COMMS AREA. *Added support for accessing system attributes at runtime. RTC: 152409 Change-Id: Ieed3e026350cc272e6268e7802971551d3f39ed4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44311 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: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Verify sections for HBRT and put in HB resv memoryStephen Cprek2017-08-161-19/+103
| | | | | | | | | | | | | | Change-Id: I467fe768fce46aa182bbd3c32c090194262d4e75 RTC:175115 CMVC-coreq:1029391 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42009 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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>
* Added the ability to read and write to SPD, MVPD and PVPDRoland Veloz2017-08-141-1/+358
| | | | | | | | | Change-Id: I7917ea53166f8510313cf29cea1611dc1e2240e7 RTC:176756 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44024 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Refactor lid to pnor mapping and add pnor to lid pair mappingStephen Cprek2017-08-111-1/+1
| | | | | | | | | | | | | Change-Id: Ib4f3afef44cdab96c66b13426da86049b896757a RTC: 175115 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43809 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Log build level for SBE and HCODE customizationMarty Gloff2017-07-171-0/+4
| | | | | | | | | | | | | | | | | | Extract build information from the XIP header for the SBE and HCODE images. Trace the information. Also use it as FFDC for related error logs. Save the SBE build information in the SB keyword of MVPD. Change-Id: I600a71ae6cbf342643261da14f6b3b2e6bf3cbf1 RTC: 168827 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42951 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: FSP CI Jenkins <fsp-CI-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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable HDAT HB reserved memory when supported by FSPMatt Derksen2017-07-112-30/+19
| | | | | | | | | | | | | Change-Id: Id0b156282e0197c6a8ed32d2e60066cb5c149edd RTC: 169478 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42077 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Connect get_lid_list interface function in UtilLidMgrCorey Swenson2017-06-231-2/+17
| | | | | | | | | | | | | 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>
* Consolidating HBRT reserved memory (ATTR,ATTR_OVERRIDE,VPD) into a single entryMatt Derksen2017-06-122-1/+109
| | | | | | | | | | | Change-Id: I9fc5846d9901ac79c59bb149b8f55b5c7ca2fa73 RTC: 171863 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41141 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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: Daniel M. Crowell <dcrowell@us.ibm.com>
* Full Path of SBE message passing Add support in rt_cmds.CMarty Gloff2017-06-021-0/+56
| | | | | | | | | | | | | | | | Provide a runtime testing path for verification of the HBRT code and underlying code that processes the pass-through commands by supporting SBE Message passing in rt_cmds.C. Change-Id: I1f13fcd7644e5cbe22e6fcdd47611148b301db7a RTC:173539 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39908 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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Reload lids at runtime from PNOR correctlyDan Crowell2017-05-161-1/+9
| | | | | | | | | | | | | | | | While reloading lids (e.g. OCC image) at runtime we need to remember where we found the lid the first time (vfs, pnor, host). Change-Id: I040d4f0acfd551951cffdae5d51445269910649c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40167 Reviewed-by: Daniel M. Crowell <dcrowell@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: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Add several test/debug interfaces for HBRT run_cmdDan Crowell2017-02-272-4/+480
| | | | | | | | | | | | | | | | | getattr : read an attribute readpnor : read data from pnor flash getscom : read a scom register putscom : write a scom register errorlog : create and commit an error log Change-Id: Id401915c998e5b59b0d940a51a4c60a593efe3e7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35739 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Enable Host interface run_commandCorey Swenson2016-10-123-1/+186
| | | | | | | | | | Change-Id: I689d0f20d65f75299a341f23c2eb1b923dd2aa76 RTC:146148 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29980 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* More fixes for issues found during start_pm_complexCorey Swenson2016-07-271-5/+7
| | | | | | | | | | | Change-Id: I6011f2e13f616ff939ce74efd3fabdb2113cbe46 RTC:133847 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27094 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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fixes for problems encountered during hbrt pm/occ/hcode bringupCorey Swenson2016-07-181-1/+8
| | | | | | | | Change-Id: I7938add6189a2e5dcd51cb3a7c0d1cdc55330428 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26205 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>
* PM Complex Implementation Deferred to Pass 2Marty Gloff2016-07-032-1/+56
| | | | | | | | | | | | | | | Load a given LID only once from pnor/fsp. Make a publicly accessible version of convertHomerPhysToVert() for HTMGT to consume and have it handle the non-runtime case. Use constants defined by HWP or FAPI. Change-Id: I554d57a0b74ca674be9fa9a5b527f6bb53f9a4d6 RTC: 155384 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25273 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Remove more old fapi1 stuffDan Crowell2016-04-041-2/+1
| | | | | | | | | | | | | | | | | Deleted src/include/usr/hwpf/hwp/ to ensure no old usage Deleted a couple modules that have no P9 equivalent Moved tod_init under istep18 Deleted old initfile related code Deleted old pll related code Change-Id: I9c1746609c7ca2a723241158b3958bb891b0629b RTC: 146345 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21888 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Modify hbrt pnor interfaces to handle different partition sizesDan Crowell2015-03-261-3/+29
| | | | | | | | | | Change-Id: I8ea0d9fa603328bdafed97bd33d70ad3634b43a3 RTC: 125021 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16139 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Skipping over readTOC if hostInterface for pnor_read/write doesn't existPrachi Gupta2015-02-161-3/+4
| | | | | | | | | Change-Id: I7c94df2262e29bddafaaba34e5e00ecd35ac5c13 CQ: SW293755 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15542 Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fixed how we loadlid in utillidmgr_rtPrachi Gupta2015-02-161-28/+44
| | | | | | | | | | Change-Id: I1c1bd2e181a838f62daad21be3f34971b9e409a5 CQ:SW294469 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15685 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* allow lid to be read from pnor at runtimePrachi Gupta2015-01-224-38/+105
| | | | | | | | | | RTC:116595 Change-Id: I446c314e6675227293e50121b47d091276b817b0 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15000 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Utilfile support for HBRTPrachi Gupta2014-12-131-1/+4
| | | | | | | | | | Change-Id: I16fde414390d48622c3a4e71e47afac581d29236 RTC:119000 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14804 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Joshua P. Rispoli <jprispol@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactoring OCC CodePrachi Gupta2014-11-171-1/+1
| | | | | | | | | | RTC:98547 Change-Id: I4eb918b1b73336a8b48f0bdb40cc285d0dde5a47 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13862 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add OCC image pnor supportStephen Cprek2014-10-312-6/+12
| | | | | | | | | | The OCC pnor section only exists in openPOWER Change-Id: I5d5b7d03db681aa2e9b129cc63b768aaf5a15064 RTC: 116297 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13893 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-214-42/+42
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update makefiles & included .mk files to use += convention.Brian Silver2014-05-211-3/+6
| | | | | | | | Change-Id: I4148bc4c770b7c3c10fe25aa18d57d1a4301e5a9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11194 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix double delete in HBRTDean Sanner2014-04-151-0/+1
| | | | | | | | | | Change-Id: I126ebe43222defccde210ffc603b05dc296781a6 CQ: SW257403 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10562 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HB runtime OCC support for SapphireDoug Gilbert2014-04-111-1/+13
| | | | | | | | | | | | Change-Id: Ie730f0676fa3e35b030d88da8ce666ee61c413a3 RTC: 76683 Backport: release-fips810 CMVC-Prereq: 922520 CQ: SW256269 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9187 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Runtime LidMgr.Patrick Williams2013-11-074-0/+251
Change-Id: Ib456f3a41d79775a2af027e0bf80e36ce1d49232 RTC: 76679 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6971 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud