summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi/fapiParseErrorInfo.pl
Commit message (Collapse)AuthorAgeFilesLines
* HWPF: Fix automatic collection of CFAM register FFDC on HWP errorMike Jones2013-01-101-3/+4
| | | | | | | | | | | | HWP Error XML files can specify CFAM/SCOM registers to collect on a HWP error. The current code doesn't work for CFAM addresses containing non decimal characters, simple fix. Change-Id: I713ed12a85e6fd994c8e4b271b7901b0a66cd484 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2907 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add FAPI_SET_SBE_ERRORMike Jones2012-11-261-3/+61
| | | | | | | | | | | | | | | When a function extracts an SBE error value, this macro is called which calls FAPI_SET_HWP_ERROR with the correct error enumerator. This ensures that all error actions specified in the Error Information XML file are performed. This macro is generated at build time from the Error Information XML files. Change-Id: If43dfc7fc2d904408e92d1d640f050e5025bde4b RTC: 51583 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2333 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>
* HWPF: Minor fix to fapiParseErrorInfo.pl for Cronus compile failureMike Jones2012-10-281-3/+5
| | | | | | | | Change-Id: I7614b96e58a6685d44b2e2600b4c148674170006 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2144 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Allow automatic collection of register FFDC data when HWP error createdMike Jones2012-10-041-101/+338
| | | | | | | | | | | | | If HWP Error XML contains an element called <collectRegisterFfdc> which identifies the registers to collect as FFDC then when the error is created, those registers are automatically collected and stored in the error log. Also create Hostboot parsers to parse the data. Change-Id: I521527b97e0db0c808db81773ba0fe9aa00477ad RTC: 46029 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1866 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Update FAPI perl script to output assembler constantsMike Jones2012-07-021-39/+51
| | | | | | | | | | | | | Bishop Brock requested that the fapiHwpErrorInfo.H file contain assembler constants for the error IDs so that the file can be used by SBE assembler code to generate errors. This is trivial and is not tracked with an RTC story. Change-Id: Ica2f4c6762d555624bc9810528e804a39773868d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1264 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Detect duplicate IDs and hashes across all XML filesMike Jones2012-05-241-2/+4
| | | | | | | | | | | | | The previous versions of the attribute and error XML parser files only looked for ID and hash collisions within a particular XML file. The code is supposed to look for collisions across all XML files. Also ignore newlines and leading/trailing whitespace when parsing attribute enums. Change-Id: I1f88302f20c684dbee96b076df4119689d548cc3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1089 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Add error checking to FAPI perl scripts and output ULL to 64bit ↵Mike Jones2012-05-211-0/+12
| | | | | | | | | | | | | | | | | | enumerators John Farrugia requested these changes: fapiParseAttributeInfo.pl: - Detect duplicate attribute ID - Add 'ULL' to the end of 64 bit enumerators fapiParseErrorInfo.pl - Detect duplicate error RCs Change-Id: I862ca9b4f37dc83026f7fcdc26676bbf724656a1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1062 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Use fixed enum values for generated error/attr enumsMike Jones2012-04-161-5/+31
| | | | | | | | | | | Change-Id: Id0552daad9e6d9907cef7fa013fc6d75dbc8e185 RTC: 39175 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/879 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Hostboot errlogs should cope with HWP error IDs greater than 255Mike Jones2012-03-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | RTC: 39175 This is **part** of the work required for RTC 39175. When a HWP creates an error, the reason code is (HWPF_COMP_ID | errID). The errID is a single byte. Error log tags are automatically created so that the errors can be parsed. However at some point there will be more than 255 HWP errors so this scheme will not work. And more pressing is RTC 39175, the error IDs will change from 0, 1, 2, 3, to 32-bit hash codes. The new plan is to have a fixed reason code for HWP errors (HWPF_COMP_ID | RC_HWP_GENERATED_ERROR), the 32 bit error ID will be FFDC data which will be parsed by an auto-generated function. This also changes the expected HWPF unit test error to be committed by CXXTEST which is the subject of a request by Dan. Change-Id: I5669f2a53702649d4599556a9e380ec3725ca51b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/792 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Process error XML file with one element correctlyMike Jones2012-02-161-6/+6
| | | | | | | | Change-Id: Ie0bcf88aa8211552266575d891b3d74b0725a809 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/658 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Create HTML file listing supported HWPF attributesMike Jones2011-12-191-1/+5
| | | | | | | | | Change-Id: I27f8d3e536abddffdd568caab4bbc8b7696f50d5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/583 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Added Hwp to execute initfilesCamVan Nguyen2011-10-271-1/+3
| | | | | | | Change-Id: Ie597c23eadc51b7463487eff9316a30ad04d88e5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/455 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* HWPF: Error Information UpdatesMike Jones2011-10-111-206/+181
| | | | | | | | Change-Id: I9857638a35f21489e32448af3bf95e0155954b29 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/425 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* HWPF: Add support for gard to Error InformationMike Jones2011-08-261-9/+41
| | | | | | | | Change-Id: I814df4879d3bf9b547d15c5ae9a8a3683bfbf9f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/279 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-241-0/+22
| | | | | | | 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
* HWPF Error Info SupportMike Jones2011-08-191-42/+283
| | | | | | | | Change-Id: Ib060599a4b64e768cbc75184a050e851c0a39c4e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/250 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
* HWPF const fixes and perl script updatesMike Jones2011-07-121-28/+66
| | | | | | | Change-Id: Icb0393cac0e9143638b8d6811cc528404d29977c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/186 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Initial HWPF deliveryThi Tran2011-06-301-0/+79
Update after pass-around review Change-Id: I8f81dd7820b61607e9a98d17c81e74fface42c54 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/160 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud