summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser/genErrlParsers.pl
Commit message (Collapse)AuthorAgeFilesLines
* P10 SRC listing orderDawit Habtegiorgis2019-06-281-2/+2
| | | | | | | | | | | | | | | | | | Changed ordring of SRC from in order by subsystems reason, then by reason code to in order by reason code then by subsystems reason. This change enable as to easly detect changes when we do diffs between versions. We end up getting 1 chuck that has changed per SRC, vs a lot of changes all scattered through the file. Change-Id: I2d6377078209c324a155c8d29e4f5085e8e68a7b RTC: Story 210547 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79525 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add PRD files SRCs to srcListingCaleb Palmer2019-01-151-14/+186
| | | | | | | | | | | | | Change-Id: Idc79b63214f24e4dc0d97d61be208288fe011b45 CQ: SW431064 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70399 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: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Pushing HB plugins and related files for building errltoolVenkatesh Sainath2018-11-151-1/+54
| | | | | | | | | | | | Change-Id: I91d432a901fb4ee6de469ca8076637eaa2e1315d Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/60027 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: Sampa Misra <sampmisr@in.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ignore dummy files when parsing error log dataDan Crowell2018-03-301-4/+6
| | | | | | | | | | | | | | | | | | | Hit a problem where the patch process was leaving around files ending in .orig that would be noticed by our error log data generator script. The script then reports a duplicate id and fails the build. The fix is to only look at files that end in H or h. Change-Id: I816c080eb6690075cedce7c5f13c9c40a1af3d93 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56479 Tested-by: Jenkins Server <pfd-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> 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: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Convert asserts to error logs where it makes senseStephen Cprek2017-12-201-0/+1
| | | | | | | | | | | | | | Change-Id: Idd15e39cc6be44c0865f13503bfa4482d77fcf0d RTC:181899 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51042 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Update err console display to include PRDF logsDean Sanner2017-03-281-7/+4
| | | | | | | | | | | | | 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>
* Add PNOR SectionIdToString to replace direct access to cv_EYECATCHERStephen Cprek2017-03-231-0/+5
| | | | | | | | | | | | | | | | This catches if the const array size does not match the number of pnor sections and out of range index errors Also it adds genErrlParsing for bootloader files Change-Id: I0a90816a7620022dec16bc7358a68ffbdade0083 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38159 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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* Add error logs tag for kernel errors so they get into KCDan Crowell2017-01-201-1/+7
| | | | | | | | | | | | | | Adding some @error tags for the critical kernel TIs so that a description ends up getting into Knowledge Center. ForwardPort: yes Change-Id: Ibe468d25a9390ab5f4285d969b9e9c838830f216 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34792 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: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* FAPI2: FFDC Error XML Hostboot IntegrationPrasad Bg Ranganath2016-06-021-4/+1
| | | | | | | | | | Change-Id: If5c82101d973ad8fb383252d93af3aa0bd97aea7 RTC: 124673 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22194 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* PRD: Re-enable errl parser compilation of PRD codeZane Shelley2016-03-101-12/+10
| | | | | | | | | Change-Id: Id1a5cd175620851b2bdb3d6e0fad95987ace580f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21686 Tested-by: Jenkins Server Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Resolve FSP build issues from P9 work.Patrick Williams2015-12-141-11/+15
| | | | | | | | | | | | | | - Disable PRDF error log parser since it is not currently generated in hostboot. - Disable HWPF error log parser since it is deprecated and doesn't compile. Change-Id: Ic3639fadd345ad816d403a09881a35b761bf3376 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22709 Tested-by: Jenkins Server Reviewed-by: Elizabeth Liner <eliner@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix errldisplay errorInfo hex string compare to be numericStephen Cprek2014-11-131-2/+10
| | | | | | | | | | This will fix those "unknown" strings in the errldisplay Change-Id: Id231948fc7d235e427cbbbe88d3c4477109e239b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14405 Tested-by: Jenkins Server Reviewed-by: ANDRES A. LUGO-REYES <aalugore@us.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-1/+12
| | | | | | | | | | | | 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>
* build fix: don't rebuild errldisplaydata.C every time.Robert Lippert2014-10-161-2/+14
| | | | | | | | | | | This changes to only update the errl genfiles if their contents change to avoid extraneous build actions. Change-Id: I8ff4621d02c5506146ef5abd72031f4dc04c665c Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11295 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-161-0/+64
| | | | | | | | | | 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>
* Tools for delivering SRC descriptions to PUBsDoug Gilbert2014-09-081-35/+109
| | | | | | | | | | Change-Id: I1e909145a28c4cce750baee5d79f8f1672235ba9 RTC: 106255 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12841 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-10/+10
| | | | | | | 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>
* Create SRC description file during buildDoug Gilbert2014-05-081-1/+85
| | | | | | | | 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>
* cleanup hwas error module/reasoncodes to work with FSP better.Brian Horton2014-02-111-17/+1
| | | | | | | | | | | Change-Id: I1ae2fafab64811d6f68f57d437bd5fba16a5d532 CQ: SW239708 Co-req: 910348 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8284 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add term flags to PNOR and INTR errorsDan Crowell2013-10-171-2/+4
| | | | | | | | | Change-Id: Ieb7a4d17e12610eb1dbd80875ddc287ca1f1ccae Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6674 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Added common header file for reason codeStephen Cprek2013-10-101-1/+76
| | | | | | | | | | | Change-Id: Ifea8a00b9a36817e0b42054dfb9ce13dad8f15a6 RTC: 76269 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6478 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Enable PRD HB errl pluginsachin gupta2013-08-261-11/+9
| | | | | | | | Change-Id: Ic2919a609381e22b20e878f1babdb378b740246d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5912 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: Revert back changes for PRD error log plugin.sachin gupta2013-08-131-9/+11
| | | | | | | | Change-Id: Iae426478dffc8b553488a84dca962c03e681ef14 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5771 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* PRD: To use PRD plugin for error log parsingsachin gupta2013-07-301-16/+41
| | | | | | | | Change-Id: I676ae1e016a96a153f6b7bf4f1e0469001e4471c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5400 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* fix issues with errl in regards to fsp and plugins.Brian Horton2013-07-301-1/+1
| | | | | | | | | | | | | | | - add ERRL_CID_HOSTBOOT parameter to errl SrcPlugin and DataPlugin functions to handle modules being in multiple components; - add hbotcompid.H file to fsp.tar so that errl parser has hostboot's id-to-name mapping; Change-Id: Ied332ed0890721116b4e5cf1220f52ff8243dc3b RTC: 78942 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5598 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support ERRL UD and SRC parsing in hostboot standaloneRichard J. Knight2013-02-281-4/+30
| | | | | | | | | | | Change-Id: I16ec13f87d9a71c3e0248bf4776e9f3402be6285 RTC:49967 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3138 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> 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-081-0/+898
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>
OpenPOWER on IntegriCloud