diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2018-05-24 10:18:00 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-05-24 16:43:01 -0400 |
commit | cd8df2a4b0330bf0f5457463d503f132cb649ca3 (patch) | |
tree | 46b1bf42e97f718082e77e2eb51c07c3f1ac1f7c /src/include/usr/hwas/common | |
parent | d161474ee597e6242d3ee4a82eb1f8024070834a (diff) | |
download | talos-hostboot-cd8df2a4b0330bf0f5457463d503f132cb649ca3.tar.gz talos-hostboot-cd8df2a4b0330bf0f5457463d503f132cb649ca3.zip |
Clear Block Spec Deconfig Attribute when Gard is removed
In the Resource Recovery redesign, the Block Spec Deconfig attribute gets set
when a check for minimal hardware fails to find enough hardware, and it gets
cleared when there is a hardware change. Now, the Block Spec Deconfig attribute
will also be cleared when a target that had gard applied no longer has any gard
records.
Change-Id: I8f93ca4821b1360638a94855c0aadb3dda365046
CQ: SW429890
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59325
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas/common')
-rw-r--r-- | src/include/usr/hwas/common/deconfigGard.H | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index 90aa61822..cf98cedb9 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -523,6 +523,18 @@ public: */ uint8_t clearBlockSpecDeconfigForReplacedTargets(); + /** + * @brief Clears attribute which blocks speculative deconfiguration + * (ATTR_BLOCK_SPEC_DECONFIG) so that resource recovery is allowed to + * apply speculative deconfigurations / predictive gards. Attribute + * is cleared only if a target had gard applied but no longer does. + * + * @param[in/out] io_blockAttr ATTR_BLOCK_SPEC_DECONFIG value. + * + * @return errlHndl_t. Error log handle. + */ + errlHndl_t clearBlockSpecDeconfigForUngardedTargets(uint8_t &io_blockAttr); + protected: /** |