diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2018-05-31 11:28:36 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-06-13 21:22:12 -0400 |
commit | 6b01faeebc166391c89e528d0c98cd41b0bd1ce6 (patch) | |
tree | 52affc7295aaaa47c0fdc69e460b5eac52628d5c /src/usr/sbeio | |
parent | 8c3f57a540559841855aca17b5023d45aeabf297 (diff) | |
download | talos-hostboot-6b01faeebc166391c89e528d0c98cd41b0bd1ce6.tar.gz talos-hostboot-6b01faeebc166391c89e528d0c98cd41b0bd1ce6.zip |
Link PLID for failing SBE recovery in PRD path w/ other related logs
When Hostboot fails to recover the SBE after PRD has alerted HB that
the SBE needs recovery then HB will create an error log. Prior to this
commit this log was not getting it's PLID linked with the other logs
that get generated over the course of the sbe recovery attempts. This
commit ensures that if any logs were created during the sbe recovery
that they will be linked with the final log that tells us that the
recovery was unsuccessful.
Change-Id: I7af47cf437af0b68b954ab2b0e95aec660c11bab
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59648
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: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbeio')
-rw-r--r-- | src/usr/sbeio/common/sbe_attn.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/sbeio/common/sbe_attn.C b/src/usr/sbeio/common/sbe_attn.C index e6adafc2b..fb146ed11 100644 --- a/src/usr/sbeio/common/sbe_attn.C +++ b/src/usr/sbeio/common/sbe_attn.C @@ -114,6 +114,17 @@ namespace SBEIO HWAS::GARD_NULL ); l_err->collectTrace( SBEIO_COMP_NAME, 256); + + // A PLID should have been generated by the retry handler + // due to it failing to recover the SBE. We want to link + // all logs generated from this SBE failure to have the same + // PLIDs so that it is easy to tell they are all about the same + // event + auto l_retryHandlerPlid = l_sbeObj.getMasterPLID(); + if(l_retryHandlerPlid) + { + l_err->plid(l_retryHandlerPlid); + } } // Inform OPAL the state of the SBE after a retry is successful else |