Skip to content

Commit

Permalink
PRD: NVDIMM Fix negative temperature check
Browse files Browse the repository at this point in the history
Change-Id: I389c2e12fe3147add5aa1b3620fb67755f7ef0e3
CQ: SW474740
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83242
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamen G Tyner <ben.tyner@ibm.com>
Reviewed-by: Paul Greenwood <paul.greenwood@ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83243
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>
  • Loading branch information
cnpalmer authored and zane131 committed Sep 9, 2019
1 parent 78c527c commit f7aeced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usr/diag/prdf/plat/mem/prdfP9Mca.C
Expand Up @@ -804,7 +804,7 @@ uint32_t __analyzeErrorThrStatusReg( STEP_CODE_DATA_STRUCT & io_sc,

// Check to see if the ES_TEMP is negative (bit 12)
bool esTempNeg = false;
if ( esTemp | 0x1000 ) esTempNeg = true;
if ( esTemp & 0x1000 ) esTempNeg = true;

// If ES_TEMP is equal or above ES_TEMP_ERROR_HIGH_THRESHOLD
// Just in case ES_TEMP has moved before we read it out, we'll add
Expand Down Expand Up @@ -1021,7 +1021,7 @@ uint32_t __analyzeWarningThrStatusReg(STEP_CODE_DATA_STRUCT & io_sc,

// Check to see if the ES_TEMP is negative (bit 12)
bool esTempNeg = false;
if ( esTemp | 0x1000 ) esTempNeg = true;
if ( esTemp & 0x1000 ) esTempNeg = true;

// If ES_TEMP is equal or above ES_TEMP_WARNING_HIGH_THRESHOLD
// Just in case ES_TEMP has moved before we read it out, we'll add
Expand Down

0 comments on commit f7aeced

Please sign in to comment.