Skip to content

Commit

Permalink
PRD: Reenable restoreDramRepairs with updated HWP
Browse files Browse the repository at this point in the history
Change-Id: Iaaf21d0f0d9fd42a214861f3b42ff949ec6ede00
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/95892
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J Stegmiller <bjs@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C Shelley <zshelle@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Apr 30, 2020
1 parent 846f854 commit 3a09805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/usr/diag/mdia/mdiasm.C
Expand Up @@ -1034,9 +1034,7 @@ bool StateMachine::executeWorkItem(WorkFlowProperties * i_wfp)
// OCMB target
else if ( TYPE_OCMB_CHIP == trgtType )
{
/* TODO - we need a wrapper for our call to the HWP
rc = PRDF::restoreDramRepairs<TYPE_OCMB_CHIP>( target );
*/
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions src/usr/diag/prdf/plat/prdfPlatServices_ipl.C
Expand Up @@ -222,14 +222,14 @@ uint32_t mssRestoreDramRepairs<TYPE_OCMB_CHIP>( TargetHandle_t i_target,


fapi2::buffer<uint8_t> tmpRepairedRankMask, tmpBadDimmMask;
FAPI_INVOKE_HWP( errl, mss::restore_repairs,
FAPI_INVOKE_HWP( errl, exp_restore_repairs,
fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>( i_target ),
tmpRepairedRankMask, tmpBadDimmMask );

if ( NULL != errl )
{
PRDF_ERR( "[PlatServices::mssRestoreDramRepairs] "
"restore_repairs() failed. HUID: 0x%08x",
"exp_restore_repairs() failed. HUID: 0x%08x",
getHuid(i_target) );
PRDF_COMMIT_ERRL( errl, ERRL_ACTION_REPORT );
o_rc = FAIL;
Expand Down

0 comments on commit 3a09805

Please sign in to comment.