From 7cc6af5138f01e530a47789cc74c4672923da2de Mon Sep 17 00:00:00 2001 From: Lateef Quraishi Date: Thu, 16 Jun 2016 14:11:35 -0500 Subject: Deconfig-by-association update New De-Config Rules: - EX with no good cores be de-configured. - EQ with no good EXs be de-configured - In fused core mode, cores must be de-configured in pairs Change-Id: I74ffa50055287589c58faff3d788b6a71575440e RTC: 130099 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25955 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Elizabeth K. Liner Reviewed-by: Daniel M. Crowell --- src/include/usr/hwas/common/deconfigGard.H | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/include') diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index 4e6f51cd9..a97dabd6d 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -155,6 +155,10 @@ public: DECONFIGURED_BY_NO_PARENT_MBA_OR_MCA, CONFIGURED_BY_RESOURCE_RECOVERY, // BASE | 0x0E + // + DECONFIGURED_BY_EQ_DECONFIG, // BASE | 0x0F + DECONFIGURED_BY_EX_DECONFIG, // BASE | 0x10 + DECONFIGURED_BY_CORE_DECONFIG, // BASE | 0x11 // mask - these bits mean it's a PLID and not an enum DECONFIGURED_BY_PLID_MASK = 0xFFFF0000, @@ -585,6 +589,21 @@ private: static void _clearFCODeconfigure( TARGETING::ConstTargetHandle_t i_nodeTarget); + /** + * @brief Return functional state of children + * + * Called by _deconfigureByAssoc(). + * This function gets list of all children. if state of any + * child is functional then returns true. + * + * @param[in] Pointer parent target id + * + * @return true if any child state is functional. + * + */ + bool anyChildFunctional( + TARGETING::Target & i_parent); + public: /** -- cgit v1.2.1