summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common/deconfigGard.C
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2015-01-29 16:28:37 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-30 10:54:33 -0600
commit5d05de78f647d44c570429463c49c92a06abcd90 (patch)
treed8fde857f2a9ac4803071b7e5ae006a37cce5359 /src/usr/hwas/common/deconfigGard.C
parent28ffc52b25ecd146e26d3b4de09601bd5fce5fea (diff)
downloadtalos-hostboot-5d05de78f647d44c570429463c49c92a06abcd90.tar.gz
talos-hostboot-5d05de78f647d44c570429463c49c92a06abcd90.zip
setAttr when dumpfunctional changes in deconfigureTarget
Change-Id: I96d6b7423466ff750a2584345d16ac0051800998 CQ: SW289957 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15432 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/deconfigGard.C')
-rw-r--r--src/usr/hwas/common/deconfigGard.C11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C
index bf26fedd2..a5b30be2c 100644
--- a/src/usr/hwas/common/deconfigGard.C
+++ b/src/usr/hwas/common/deconfigGard.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -1380,6 +1380,13 @@ void DeconfigGard::_deconfigureTarget(
HWAS_DBG(
"Target HWAS_STATE already has functional=0; deconfiguredByEid=0x%X",
l_state.deconfiguredByEid);
+
+ if (i_runTimeDeconfigRule != NOT_AT_RUNTIME)
+ {
+ // if FULLY_AT_RUNTIME or DUMP_AT_RUNTIME, then the dumpfunctional
+ // state changed, so do the setAttr
+ i_target.setAttr<ATTR_HWAS_STATE>(l_state);
+ }
}
else
{
@@ -1395,7 +1402,7 @@ void DeconfigGard::_deconfigureTarget(
*o_targetDeconfigured = true;
}
- // if this is a real error, deconfigure
+ // if this is a real error, trigger a reconfigure loop
if (i_errlEid & DECONFIGURED_BY_PLID_MASK)
{
// Set RECONFIGURE_LOOP attribute to indicate it was caused by
OpenPOWER on IntegriCloud