summaryrefslogtreecommitdiffstats
path: root/src/include/usr/sbeio
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2018-06-28 16:54:16 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-07-19 15:35:30 -0500
commitbe6ed717c7a1de17f3934ed229b64c30f7a9e58b (patch)
tree6db151f880ded4fce78a9314ea256e886213ebe6 /src/include/usr/sbeio
parentba8d9b8321dd40f157753247111b0a969152af34 (diff)
downloadtalos-hostboot-be6ed717c7a1de17f3934ed229b64c30f7a9e58b.tar.gz
talos-hostboot-be6ed717c7a1de17f3934ed229b64c30f7a9e58b.zip
Only switch sides and perform hreset if SEEPROM side versions match
In the event that the SBE fails hostboot will attempt to recover it. During runtime hostboot will attempt an HRESET if the SBE is in a failed state. When the SBE performs the HRESET it will save some important information that will persist through the reset. If one side is failing to recover the retry code will attempt to switch sides and do the hreset. If the SBE seeproms have different versions of the SBE code the data that was supposed to persist through the HRESET will be in incorrect places because the version mismatch. Because of this we cannot switch seeprom sides and perform a hreset if the seeproms have different level of the SBE code. CQ: SW438029 Change-Id: Ic7078a886088cc4d5355cc076e72d0fc36f85027 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61605 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/sbeio')
-rw-r--r--src/include/usr/sbeio/sbeioreasoncodes.H6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/usr/sbeio/sbeioreasoncodes.H b/src/include/usr/sbeio/sbeioreasoncodes.H
index 0a911f151..44a493d35 100644
--- a/src/include/usr/sbeio/sbeioreasoncodes.H
+++ b/src/include/usr/sbeio/sbeioreasoncodes.H
@@ -129,13 +129,11 @@ enum sbeioReasonCode
SBEIO_EXCEED_MAX_SIDE_BOOTS = SBEIO_COMP_ID | 0x5D,
SBEIO_SLAVE_FAILED_TO_BOOT = SBEIO_COMP_ID | 0x5E,
SBEIO_RECEIVED_UNEXPECTED_MSG = SBEIO_COMP_ID | 0x5F,
-
- // SBE Vital Attention error codes
+ // SBE Vital Attention error code
SBEIO_SBE_RC_VALUE_INFO = SBEIO_COMP_ID | 0x60,
-
// Init error codes
SBEIO_RC_KERNEL_REG_FAILED = SBEIO_COMP_ID | 0x61,
-
+ SBEIO_SEEPROM_VERSION_MISMATCH = SBEIO_COMP_ID | 0x62,
// Remove once we collect the FFDC ourselves - @todo-RTC:144313
//termination_rc
SBEIO_HWSV_COLLECT_SBE_RC = SBEIO_COMP_ID | 0xFF,
OpenPOWER on IntegriCloud