summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas/common/deconfigGard.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/hwas/common/deconfigGard.H')
-rw-r--r--src/include/usr/hwas/common/deconfigGard.H12
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:
/**
OpenPOWER on IntegriCloud