diff options
author | Kumar Challa <kvchalla@us.ibm.com> | 2013-04-24 12:42:20 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-05-13 10:57:58 -0500 |
commit | a212ae0c61e46778897de05cdd4183cc69b1c76c (patch) | |
tree | e1876bbf6dcba86027a35f9c5c14de5cde1fd2b8 /src/usr/hwas/common | |
parent | 6d1c81fcc5b8f48d2456e5f1f276997ee8527b68 (diff) | |
download | talos-hostboot-a212ae0c61e46778897de05cdd4183cc69b1c76c.tar.gz talos-hostboot-a212ae0c61e46778897de05cdd4183cc69b1c76c.zip |
Do not deconfigTarget when System is at runtime.
Change-Id: I4daa3c3370eb91cdc5676e315a1476ed8c3a2e2a
RTC:45747
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4195
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common')
-rw-r--r-- | src/usr/hwas/common/deconfigGard.C | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C index 9c1fe7bb1..a5a042b34 100644 --- a/src/usr/hwas/common/deconfigGard.C +++ b/src/usr/hwas/common/deconfigGard.C @@ -274,13 +274,22 @@ errlHndl_t DeconfigGard::deconfigureTargetsFromGardRecordsForIpl( //****************************************************************************** errlHndl_t DeconfigGard::deconfigureTarget(TARGETING::Target & i_target, - const uint32_t i_errlPlid) + const uint32_t i_errlPlid, + bool i_evenAtRunTime) { HWAS_INF("Usr Request: Deconfigure Target"); errlHndl_t l_pErr = NULL; do { + // Do not deconfig Target if we're NOT being asked to force AND + // the is System is at runtime + if (!i_evenAtRunTime && platSystemIsAtRuntime()) + { + HWAS_INF("Skipping deconfigTarget - System at Runtime"); + break; + } + const uint8_t lDeconfigGardable = i_target.getAttr<TARGETING::ATTR_DECONFIG_GARDABLE>(); const uint8_t lPresent = |