From ee5d5d341e4e2b81bbd119669bcdf92084fb8b8e Mon Sep 17 00:00:00 2001 From: Elliott Dahle Date: Fri, 13 Dec 2013 16:26:29 -0600 Subject: Deconfigured PORE not getting communicated to PHYP Change-Id: I00d9a17249451dfd9e3aaf46495cdc065f09d2a5 CQ:SW238341 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7736 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton Reviewed-by: MIKE J. JONES Reviewed-by: A. Patrick Williams III --- src/usr/hwas/common/deconfigGard.C | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C index f062ffe8a..2825b3d0f 100644 --- a/src/usr/hwas/common/deconfigGard.C +++ b/src/usr/hwas/common/deconfigGard.C @@ -518,7 +518,8 @@ errlHndl_t DeconfigGard::deconfigureTarget(Target & i_target, // TODO RTC 88471: use attribute vs hardcoded list. if (!((target_type == TYPE_MEMBUF) || (target_type == TYPE_NX) || - (target_type == TYPE_EX))) + (target_type == TYPE_EX) || + (target_type == TYPE_PORE))) { HWAS_ERR("Skipping deconfigureTarget: eventAtRunTime with unexpected target %.8X type %d -- SKIPPING", get_huid(&i_target), target_type); @@ -1262,6 +1263,19 @@ void DeconfigGard::_deconfigureByAssoc(Target & i_target, } break; } // TYPE_XBUS, TYPE_ABUS + case TYPE_PORE: + { + // Get parent proc target of PORE + const Target * l_pParentProc = getParentChip(&i_target); + // Deconfigure parent proc + HWAS_INF("deconfigByAssoc parent proc: %.8X", + get_huid(l_pParentProc)); + _deconfigureTarget(const_cast (*l_pParentProc), + i_errlEid); + _deconfigureByAssoc(const_cast (*l_pParentProc), + i_errlEid); + break; + } // TYPE_PORE default: // no action break; -- cgit v1.2.1