summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/common/deconfigGard.C
diff options
context:
space:
mode:
authoraravnair-in <aravindnair@in.ibm.com>2018-07-11 07:34:20 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-07-12 10:22:38 -0400
commit6c5154f68c507a77e8a77bb0a9e78435d79efd6d (patch)
treeedb925cedd3d20be3d73397c8f6c23d198889be2 /src/usr/hwas/common/deconfigGard.C
parent1534c78f2989475cb96f542d6969b06f4c950fa4 (diff)
downloadtalos-hostboot-6c5154f68c507a77e8a77bb0a9e78435d79efd6d.tar.gz
talos-hostboot-6c5154f68c507a77e8a77bb0a9e78435d79efd6d.zip
Add deconfigure SMPGROUP peer targets rule for SMPGROUP
Make sure the peer target of an SMPGROUP is deconfigured when it is deconfigured. Change-Id: I74e8ba63124a1607b7cc9f639bf38f6fd122bb8a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62224 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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/deconfigGard.C')
-rw-r--r--src/usr/hwas/common/deconfigGard.C13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C
index c5ec54c9d..fd5d79299 100644
--- a/src/usr/hwas/common/deconfigGard.C
+++ b/src/usr/hwas/common/deconfigGard.C
@@ -2128,6 +2128,19 @@ void DeconfigGard::_deconfigureByAssoc(
} // TYPE_NPU
case TYPE_SMPGROUP:
{
+ // Deconfigure peer SMPGROUP target
+ const Target * l_pDstTarget =
+ i_target.getAttr<ATTR_PEER_TARGET>();
+
+ if (l_pDstTarget)
+ {
+ HWAS_INF("_deconfigureByAssoc SMPGROUP Peer: 0x%.8X",
+ get_huid(l_pDstTarget));
+ _deconfigureTarget(
+ const_cast<Target &>(*l_pDstTarget),
+ i_errlEid, NULL, i_deconfigRule);
+ }
+
//OBUS with no good SMPGROUP should be de-configured
TargetHandleList pObusList;
getParentAffinityTargetsByState(pObusList,
OpenPOWER on IntegriCloud