diff options
author | Amit Tendolkar <amit.tendolkar@in.ibm.com> | 2018-06-05 05:17:14 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-06-18 15:40:03 -0400 |
commit | 8fcc6813c0987036205079e6db94257687b927a8 (patch) | |
tree | 2336e8d9331858dbbd59aaa89e81999c29b10687 /src/include/usr/hwas | |
parent | 36d47d4ca26d23c67224cb370409e5f59f378c4b (diff) | |
download | talos-hostboot-8fcc6813c0987036205079e6db94257687b927a8.tar.gz talos-hostboot-8fcc6813c0987036205079e6db94257687b927a8.zip |
SW419349: Handle override of deconfig by Error vs FCO reasons by association
1. Override the deconfig reason of a parent ..
a) getting deconfig by association due to error on its child &&
b) has at least 1 other child already deconfig by FCO
.. to deconfig by FCO
2. Override the deconfig reason of a child ..
c) whose parent is getting deconfig by an error &&
d) that is itself already deconfig by FCO
.. to deconfig by that error
Change-Id: I9c73fe35aedb832f9a4b33bd299bb30fe589095c
CQ: SW419349
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59934
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r-- | src/include/usr/hwas/common/deconfigGard.H | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index cf98cedb9..5ef453da2 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -731,6 +731,21 @@ private: bool anyChildFunctional( TARGETING::Target & i_parent); + /** + * @brief Return FCO state of children + * + * Called by _deconfigureByAssoc(). + * This function gets list of all children. If state of any + * child is deconfig by FCO, then returns true. + * + * @param[in] Pointer parent target id + * + * @return true if any child state is deconfig by FCO. + * + */ + bool anyChildFCO( + TARGETING::Target & i_parent); + public: /** |