summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2014-04-09 09:26:01 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-05-29 11:13:59 -0500
commit6750245027d53c6ba0b671f522e26971dc142653 (patch)
tree884153c378b78f6f0619855123ac652873b2fa9d /src/include/usr
parentc417ae8cd562fb538cc3011a38ff1d9f2268748c (diff)
downloadblackbird-hostboot-6750245027d53c6ba0b671f522e26971dc142653.tar.gz
blackbird-hostboot-6750245027d53c6ba0b671f522e26971dc142653.zip
Add multi-node support to _deconfigureAssocProc
Change-Id: I6344e2737ed20af55516c159a459e2e91929fb8b RTC:86185 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11130 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/hwas/common/deconfigGard.H9
-rw-r--r--src/include/usr/targeting/common/utilFilter.H14
2 files changed, 22 insertions, 1 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H
index 430db5e18..8d76a1799 100644
--- a/src/include/usr/hwas/common/deconfigGard.H
+++ b/src/include/usr/hwas/common/deconfigGard.H
@@ -352,6 +352,7 @@ public:
errlHndl_t platGetGardRecords(const TARGETING::Target * const i_pTarget,
GardRecords_t & o_records);
+
protected:
/**
@@ -462,10 +463,16 @@ private:
* through the returned vector and deconfigures any proc marked
* for deconfiguration.
*
+ * @param[in] i_node restrict processing - only apply algorithm
+ * to targets that match the predicate
+ * @param[in] i_doAbusDeconfig indicates if abus logic should be considered
+ *
* @return errlHndl_t. Error log handle.
*
*/
- errlHndl_t _invokeDeconfigureAssocProc();
+ errlHndl_t _invokeDeconfigureAssocProc(
+ const TARGETING::ConstTargetHandle_t i_node = NULL,
+ bool i_doAbusDeconfig = true);
/**
* @brief _deconfigureAssocProc deconfigures procs based on
diff --git a/src/include/usr/targeting/common/utilFilter.H b/src/include/usr/targeting/common/utilFilter.H
index f00364f24..44f5fd95a 100644
--- a/src/include/usr/targeting/common/utilFilter.H
+++ b/src/include/usr/targeting/common/utilFilter.H
@@ -92,6 +92,19 @@ void getChipResources(TARGETING::TargetHandleList & o_vector,
TYPE i_type, ResourceState i_state );
/**
+ * @brief Populate the o_vector with target enc pointers based on the
+ * requested type, and functional state.
+ *
+ * @parm[out] o_vector, reference of vector of target pointers.
+ * @parm[in] i_type, the type of the chip targets to be obtained
+ * @parm[in] i_state, Selection filter based on ResourceState enum
+ *
+ * @return N/A
+ */
+void getEncResources(TARGETING::TargetHandleList & o_vector,
+ TYPE i_type, ResourceState i_state );
+
+/**
* @brief Populate the o_vector with target chiplet pointers based on the
* requested type, and functional state.
*
@@ -145,6 +158,7 @@ void getAllChiplets(TARGETING::TargetHandleList & o_vector,
void getChildChiplets(TARGETING::TargetHandleList & o_vector,
const Target * i_chip, TYPE i_type, bool i_functional = true );
+
/**
* @brief Populate the o_vector with target object pointers which are
* affinity children of the input target and filters based on a
OpenPOWER on IntegriCloud