diff options
-rw-r--r-- | src/usr/htmgt/htmgt_occ.C | 13 | ||||
-rw-r--r-- | src/usr/htmgt/htmgt_occ.H | 10 |
2 files changed, 15 insertions, 8 deletions
diff --git a/src/usr/htmgt/htmgt_occ.C b/src/usr/htmgt/htmgt_occ.C index d19fb952e..28f862a04 100644 --- a/src/usr/htmgt/htmgt_occ.C +++ b/src/usr/htmgt/htmgt_occ.C @@ -441,7 +441,8 @@ namespace HTMGT // Query the functional OCCs and build OCC objects - errlHndl_t OccManager::_buildOccs(const bool i_occStart) + errlHndl_t OccManager::_buildOccs(const bool i_occStart, + const bool i_skipComm) { errlHndl_t err = nullptr; bool safeModeNeeded = false; @@ -591,7 +592,8 @@ namespace HTMGT safeModeNeeded = true; } - if ((false == i_occStart) && (nullptr == err)) + if ((false == i_occStart) && (nullptr == err) && + (false == i_skipComm)) { // Send poll to query state of all OCCs // and flush any errors reported by the OCCs @@ -870,7 +872,7 @@ namespace HTMGT errlHndl_t err = nullptr; bool atThreshold = false; - err = _buildOccs(); // if not a already built. + err = _buildOccs(false, i_skipComm); // if not a already built. if (nullptr == err) { if (false == int_flags_set(FLAG_RESET_DISABLED)) @@ -1502,9 +1504,10 @@ namespace HTMGT } - errlHndl_t OccManager::buildOccs(const bool i_occStart) + errlHndl_t OccManager::buildOccs(const bool i_occStart, bool i_skipComm) { - return Singleton<OccManager>::instance()._buildOccs(i_occStart); + return Singleton<OccManager>::instance()._buildOccs(i_occStart, + i_skipComm); } diff --git a/src/usr/htmgt/htmgt_occ.H b/src/usr/htmgt/htmgt_occ.H index fb439672d..40f564fcf 100644 --- a/src/usr/htmgt/htmgt_occ.H +++ b/src/usr/htmgt/htmgt_occ.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2017 */ +/* Contributors Listed Below - COPYRIGHT 2014,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -453,9 +453,12 @@ namespace HTMGT * * @param[in] i_occStart true if call is being made after * OCCs have just been started. + * @param[in] i_skipComm true if sendOccPoll should not + * be called * @return NULL on success, or error handle on failure */ - static errlHndl_t buildOccs(const bool i_occStart = false); + static errlHndl_t buildOccs(bool i_occStart = false, + bool i_skipComm = false); /** @@ -687,7 +690,8 @@ namespace HTMGT /* See buildOccs() above */ - errlHndl_t _buildOccs(const bool i_occStart = false); + errlHndl_t _buildOccs(bool i_occStart = false, + bool i_skipComm = false); /* See getNumOccs() above */ |