From f609640a7cc5d635e1b22ed70e2d9d4a709b54b2 Mon Sep 17 00:00:00 2001 From: Matthew Raybuck Date: Tue, 27 Aug 2019 14:58:15 -0500 Subject: 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 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Christian R Geddes Reviewed-by: Corey V Swenson Reviewed-by: Daniel M Crowell --- src/include/usr/isteps/nvdimm/bpmreasoncodes.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') 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, -- cgit v1.2.3