summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2018-05-03 14:38:18 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-05-24 20:37:00 -0400
commit90a2cbe1f6071132c390f463d27193d87331a974 (patch)
tree43f739a461567626767d277fbf1d47746fbebc4a /src/include/usr
parentcd8df2a4b0330bf0f5457463d503f132cb649ca3 (diff)
downloadtalos-hostboot-90a2cbe1f6071132c390f463d27193d87331a974.tar.gz
talos-hostboot-90a2cbe1f6071132c390f463d27193d87331a974.zip
Set Master Proc Attrs during MPIPL FSP Fail-Over Scenario
- Need to account for a Service Processor Fail-Over scenario where the 'master' processor could change. Because of this, FW must re-evaluate which target pointer is the current master and update attributes accordingly. Change-Id: I83ada72389f05cc2a80d4c6a34db7d9ab3c2b3ce CQ: SW429022 RTC: 182718 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59221 Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/targeting/common/targetservice.H18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/usr/targeting/common/targetservice.H b/src/include/usr/targeting/common/targetservice.H
index 4fee83b92..860a5564b 100644
--- a/src/include/usr/targeting/common/targetservice.H
+++ b/src/include/usr/targeting/common/targetservice.H
@@ -874,6 +874,24 @@ class TargetService
NODE_ID i_nodeId) const;
#endif
+#if defined (__HOSTBOOT_MODULE) && !defined (__HOSTBOOT_RUNTIME)
+ /**
+ * @brief Returns the master processor chip target
+ *
+ * @param[out] o_masterProcChipTargetHandle - The master proc chip
+ * target handle or nullptr
+ *
+ * @param[in] i_onlyFunctional - only functional procs be considered
+ *
+ * @pre Target service must be initialized
+ *
+ * @post Target Service returns the master proc target handle
+ */
+ void _getMasterProcChipTargetHandle(
+ Target*& o_masterProcChipTargetHandle,
+ bool i_onlyFunctional) const;
+#endif
+
/**
* @brief Configures the pool of targets
*
OpenPOWER on IntegriCloud