Skip to content

Commit

Permalink
Update default case in set_sbe_error
Browse files Browse the repository at this point in the history
    -Capture the ERRVAL as  well as the FFDC buffer

Change-Id: I7d15d3215c85128e98b188cf316a4e763448c074
RTC:169625
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45344
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: ARAVIND T. NAIR <aravindnair@in.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45350
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: Christian R. Geddes <crgeddes@us.ibm.com>
  • Loading branch information
rjknight authored and crgeddes committed Oct 7, 2017
1 parent 2a1cc4f commit b4e0def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
<rc>RC_INVALID_SBE_FFDC_PACKET</rc>
<description>Invalid data detected in the SBE FFDC buffer</description>
<buffer>FFDC_BUFFER</buffer>
<ffdc>INVALID_ERRVAL</ffdc>
</hwpError>
<!-- ******************************************************************** -->
<hwpError>
Expand Down
2 changes: 1 addition & 1 deletion src/import/hwpf/fapi2/tools/parseErrorInfo.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ sub addFfdcMethod
print SBFILE " const uint32_t size_bytes = (sizeof(fapi2::sbeFfdc_t)*20);\\\n";
print SBFILE " fapi2::variable_buffer l_buffer((uint32_t*)FFDC_BUFFER, size_bytes/4, size_bytes*8);\\\n";
print SBFILE " fapi2::INVALID_SBE_FFDC_PACKET(fapi2::FAPI2_ERRL_SEV_UNRECOVERABLE,RC).";
print SBFILE "set_FFDC_BUFFER(l_buffer).execute();\\\n";
print SBFILE "set_FFDC_BUFFER(l_buffer).set_INVALID_ERRVAL(ERRVAL).execute();\\\n";
print SBFILE "}\\\n";
print SBFILE "}\n\n";
print SBFILE "#endif\n";
Expand Down

0 comments on commit b4e0def

Please sign in to comment.