summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
Commit message (Collapse)AuthorAgeFilesLines
* Determine starting error log id.Brian Horton2013-09-131-5/+5
| | | | | | | | | | | | | errlManager will set starting log id based on the node (0x9#) and the highest id of the error logs found in memory. Change-Id: I1867b83d069e048fcb411bb243b6eaf62ab578c7 RTC: 68687 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6062 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Andrea Y. Ma <ayma@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add clock callout functionalityBrian Horton2013-09-132-0/+33
| | | | | | | | | Change-Id: Id864e2baa0b69d0dfdbe9c9cfe56f7b4246269ab RTC: 73480 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5842 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support SPIRA-H HDAT FormatDan Crowell2013-07-301-0/+15
| | | | | | | | | | Change-Id: If87eedf15c1ef96ea00c1a5574ad1f6b72e697b5 RTC: 71881 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5498 Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Start using real SRC range for HostbootDan Crowell2013-07-161-5/+5
| | | | | | | | | | Per Section 4.3.3 of v0.10a of PEL PLDD Change-Id: I7ba45bfd9f5abf48dce2d9e1d98c4eb2763ff0a6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5426 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* implement deferred deconfigure supportBrian Horton2013-06-141-2/+10
| | | | | | | | | | | | | deferred deconfigure record is created when an error log with a DELAYED_DECONFIGURE callout is commited; at the end of the istep worker function, all outstanding deferred deconfigure records are processed. Change-Id: I3b6623c4f1e49f362d5b3302a964823810ea18ec RTC: 45781 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4786 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add interface to do bus callout in Hostbootvanlee2013-06-122-0/+35
| | | | | | | | | Change-Id: If169d997a0aba49a81ef834d7806e1e589dc3bff RTC: 69459 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4503 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Set failing subsystem ID based on callout priorityRichard J. Knight2013-06-114-66/+157
| | | | | | | | | Change-Id: I1b1dc7c9fc9331603246d8be7a5313fe84163f51 RTC:51414 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4746 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* add platform specific callout functions for FSP integration.Brian Horton2013-05-081-3/+8
| | | | | | | | | | | | | | | Make the HWAS function processCallout() be common instead of hostboot specific, and create new platform specific functions for the processing of procedure and hardware callouts. Intention is that hostboot and fsp will use these to read the hwas hostboot-created callout_ud_t structure out of an errlog. Change-Id: Ie5679b0a833f802744bfd8f5285901b73f022d52 RTC: 49965 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4275 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* correct ErrlUserDetailsLogRegister Target parameterBrian Horton2013-04-291-4/+4
| | | | | | | | | | | | make the TARGETING::Target * parameter be const. Change-Id: I04c2fadfb50ca8e9c0ccff39dc3c55c150ec9193 RTC: 70341 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4211 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Bradley W. Bishop <bradleyb@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* handle MASTER_PROCESSOR_CHIP_TARGET_SENTINEL as approporiateBrian Horton2013-04-091-1/+11
| | | | | | | | | | | | | | | | | | . create new errl->callout function to handle calling hwas::processCallout, so that can be done in proper order (after commit, save to PNOR and send to FSP of errl) . in callout code, convert SENTINEL target to masterProc . a deconfigure of the masterProc means that we can't continue, so return flag so that doShutdown() will be called to halt the IPL (TI). Change-Id: Ie43b8caf28d3aea20c15827e035dd890378dbcee RTC: 45780 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3695 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* update user-detail errog log parsersBrian Horton2013-03-131-75/+0
| | | | | | | | | | | | | | update errolog parsers to format the data for the following: . errludtarget . errludattribute . errludlogregister . errludcallout Change-Id: I8fddb3eefd76413e70f4e894ef19649b74682859 RTC: 41707 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3350 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-0813-1423/+177
| | | | | | | | | | | | | | 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>
* Triggering Hostboot Shutdown when PNOR is badAdam Muhle2013-02-041-1/+17
| | | | | | | | | | | | | Updating the doShutdown path to support receiving a reason code as input. Then changing PNOR RP to issue a shutdown when problems are detected with the PNOR Partition table. RTC: 44146 Change-Id: Ib4111d0a91f53d90fa100422a1463539897598e6 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3024 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Lockless trace implementationPatrick Williams2012-12-141-0/+1
| | | | | | | | | RTC: 35396 Change-Id: I96ea0d95606f04abb4dc2b0470345ca475b53912 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2520 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Return error when procedures fail during istepRichard J. Knight2012-11-032-31/+109
| | | | | | | | | | | Change-Id: I65686d261583ea84c7908f819071bd751fdb0e06 RTC: 39876 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1627 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Report host boot error log to FSPPaul Nguyen2012-10-302-35/+112
| | | | | | | | | | Change-Id: Iad4be4f0a45a607f7b56fc5d194f1812f74fbfe8 RTC: 34235 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1949 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove unneeded/unused TARGETING type attributes.Brian Horton2012-10-101-77/+68
| | | | | | | | | | | | | | | | | | | | TYPE_SCM TYPE_DCM TYPE_MEMVRM TYPE_PROCVRM TYPE_PERVASIVE TYPE_MEM_PORT TYPE_DMI TYPE_TP TYPE_POWERBUS This includes the Story 46851 work as well (TP and POWERBUS) Change-Id: I6a9ca86ba11eb42b65d530320b02a8ed52836a7c RTC: 38757 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1939 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fix build issues trying to do 'hb errlparser' buildBrian Horton2012-09-241-0/+1
| | | | | | | | | | | | | . mismatched and not namespaced reasoncode . missing include file Change-Id: Ibda649d74da50b74f41b5269476558ba1d5d7cc3 RTC: 48351 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1710 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* remove unneeded mutex lock/unlock on hwas proces callout set/get functions.Brian Horton2012-09-071-28/+26
| | | | | | | | Change-Id: I9f0907b271f01d1bbbbce7c5492bb34338e2cad9 RTC: 48001 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Performance and size optimizations - inline simple methodsBrian Horton2012-09-051-29/+37
| | | | | | | | | | | | | | | Move the code for some of the 'simple' methods (ie, {}, or simple methods that just set a value or return a value) from the .C file into the .H file, so that they're inlined. Saves in both size and performance. Didn't measure performance gains (not sure I can in a simulated environment..) but generated .list files look much better. Size - hbicore_extended.bin dropped from 1442928 to 1426544 (16K, 1%) Change-Id: I6915cba77520b4a28237c557760ababcca781804 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1464 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Hardware CalloutsBrian Horton2012-08-136-182/+373
| | | | | | | | | | | | | | | | | | | Support for HW and Procedure Callouts, including GARD and deconfigure information. . Add errl functions to get the information; . Add errlog userdetail code to package callout data; . Add to errlog commit function to find callout user-detail sections and call a HWAS:common function to process the callout. . Remove gardLevel from Targeting hwasState field Change-Id: I01c7c3721e6fd843a0ba2ad4df8399f6db68b590 RTC: 41276 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1266 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Compile Hostboot without -fshort-enumsNick Bofferding2012-08-031-24/+25
| | | | | | | | | | | | | | | | - Removed -fshort-enums from config.mk - Fixed incorrect buffer size calculation in target.C - Disabled short enums in targeting compiler - Removed unnecessary assert - Updated enum storage space Change-Id: Ia83f942b54bc5ee246ce8d69750081714d458dcf RTC: 35808 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1437 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errlog User Details : Hardware RegisterBrian Horton2012-06-264-5/+334
| | | | | | | | | | | | | | | | Add support for new User Details error log class that will log a hardware register. Developer can read the data and then call the errlog function to have it dumped, or can just call the errlog function to do the deviceRead go get the data. Also, fix bugs in a couple of device read functions that were too strict in their size check - input buffer size just needs to be >= size required, not ==. Change-Id: I05ba42ecd13b3fc963c56bb706d855c9c89412a3 RTC: 38497 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Coalesce ERRL user detail data error log sectionsBrian Horton2012-06-075-10/+28
| | | | | | | | | | | | | | | | | | | | | Add optional 'merge' flag to addFFDC() method which certain UserDetail error log objects will use to cause additional log entries to get merged together. They will ONLY get merged if they match with the last section added, to preserve error log order. In addition, add support for an addData() method on the Attributes User Detail class. And re-organize code so that constructor methods are smaller, making final library smaller. NOTE - the parse() functions are NOT complete, since building and executing the hb errlparser tool is currently broken. Story 41707 is open to do that work once the tool builds. Change-Id: I04d85620efe964ac243dd76df78ad4161e5a2f13 RTC: 41534 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1050 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errlog User Details: Log Arbitrary AttributesBrian Horton2012-05-084-16/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add code so that a hostboot or procedure developer can save attributes into an error log and have them display in a human-readable way in order to aid debug and FA. All data is stored in errlog in binary format and decoded into strings and enum 'constants' with the parse function. Methods to dump and parse the attributes are auto-generated by the xmltohb.pl script. In addition, cleanup up Target User Details so that blanks lines aren't output and so that the attribute name isn't put into the error log and is instead added by the parse function (smaller errlog usage), and change to same coding style as other UserDetail functions (data put into buffer in ctor and not in addToLog function). following will be added in future story/task work: - parsing for complex attributes. - combining multiple attribute user details together instead of generating a separate log entry for each. Change-Id: I6baafa36ef095aafabb5bf86d6054bcb3db47019 RTC: 35275 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/944 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* ERRL: Minor fixes to enable error log parserMike Jones2012-04-031-6/+12
| | | | | | | Change-Id: If0ca350e5a791900e667c457668ee5200dfc9eb9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/810 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Decode HWP FFDC in error logsMike Jones2012-03-212-2/+93
| | | | | | | | | | | RTC: 37921 Change-Id: I6c8bbe5e92eb6e22eb18cba3529128ae70a9786f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/768 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Interface to remove backtrace from error logMike Jones2012-03-161-12/+13
| | | | | | | | | RTC: 37794 Change-Id: I944f6ed9c86c64e0d3a84649d1f71e66a9aaa7c3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/732 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-169-293/+704
| | | | | | | | | 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>
* Task 37412: DeconfigGard: Add Target data to error logsBrian Horton2012-02-161-2/+2
| | | | | | | | | | | add use of ErrlUserDetailsTarget to add FFDC to a section of the errlog for desired cases. Change-Id: I1e9fb9d5b8ed42c7a26eb44b7eb4e0c19c5268a5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/664 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot-aware errl tool part 1.Monte Copeland2012-02-029-29/+59
| | | | | | | Change-Id: Ibe49dc935206775de032d397b2800a7b83208283 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/630 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Common Errl FFDC Classes: DCUT - RTC4289Van Lee2012-02-012-0/+172
| | | | | | | Change-Id: Ie0c7cc6422d30fe0b5449eb54aaa62ebb54774e7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/618 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Error Log Backtrace SupportTerry J. Opie2011-12-012-3/+61
| | | | | | | | | | | This code collects the addresses for each of the frames, but does not parse the data. The support to do this isn't available in the errl parser as of yet. Change-Id: I4804ab100fc376e26ef908c472c94202b4642aac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/515 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* collectTrace to allow partial trace buffer collectionMonte Copeland2011-11-211-8/+15
| | | | | | | Change-Id: I06ce6df416f38c4619281180ea8515c90f8f2fab Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/498 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Errl commit with component IDMonte Copeland2011-11-021-1/+1
| | | | | | | | Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* RTC3964: x86 Support for UserDetailsMark Wenning2011-11-024-2/+355
| | | | | | | | | | | | - first commit - errlparserbase and errluserparser - need linker step for userdetails libs - final merge Change-Id: I32daae8de483616f20e66581f4e8f3de0dc98257 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/467 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* RTC3964: ErrorLog User Data ParserMark Wenning2011-11-014-12/+296
| | | | | | | | | | | | | | | | | - created - add unittest for FILENAME - add unittest for StackTrace - still need to handle x86 (mini-errl) side - post-review changes - Monte's suggestions - Thi's suggestions - remove appendToLog() - combine with addToLog() - fix merge error - fsi was in both BASE and EXTENDED Change-Id: I863aae9f75aad5d576e839a9ef3099af6943982b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/429 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Error log changes for Sprint 6Monte Copeland2011-10-319-194/+1348
| | | | | | | | Change-Id: I44ad678cfae8cd84e5370391dc7e20d74f59c9ca Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/449 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-244-0/+88
| | | | | | | 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
* Changes to errl to commit error logs to L3 RAM 7Monte Copeland2011-08-163-82/+262
| | | | | | | Change-Id: Ic058a5b9ea6f8f1d79fc0ff30097cc32f18423bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/221 Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Tested-by: Jenkins Server
* Add user data macros, fix singleton for error logging.Thi Tran2011-06-014-11/+94
| | | | | | | | Change-Id: Ie093af3c3c1202563c47c01472a97dd36a3a184a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/106 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial Error Log code deliveryThi Tran2011-05-243-0/+660
Merge src/usr/makefile conflict Update after first review Update after 2nd review. Add error creation example Update example with review comments Re-arrange parameters' order of error log constructor Update with additional comments from Patrick Change-Id: I18001f6232492a3acfd8819b34ef670a785ac483 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/72 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
OpenPOWER on IntegriCloud