summaryrefslogtreecommitdiffstats
path: root/src/usr/errldisplay
Commit message (Collapse)AuthorAgeFilesLines
* errldisplay: use table-driven display for HWPF error stringsRobert Lippert2017-10-282-12/+101
| | | | | | | | | | | | | | | | | | | | | | | | | Gcc generates space-inefficient code for giant switch statements and the existing display formatted encoded strings have much redundant data. Refactor the perl script to generate a static table output containg the string data plus lookup function and move the actual format strings to the display code itself. This saves ~300K for the hostboot extended image and allows the HWPF error string data to be used outside of just the console display object. Resolves #118 Signed-off-by: Robert Lippert <rlippert@google.com> Change-Id: Ifddc1cdb1789b4943a68590c169fcdf8206d2ffa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48595 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Added Error log support for new GPU sensorsMatt Derksen2017-09-011-0/+19
| | | | | | | | | Change-Id: I8a0de390516fd02df07860b960db506899b13f14 RTC:178218 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45116 Tested-by: Jenkins Server <pfd-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>
* Fix compile for PRD console error displayDean Sanner2017-07-171-2/+3
| | | | | | | | | | | | | | | - Actually compile in the strings Change-Id: I96b1a96e44dfa0b6248f025a9698a9464f324f4b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43088 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: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Allow deconfig without a callout in error log.Matt Derksen2017-06-231-0/+1
| | | | | | | | | | | | Change-Id: Ia2ce6f89b4fbc4bbafa355cb1da07bdbd360c317 RTC: 174701 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42085 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: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add support for remembering deconfigs without GUARDDean Sanner2017-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | Currently on reconfig reboots only parts that are GUARDed are remembered and reapplied. - Add suport for a semi persisent PNOR partition, HB_VOLATILE which Hostboot uses to keep track of the reconfig reboots vs power off - Add a new GUARD type specifically for reconfig loops - Add RECALL_DECONFIG_ON_RECONFIG config flag to control what gets added to GUARD partition - During boot will add/clear guard records on deconfig based on config flags and semi persisent state. Change-Id: Iec636058cde8095c0c4216d1f95ae4fda554395e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39780 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update err console display to include PRDF logsDean Sanner2017-03-282-8/+83
| | | | | | | | | | | | | Change-Id: I42ec4de748bcfaf1efd41680e087b9664539a69f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37608 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@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: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Improve error output on consoleDean Sanner2017-02-033-108/+304
| | | | | | | | | | | | | | | -Reformat the basic output to be more condensed -Fixed parsing of entity path -Added CONSOLE_OUTPUT_FFDCDISPLAY to emit all HWP FFDC Change-Id: I62f5c9f208be8d6f23428baa21d52866588d117c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35733 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: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ignore info/recovered logs in OpenPower boxesAndres Lugo-Reyes2015-07-021-48/+58
| | | | | | | | | | | Change-Id: Icb6f8b39ee7ab299f4292ac2d775adaf9c16721b RTC:126449 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17807 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix errldipaly compTable to be sorted by numerical compId valueStephen Cprek2014-10-221-34/+33
| | | | | | | | | | | | Removed '\n' from errldisplay console prints as they add an extra new line. Don't see a need to print out label, more useful target info will be printed out in displayTarget Change-Id: I8c392f3c84d8acd4bda544e5e5b9668aebbcc0ed Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14082 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Quiet most ERRL messages.Xo Wang2014-10-161-2/+2
| | | | | | | | | | | Kill the novel surrounding each error log entry about its life and death. Change-Id: I6dbbf44244207f197d4ea30dca26c5575301c208 RTC: 97491 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11314 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* errl: display user detail sections of error logsRobert Lippert2014-10-161-3/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error log entries now print out like this ================================================ Error reported by hwpf (0x0900) HW Procedure generated error. See User Data. ModuleId 0x02 MOD_HWP_RC_TO_ERRL ReasonCode 0x090f RC_HWP_GENERATED_ERROR UserData1 RC value from HWP 0x00000000007f9b90 UserData2 <unused> 0x0000000000000000 User Data Section 0, type UD Subsection type 0x01 ComponentId hwpf (0x0900) STRING User Data Section 1, type UD Subsection type 0x0c ComponentId hb-trace (0x3100) User Data Section 2, type UD Subsection type 0x0c ComponentId hb-trace (0x3100) User Data Section 3, type UD Subsection type 0x0c ComponentId hb-trace (0x3100) User Data Section 4, type UD Subsection type 0x02 ComponentId errl (0x0100) TARGET Label tag Target eeeeeeee HUID 000d002c Phys path Physical /Sys0/Node0/Membuf22/MBA0 Affinity path Logical /Sys0/Node0/Proc2/MCS6/Membuf22/MBA0 User Data Section 5, type UD Subsection type 0x0c ComponentId hb-trace (0x3100) ================================================ Change-Id: I289d956a7af2e6effb24afeb11f29ac54c6e0311 RTC: 97491 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11302 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add human-readable dumps of error log entries as they are committed.Stephen Cprek2014-10-162-0/+232
| | | | | | | | | | Origin: Google Shared Technology Change-Id: I1d0a30faa27c0b8bd1b76418706e24378a5da7eb RTC: 97491 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11266 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add HBconfig file for errl commitsStephen Cprek2014-10-161-0/+6
Change-Id: I2a5d997d2c61241b8fe856807638acbbcde565cc RTC: 97491 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11428 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud