diff options
-rw-r--r-- | src/include/runtime/generic_hbrt_fsp_message.H | 1 | ||||
-rw-r--r-- | src/usr/util/runtime/rt_fwnotify.C | 18 |
2 files changed, 11 insertions, 8 deletions
diff --git a/src/include/runtime/generic_hbrt_fsp_message.H b/src/include/runtime/generic_hbrt_fsp_message.H index 102e2692b..9a3ecfdb4 100644 --- a/src/include/runtime/generic_hbrt_fsp_message.H +++ b/src/include/runtime/generic_hbrt_fsp_message.H @@ -100,6 +100,7 @@ struct GenericFspMboxMessage_t * Value for the GenericFspMboxMessage_t::magic */ static constexpr uint32_t MAGIC_NUMBER = 0x4746464D; // `GFFM` + static constexpr uint32_t FSP_HBRT_MESSAGEQ = 0x8000000F; /** * GenericFspMboxMessage_t Version info diff --git a/src/usr/util/runtime/rt_fwnotify.C b/src/usr/util/runtime/rt_fwnotify.C index 2db519939..612720edf 100644 --- a/src/usr/util/runtime/rt_fwnotify.C +++ b/src/usr/util/runtime/rt_fwnotify.C @@ -132,17 +132,19 @@ void sbeAttemptRecovery(uint64_t i_data) break; } + + // Get the recovery results + // TODO SW415675 Need to attempt sbe retry if requested // Get the SBE Retry Handler, propagating the supplied PLID - SbeRetryHandler l_SBEobj = SbeRetryHandler(SbeRetryHandler:: - SBE_MODE_OF_OPERATION::INFORMATIONAL_ONLY, - l_sbeRetryData->plid); +// SbeRetryHandler l_SBEobj = SbeRetryHandler(SbeRetryHandler:: +// SBE_MODE_OF_OPERATION::INFORMATIONAL_ONLY, +// l_sbeRetryData->plid); // Retry the recovery of the SBE - l_SBEobj.main_sbe_handler(l_target); - - // Get the recovery results - bool l_recoverySuccessful = l_SBEobj.getSbeRestart(); +// l_SBEobj.main_sbe_handler(l_target); +// //bool l_recoverySuccessful = l_SBEobj.getSbeRestart(); + bool l_recoverySuccessful = false; if (nullptr == g_hostInterfaces || nullptr == g_hostInterfaces->firmware_request) { @@ -177,7 +179,7 @@ void sbeAttemptRecovery(uint64_t i_data) // Populate the firmware_request request struct with given data l_req_fw_msg.io_type = hostInterfaces::HBRT_FW_MSG_HBRT_FSP_REQ; - l_req_fw_msg.generic_msg.msgq = GenericFspMboxMessage_t::MSG_SBE_ERROR; + l_req_fw_msg.generic_msg.msgq = GenericFspMboxMessage_t::FSP_HBRT_MESSAGEQ; l_req_fw_msg.generic_msg.__req = GenericFspMboxMessage_t::REQUEST; l_req_fw_msg.generic_msg.data = i_data; |