summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMatthew Raybuck <matthew.raybuck@ibm.com>2019-08-27 14:58:15 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-28 16:49:03 -0500
commitf609640a7cc5d635e1b22ed70e2d9d4a709b54b2 (patch)
tree2b0b7a883aaf7fca99c8a4c52db21333bd2a1fab /src/include/usr
parentdeb98413396a81925a9cbdacc0156e5fdced87c8 (diff)
downloadtalos-hostboot-f609640a7cc5d635e1b22ed70e2d9d4a709b54b2.tar.gz
talos-hostboot-f609640a7cc5d635e1b22ed70e2d9d4a709b54b2.zip
Add more FFDC to BPM Update Error logs
Adds part callouts for all BPM related error logs and collects BPM traces for any errors that are returned from interactions with the NVDIMM to provide context. Additionally, if there is an error during the config updates the code will erase the firmware section to force an update on any subsequent attempt. Change-Id: I045b4ba1feea2fbc1ddb5e418bf60b86d6c11bb1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82946 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/isteps/nvdimm/bpmreasoncodes.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/usr/isteps/nvdimm/bpmreasoncodes.H b/src/include/usr/isteps/nvdimm/bpmreasoncodes.H
index db4f00fc2..2957e2e6e 100644
--- a/src/include/usr/isteps/nvdimm/bpmreasoncodes.H
+++ b/src/include/usr/isteps/nvdimm/bpmreasoncodes.H
@@ -54,6 +54,7 @@ namespace BPM_RC
BPM_RUN_FW_UPDATES = 0x0F,
BPM_WRITE_VIA_SCAP = 0x10,
BPM_BLOCK_WRITE = 0x11,
+ BPM_RUN_UPDATE = 0x12,
BPM_START_UPDATE = 0xFD,
BPM_END_UPDATE = 0xFE,
BPM_DUMMY_ERROR = 0xFF,
@@ -77,6 +78,7 @@ namespace BPM_RC
BPM_EXCEEDED_RETRY_LIMIT_REG = BPM_COMP_ID | 0x0D,
BPM_EXCEEDED_RETRY_LIMIT_DATA = BPM_COMP_ID | 0x0E,
BPM_BAD_RESPONSE = BPM_COMP_ID | 0x0F,
+ BPM_UPDATE_SUCCESSFUL = BPM_COMP_ID | 0xFC,
BPM_ENTER_UPDATE_MODE = BPM_COMP_ID | 0xFD,
BPM_EXIT_UPDATE_MODE = BPM_COMP_ID | 0xFE,
BPM_DUMMY_REASONCODE = BPM_COMP_ID | 0xFF,
OpenPOWER on IntegriCloud