Skip to content

Commit

Permalink
Prevent pre-3.0 level NVDIMMs from being in systems
Browse files Browse the repository at this point in the history
Do not want these non-updateable NVDIMMs to be used.

Change-Id: Ia045257d101fc249d65b2d0af6194f8f3aa1e9dc
CQ: SW477628
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84729
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V Swenson <cswenson@us.ibm.com>
Reviewed-by: TSUNG K YEUNG <tyeung@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-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>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mderkse1 authored and dcrowell77 committed Oct 9, 2019
1 parent b221671 commit 68ab1e8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/usr/isteps/nvdimm/nvdimm_update.C
Expand Up @@ -2214,9 +2214,9 @@ errlHndl_t NvdimmsUpdate::isUpdateNeeded(bool & o_update_needed,
*@userdata1[32:63] NVDIMM Target Huid
*@userdata2 NVDIMM type (manufacturer and product)
*@devdesc Unable to update an NVDIMM at this code level
*@custdesc NVDIMM not updated
*@custdesc Unsupported level of NVDIMM hardware
*/
l_err = new ERRORLOG::ErrlEntry( ERRORLOG::ERRL_SEV_PREDICTIVE,
l_err = new ERRORLOG::ErrlEntry( ERRORLOG::ERRL_SEV_UNRECOVERABLE,
NVDIMM_IS_UPDATE_NEEDED,
NVDIMM_UPDATE_NOT_SUPPORTED,
TWO_UINT32_TO_UINT64(
Expand All @@ -2227,9 +2227,13 @@ errlHndl_t NvdimmsUpdate::isUpdateNeeded(bool & o_update_needed,
l_err->collectTrace( NVDIMM_UPD, 256 );
nvdimmAddVendorLog(const_cast<TARGETING::Target*>(l_dimm),
l_err);
l_err->addHwCallout( l_dimm,
HWAS::SRCI_PRIORITY_HIGH,
HWAS::DECONFIG,
HWAS::GARD_Fatal);
l_err->addPartCallout( l_dimm,
HWAS::NV_CONTROLLER_PART_TYPE,
HWAS::SRCI_PRIORITY_HIGH );
HWAS::SRCI_PRIORITY_MED );
l_err->addProcedureCallout( HWAS::EPUB_PRC_HB_CODE,
HWAS::SRCI_PRIORITY_LOW );
break;
Expand Down

0 comments on commit 68ab1e8

Please sign in to comment.