Skip to content

Commit

Permalink
NVDIMM Flush update
Browse files Browse the repository at this point in the history
 - Stop Instruction on all cores before NVDIMM Flush procedure in MPIPL

Change-Id: I5a0e5314549f52b7a6a9460f1a87c798d5f74735
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71362
Reviewed-by: Sunil Kumar <skumar8j@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Srikantha S. Meesala <srikantha@in.ibm.com>
Reviewed-by: Krishna Swaroop Athmaram <krathmar@in.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
Raja Das committed Feb 6, 2019
1 parent f3b4f8e commit c508f8e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/sbefw/app/power/ipl_table.C
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,15 @@ ReturnCode istepWithCoreState( voidfuncptr_t i_hwp)
}
}
}
if( l_rc == FAPI2_RC_SUCCESS )
{
l_rc = flushNVDIMM();
if( l_rc != FAPI2_RC_SUCCESS )
{
SBE_ERROR(SBE_FUNC "flushNVDIMM failed");
}
}

SBE_EXIT(SBE_FUNC);
return l_rc;
#undef SBE_FUNC
Expand Down Expand Up @@ -999,12 +1008,6 @@ ReturnCode istepStartMpipl( voidfuncptr_t i_hwp)
SBE_ERROR(SBE_FUNC "resetCrespErrLatch failed");
break;
}
rc = flushNVDIMM();
if( rc != FAPI2_RC_SUCCESS )
{
SBE_ERROR(SBE_FUNC "flushNVDIMM failed");
break;
}

}while(0);

Expand Down

0 comments on commit c508f8e

Please sign in to comment.