Skip to content

Commit

Permalink
PRD: added signature to indicate all DRAM repairs have been used
Browse files Browse the repository at this point in the history
Change-Id: I704567cb22fec73c741b37eca52cc9fcddf9bb8d
CQ: SW391196
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41496
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41565
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
  • Loading branch information
zane131 committed Jun 9, 2017
1 parent 3f21550 commit 78c653c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/usr/diag/prdf/common/plat/mem/prdfMemMark.H
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
// Platform includes
#include <prdfMemAddress.H>
#include <prdfMemSymbol.H>
#include <prdfP9McaExtraSig.H>
#include <prdfPlatServices.H>

//##############################################################################
Expand Down Expand Up @@ -192,6 +193,8 @@ uint32_t balance( ExtensibleChip * i_chip, const MemRank & i_rank,
// Both a chip and symbol mark exist, but they are on separate
// DRAMs. So, make the error log predictive.
io_sc.service_data->setServiceCall();
io_sc.service_data->setSignature( i_chip->getHuid(),
PRDFSIG_AllDramRepairs );
}

} while (0);
Expand Down
6 changes: 4 additions & 2 deletions src/usr/diag/prdf/common/plat/mem/prdfP9McaExtraSig.H
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ PRDR_ERROR_SIGNATURE(MaintSOFT_CTE, 0xffff0014, "", "Maintenance SOFT CTE");
PRDR_ERROR_SIGNATURE(MaintINTER_CTE, 0xffff0015, "", "Maintenance INTER CTE");
PRDR_ERROR_SIGNATURE(MaintRETRY_CTE, 0xffff0016, "", "Maintenance RETRY CTE");

PRDR_ERROR_SIGNATURE(VcmVerified, 0xffff0020, "", "VCM: verified");
PRDR_ERROR_SIGNATURE(VcmFalseAlarm, 0xffff0021, "", "VCM: false alarm");
PRDR_ERROR_SIGNATURE(VcmVerified, 0xffff0020, "", "VCM: verified");
PRDR_ERROR_SIGNATURE(VcmFalseAlarm, 0xffff0021, "", "VCM: false alarm");
PRDR_ERROR_SIGNATURE(VcmFalseAlarmTH, 0xffff0022, "", "VCM: false alarm threshold");
PRDR_ERROR_SIGNATURE(AllDramRepairs, 0xffff002F, "", "all DRAM repairs used");

PRDR_ERROR_SIGNATURE(MnfgIplHardCE, 0xffff0051, "", "MNFG IPL hard CE");
PRDR_ERROR_SIGNATURE(MnfgIplDramCTE, 0xffff0052, "", "MNFG IPL DRAM CTE");
Expand Down
4 changes: 2 additions & 2 deletions src/usr/diag/prdf/plat/mem/prdfMemVcm_rt.C
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ uint32_t VcmEvent<T>::falseAlarm( STEP_CODE_DATA_STRUCT & io_sc )
// False alarm threshold has been reached. Leave the mark in place
// and treat the chip mark as verified.

io_sc.service_data->AddSignatureList( iv_chip->getTrgt(),
PRDFSIG_VcmFalseAlarm );
io_sc.service_data->setSignature( iv_chip->getHuid(),
PRDFSIG_VcmFalseAlarmTH );

PRDF_TRAC( PRDF_FUNC "False alarm threshold: 0x%08x,0x%02x",
iv_chip->getHuid(), getKey() );
Expand Down

0 comments on commit 78c653c

Please sign in to comment.