summaryrefslogtreecommitdiffstats
path: root/src/usr/util
Commit message (Collapse)AuthorAgeFilesLines
* Start PM Complex during IPL for OPALCorey Swenson2017-01-043-36/+38
| | | | | | | | | | | | | | | | | | | - load/start PM complex in istep21 - make some rt_pm functions common - load/start PM by default in HB standalone - load OCC image into PNOR - fix bug in UtilLidMgr - add patch for p9n.act bug Change-Id: I6c41934cf1614018da7dcad67573c3edc2d081b6 RTC:159931 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32918 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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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>
* Allow Cronus to use debugComm on FSP based systemsDean Sanner2016-10-051-1/+3
| | | | | | | | | | | | | -Pass down HRMOR adjusted addr -Provide unique continous trace enable for debugComm Change-Id: I214a6b2e0113ce19b8813e7d4902de4b42b23d11 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30178 Tested-by: Jenkins Server <pfd-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: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Apply BOOT_FLAGS onto slave sbeDan Crowell2016-08-291-8/+7
| | | | | | | | | | | | | | | | | Need to get the BOOT_FLAGS (scratch3) bits set into the slave sbe Also consolidated other code to use a single set of interfaces and structures. Change-Id: I670acb5cee1ab4fcebaa7be72aa3b986598873d3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28003 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Utility functions for mbox scratch reg accessDean Sanner2016-08-172-1/+121
| | | | | | | | | | | Change-Id: If262e891934b5228ea1fa9081a0c85a40a52036d RTC:127348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26346 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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: William G. Hoffa <wghoffa@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-034-6/+184
| | | | | | | | | | | | | | | 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>
* Release pages used by pnor vmm when lid manager is finishedDan Crowell2016-03-211-1/+33
| | | | | | | | | | | | | | | | | | Forces a release of the physical pages being used for the pnor vmm cache once we are done reading the lid out of pnor. Forwardport: yes Change-Id: I35df6f2316fa9903d8283395297201bd4c87e108 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20733 Tested-by: Jenkins Server Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22304
* 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-228-83/+181
| | | | | | | | | | 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-315-267/+598
| | | | | | | | | | 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-2115-221/+219
| | | | | | | 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-212-7/+15
| | | | | | | | 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>
* Create SRC description file during buildDoug Gilbert2014-05-081-2/+2
| | | | | | | | Change-Id: I636dbfad6cc695e42e6de403e26a91634a4b370d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10715 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix double delete in HBRTDean Sanner2014-04-152-0/+3
| | | | | | | | | | 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>
* Remove leftover fixme/todo and update error calloutsDan Crowell2014-01-103-13/+13
| | | | | | | | | | | | | | | | Remove all untagged fixme/todo comments Adde new parm to error log constructor to avoid extra code in common software error case Update error callouts Add strncpy Change-Id: I8bd8f48193a96b79db91ed35c4fd485e6da38dba RTC: 67921 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7921 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Runtime LidMgr.Patrick Williams2013-11-075-1/+252
| | | | | | | | | | 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>
* Clean up BEAM warning in utilmem.Patrick Williams2013-11-071-23/+23
| | | | | | | | | | Change-Id: I417f5d96025c37a7e82703f73d364657ca24fcb2 RTC: 84072 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6880 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>
* BEAM fixes for various components.Patrick Williams2013-05-151-2/+3
| | | | | | | | | | | Change-Id: I900f33eefeeeaa35d981b93c1af0bec8ab4000c2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4424 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* OCC DMA SupportAdam Muhle2013-04-293-15/+782
| | | | | | | | | | | | | | | Added support to get LIDs from either PNOR Ext Img or through mailbox DMA from FSP. The Extended Image path is fully tested, however the mailbox DMA code can't be tested until FSP support is available. The OCC function will be enabled with RTC 50987. Change-Id: I798ea19b2ca566288ff4ce64ce7440de20703496 RTC: 51076 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3845 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce trace buffer sizes.Patrick Williams2012-12-141-23/+24
| | | | | | | Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Error in UtilFile.Patrick Williams2012-08-101-1/+2
| | | | | | | | | | | | | | Due to using the copy constructor when creating the UtilMem wrapper around a Hostboot file, we end up (temporarily) with two UtilMem objects pointing to the same buffer. Use in-place constructor instead so there is only ever one UtilMem instance. Change-Id: I632a5914bb1a9c28268be802771b55aa2dc0d8e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1506 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* errors with UTIL errlog stanzas in utilmem.CBrian Horton2012-07-181-8/+8
| | | | | | | | | | | | | | incorrect errorlog stanzas resulting in 'hb errlparser' errors . Util:: not UTIL:: for namespace . constants are UTIL_MOD_MEM_[READ|WRITE] not MOD_MEM_[READ|WRITE] Change-Id: Iba642f2373b9ae8ef742b8b2357ed89a03e8aa0c RTC: 45244 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1377 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Port UtilStream, UtilMem, UtilFile from FSP.Patrick Williams2012-06-076-1/+897
| | | | | | | | | Change-Id: Id17617544a8c4ed646aa8410cb968ba9376dea68 RTC: 41638 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1097 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ThreadPoolPatrick Williams2012-02-224-0/+379
Change-Id: I09bf867a2dbb45e063e4785f5b2b1f705fae72c8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/680 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud