diff options
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | 2018-10-16 03:23:21 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-22 22:49:09 -0500 |
commit | 7f52979db7086c3229870b190f109ddb76cbea75 (patch) | |
tree | e44b19bb5b9f3bf5628d38165e665ec0f854934f /src/usr/hwas/common/deconfigGard.C | |
parent | c3499cc7e8cc6a5be7a7e7f01bd1b85e09b72a99 (diff) | |
download | talos-hostboot-7f52979db7086c3229870b190f109ddb76cbea75.tar.gz talos-hostboot-7f52979db7086c3229870b190f109ddb76cbea75.zip |
fix Skip resource recovery for node and power gard.
Change-Id: Ia962954dd85fe0ead36245016be3ac8380216429
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
CQ: SW448863
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67535
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/deconfigGard.C')
-rw-r--r-- | src/usr/hwas/common/deconfigGard.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C index 7e77b4ef7..7bd55c005 100644 --- a/src/usr/hwas/common/deconfigGard.C +++ b/src/usr/hwas/common/deconfigGard.C @@ -583,11 +583,11 @@ errlHndl_t DeconfigGard::deconfigureTargetsFromGardRecordsForIpl( continue; } - //Continue only with FATAL/UNRECOVERABLE gard errors. - //All gard on node deosnt need resource recovery - if(((l_gardRecord.iv_errorType != GARD_Fatal)&& - (l_gardRecord.iv_errorType != GARD_Unrecoverable))|| - (l_pTarget->getAttr<ATTR_TYPE>() == TYPE_NODE)) + // Only apply the record if it is Fatal, Unrecoverable, + // or for a Node + if (!((l_gardRecord.iv_errorType == GARD_Fatal)|| + (l_gardRecord.iv_errorType == GARD_Unrecoverable)|| + (l_pTarget->getAttr<ATTR_TYPE>() == TYPE_NODE))) { //Skip recoverable gard records continue; |