summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice
Commit message (Collapse)AuthorAgeFilesLines
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-082-148/+25
| | | | | | | | | | | | | | A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Sync attributes from hostboot to fsp after each istepRichard J. Knight2013-02-081-1/+2
| | | | | | | | | | | | | | Code will sync targeting attributes in single step mode if the ATTR_SYNC_BETWEEN_STEPS is overriden in FspOverideAttrs.txt in the FSP nfs/hwpf dir Change-Id: Ifd7603bb7ce75a9ae7b5df5ac1c605916ba63aab RTC: 46672 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2978 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Turn InitService::doShutdown into a NO_RETURNPatrick Williams2013-02-041-23/+25
| | | | | | | | | | | | | | | | | | | | | There are a few places outside of initservice where Hostboot shutdown needs to be called. Currently the doShutdown returns so each of these places have a while(1); style loop. In the case of start_payload, their implementation of this loop was incorrect and causes us to take longer than desired to actually shutdown. I have changed doShutdown into a NO_RETURN function that keeps the correct loop done in a common way. See defect SW183911 for more background. Change-Id: I819eecadcddd2436f1c52571e48258316b43f38c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3028 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Check for attentions and do PRD analysis after each istep substepCamVan Nguyen2012-12-151-0/+5
| | | | | | | | | | Change-Id: Iec581a8be16b3ae392e7f467b7e69b867ecd1b1e RTC: 60409 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2660 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Update IPL flow for MPIPL modeCamVan Nguyen2012-12-041-0/+13
| | | | | | | | | | Change-Id: I185ab08b59ca0b76bf72246de82b5b8d32b60b14 RTC: 51687 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2382 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* IPL service not returning error on invalid istepsMark Wenning2012-11-091-23/+23
| | | | | | | | | | Change-Id: I7f782eadaa23db2589689abd09aa8e1e22827a01 RTC: 47594 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2241 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Memory Leak task_endBill Schwartz2012-10-122-52/+47
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove SPLESS_SHUTDOWN supportMark Wenning2012-08-221-2/+1
| | | | | | | | | Change-Id: I115111cb283d4127d483060bb602ce3f06a6aaf1 RTC: 45042 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1566 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Istep sync point message supportTerry J. Opie2012-07-122-17/+46
| | | | | | | | | | | | | | | | - Refactor IStepDispatcher for more robust msg handling - Modify sptask to act like real Fsp - Move all Istep Mbox Msg handling to Initservice - Add send sync point interface - Add wait on sync point interface - Modify start_payload istep to use new interfaces - Fix for Istep.pm Change-Id: Ib28b89cd916b9c0a0d15016996dbf1b88a8f79eb RTC: 43554 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1255 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix NULL message in start_payload istep.Patrick Williams2012-06-131-1/+1
| | | | | | | | Change-Id: Ib50b599cfb020f441dc04d302377de8b79156083 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1197 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Host Start PayloadTerry J. Opie2012-06-123-1/+111
| | | | | | | | | | | | | - Start Payload - System attributes for payload base/entry - Execute Cxx Unit tests before starting payload - Send mailbox messages to signal Fsp Change-Id: I314920c64d4c9deaa781696e02231ff8dc8de678 RTC: 39892 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1075 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Shutdown mailbox resourcesDoug Gilbert2012-06-071-0/+2
| | | | | | | | Change-Id: Ie746c43c18e1e3606fd85cbf2a936b48026d62df Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1106 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Register service with initservice to get notified on shutdownDoug Gilbert2012-05-211-0/+34
| | | | | | | | | RTC: 41263 Change-Id: Ic44026c55453d41e1e5e0921339ec126dc665566 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1061 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Call the Sleep/Winkle build HWPMark Wenning2012-05-081-23/+23
| | | | | | | | | RTC: 39785 Change-Id: I0e07c0f2a7827ee33bc0488e993734157b1850e1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/910 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* INITSVC: Fix duplicate error log tagsMike Jones2012-04-201-0/+1
| | | | | | | | Change-Id: Ib0717d6ea916fbc330cadd5dce420cc80694eaf0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/915 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Implement FSP MailboxMark Wenning2012-04-091-0/+1
| | | | | | | | | | | | | Modify IStepDisp to communicate over the mailbox Q to FSP. If there is no FSP, spin off a task to emulate FSP and communicate with the hb-istep user console on VPO or Simics. RTC: 38871 Change-Id: I2a75a05fbdc559db516a711bff46a49e82580bb0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/812 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactor InitServiceMark Wenning2012-04-042-230/+44
| | | | | | | | | | | | | | | | Finish join() conversion, remove TaskArgs Cleanup Initservice Cleanup ExtInitService Cleanup IStepDisp Add SPLess Halt & Shutdown command. Implements code for Tasks 35508, 3855, 36929 and 38870 . RTC: 38196 Change-Id: I554655412b529ef6cd143fea361a39bd584d18b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/794 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initservice: Eliminate task specific module idsMike Jones2012-03-202-58/+7
| | | | | | | | | Change-Id: Id01a11505b3a720c646de7ef8e8663c1478615ce Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/772 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* initial mdia commit. directories, makefiles, workitemBrad Bishop2012-03-191-0/+1
| | | | | | | Change-Id: Ic48a13935bfea72def5cdc63db3a93bb659ded30 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/751 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Ensure all Hostboot code uses ErrlUserDetails framework.Mike Jones2012-03-163-0/+213
| | | | | | | | | RTC: 36920 Change-Id: I82667c8e63e8a99b9cc7eb1dfbbbdbe1c3b2bb2a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/730 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* FAPI breakpoint external interface implementationDoug Gilbert2012-03-051-8/+2
| | | | | | | Change-Id: I2d18e87cb8ce250935a129e3567b09e12ce191d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/699 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Create framework for ISTEP 10, 12, 13Mark Wenning2012-02-292-3/+51
| | | | | | | | | | | | | | | | | | | | | | istep framework for istep 10 (sbe_centaur_init) istep 12( mss_volt, etc). istep 13 ( mss_draminit, etc ) Commented out testHWP, not used anymore. Fixed bug in hb-istep for simics fixed review comments Added section in genIstep.pl to generate include/usr/isteps/istepNlist.H ( istep 13 generated using script) NOTE: 10, 11, 12 were partially generated manually, that is why they are not consistent. Change-Id: I28ed8d3e60d2d0438ebe7ca3ed2053c781bc72ed Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/661 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ThreadPoolPatrick Williams2012-02-221-0/+1
| | | | | | | | | | | 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>
* Initial VSBE SupportsThi Tran2012-02-071-1/+2
| | | | | | | | | Fixed test case failure Change-Id: Ie388aebddacba99dfc6cc04e5fe98f0e8ca8b4bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/520 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC4545 and RCT4541 - HWP supportMark Wenning2012-02-072-14/+25
| | | | | | | | | | | | | | | | | | | | - branch HWP_test3 Add support for IStep HWPs: HostBoot - DMI Training 11.7 proc_cen_framelock : Initialize EDI Frame HostBoot - Establish System SMP 11.4 dmi_io_run_training : Run training on ext buses - add support for 2 centaurs - push to Gerrit for full review - review responses - final review responses Change-Id: Iab9d7c145eb6834cec5edcd0a6b97622cf0ce86b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/621 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* istep breakpoint supportDoug Gilbert2012-02-031-0/+44
| | | | | | | Change-Id: I592c617963f810209a9ab76345a8c568d14af62c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/629 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* SPD Device DriverTerry J. Opie2012-01-311-0/+1
| | | | | | | | | | | - JEDEC format for DDR3 - Testcases Change-Id: I8a9bf87335914d5cb824adb92f11546c37e5b423 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/610 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix error log leak in AttrRP.Patrick Williams2012-01-191-0/+10
| | | | | | | | Change-Id: Ia4b14565897ca4581836124f2cd933ce448c90b8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/607 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Interrupt presenter implementationDoug Gilbert2012-01-051-0/+1
| | | | | | | | Change-Id: If6b499d819b71298b8a64e096e1eb83c639ad645 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/517 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Complete virtual memory write path during shutdown sequenceMatthew Barth2011-12-082-2/+47
| | | | | | | Change-Id: I93a6305b88539d8cf1b41cfc4cde713fd7c19494 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/522 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC3594: Improve SPLess OperationMark Wenning2011-12-061-1/+20
| | | | | | | | | | | | | | | | - branch spless3 - reorganize command and status regs - add seqnum - rewrite spless handler - add scanistepnames.pl code to extract istep names - modify hb-simdebug.py to read istep names - review fixes - add workaround for vbu Change-Id: I0f8f991ccbaa822ef5ab672279c3c206e6b7b2e3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/523 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* I2C Bad Machine Path and Cxx Testcases as well as the EEPROM device driver.Terry J. Opie2011-12-011-0/+1
| | | | | | | Change-Id: Ia89d3aecb3192a2f99ef9fbb5abe0ce1d528a481 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/506 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* RTC4319: Shutdown if IStep failsMark Wenning2011-11-163-69/+69
| | | | | | | | | | | | | | | | - add macro to report error to testHWP.C - new TASKARGS macros (prepare for join change) - istep dispatcher, extinitsvc and initsvc now call shutdown() - pass error codes to parent task - fix errorlog tags, see RTC3840 - added ErrlUserDetails module, mostly for debug - review fixes Change-Id: Ib5009f1bf0f7657d4da5bd6d1ecf64e6113b3383 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/486 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move testHWP to the last substep of HWAS (ISTEP 4)Mark Wenning2011-10-261-0/+1
| | | | | | | | | | - fix istep numbering, thanks Dan - remove src/usr/isteps dir Change-Id: I9420b7bddf6f9237045cecf888f01b37afa2df0e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/459 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* RTC3872: Hardware Availability Service: Add HWAS as first ISTEPMark Wenning2011-10-203-13/+63
| | | | | | | | | | | | | | | | | | - first commit - change isteplist to call hwas - comment out test isteps - modify xml to add HWAS_STATE attribute - add macros to taskargs - remove debug trace from taskargs - add call to init_fsi - post-review - merge xml files - forgot one printkd Change-Id: Iab3b1f85c401f9a176ed84ddb91263caf25a3d56 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/430 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Removed extra ::TargetArgs:: from usage.Patrick Williams2011-09-141-2/+2
| | | | | | | Change-Id: I11ec4d124d58641af8902799002ac1ed5104d030 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/340 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move libs to the extended imageDoug Gilbert2011-09-071-0/+4
| | | | | | | | Change-Id: I275a3a4b897e6426164e4f3bd642f92b0d3fed07 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/285 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* RTC 3346: Allow SPless control of ISteps within HostbootMark Wenning2011-08-313-3/+142
| | | | | | | | | | | | | | | | | | - initial commit - add splesscommand and splessstatus objects - factoring - findTaskInfo, ExtTaskInfo structs - doxygen cleanup - unit tests - cleanup, final - review fixes - take out splesscommand and splessstatus classes - 2nd round of review changes Change-Id: I6dce18072b5464a4b8c34e5f4ff639e38afa53d0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/245 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-242-16/+44
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Virtual File System module load and unloaddgilbert2011-08-171-0/+1
| | | | | | | | Change-Id: Iaa6a256a8a15ac48bfba5bc1cab292c5ac246166 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/253 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PNOR Resource Provider (RTC:3387)Dan Crowell2011-07-281-0/+1
| | | | | | | Change-Id: Ifa47ad581c7d403b927708497b565d858b31ee0f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/213 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server
* Cleanup from previous reviews, add barrier for CxxTestMark Wenning2011-07-251-5/+61
| | | | | | | | | | | | | | | | | - add IStep1 for demo - cleanup: remove inheritance, add errlog tags, etc. - inadvertently ran copyright script, this is OK. - more cleanup: indentation, etc. - add barrier for CxxTests - rename cxxtest_stub.C to cxxtest_data.C - merge problems on gerrit - fix review comments Change-Id: Iee988b8595d8c6dd521fd94d4d58cb403898d948 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/207 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* IStep DispatcherMark Wenning2011-07-142-2/+31
| | | | | | | | | | | | - remove refs to include/src/usr/taskargs/ dir - use _start() macro in IStepDispatcher - post-review fixes - fixed - inadvertently ran copyright script on staged files Change-Id: I2b256524746d0eb25ed04e0835450e220dc65492 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/191 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* InitService changes for LLDD 0.7Mark Wenning2011-07-142-29/+178
| | | | | | | | | | | | | | | | | | - implement task flags - add barrier to unit tests - startTask returns errlog handle - factor taskargs.H - add STRICT mode and fix results - add tasktest2 to replace example.C - add cxxtest as an explicit task at the end - cleanup todo's - post-review fixes - merge problem Change-Id: I073bd154a64013553c1863f9eb674cda2bf40a8d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/187 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Initialization Service (Flow Control)Mark Wenning2011-06-211-0/+66
- save off changes before switch branch - rename to get rid of '_' in filenames. - split into separate files - adding errorlogs, saved off so CC guru could work - fix problem in vfs_main where we would crash if there is no _start in launched task. - refactor - fix problems with coding guidelines - add testcases for startTask and reportError - add fixes from code review Change-Id: I2ae34cb6097c466d4f6d0e41b4b32c2eba47e9df Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/145 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud