Skip to content

Commit

Permalink
Deconfig record can't get added to vitalAttn elog on FSP
Browse files Browse the repository at this point in the history
On FSP system we should never try to call vitalAttnHandler because
the fir bits that trigger this code should be masked. However
we have seen issues where for whatever reason the firs get unmasked.
If we happen to fall into this code on a FSP system we want to make
sure that no deconfigure records get added to the error logs that
get generated. If deconfig records get added it can collide with
the flow that hwsv is doing to attempt to recover the SBE. Also
in this commit we removed the TODO for disabling the OCC if the SBE
dies. We have decided that it is no longer necessary to disable
the OCC if the SBE dies. See story for more information.

Change-Id: Ib75dc34a122a37853047af67ec8858dbca11e4a2
CQ: SW427127
RTC: 180244
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58226
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com>
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: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
  • Loading branch information
crgeddes authored and dcrowell77 committed May 14, 2018
1 parent 927220a commit d2f2237
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/usr/sbeio/common/sbe_attn.C
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ namespace SBEIO
HWAS::GARD_NULL );

l_err->collectTrace( SBEIO_COMP_NAME, 256);
// @todo - RTC:180244 - Disable the OCC
}
// Inform OPAL the state of the SBE after a retry is successful
else
Expand Down Expand Up @@ -164,12 +163,23 @@ namespace SBEIO
TARGETING::get_huid(i_procTarg),
l_ret);
}

//We want to deconfigure the processor where the error was detected
// If this code happens to get called on a FSP system during runtime we definitely do not
// want to add a deconfig record. If we do it will cause conflict with HWSV code which might
// be trying to handle the SBE error
#ifndef CONFIG_FSP_BUILD
// We want to deconfigure the processor where the error was detected
l_err->addHwCallout( i_procTarg,
HWAS::SRCI_PRIORITY_HIGH,
HWAS::DELAYED_DECONFIG,
HWAS::GARD_NULL );
#else
// We want to only add a hw callout for the processor where the error was detected
// if we fall down this path on an FSP system.
l_err->addHwCallout( i_procTarg,
HWAS::SRCI_PRIORITY_HIGH,
HWAS::NO_DECONFIG,
HWAS::GARD_NULL );
#endif
#endif


Expand Down

0 comments on commit d2f2237

Please sign in to comment.