Skip to content

Commit

Permalink
Restore FIR and reorder queue settings after mss sim init
Browse files Browse the repository at this point in the history
Change-Id: Id17efd130da845fc66ca1347e5b7590352ad956d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40836
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: SHELTON LEUNG <sleung@us.ibm.com>
Reviewed-by: MATTHEW I. HICKMAN <matthew.hickman@ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40838
Reviewed-by: Hostboot Team <hostboot@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>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Jenny Huynh authored and dcrowell77 committed May 25, 2017
1 parent e251ab1 commit 8461f51
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,20 @@ fapi2::ReturnCode p9_mss_scrub( const fapi2::Target<TARGET_TYPE_MCBIST>& i_targe

if (l_sim)
{
fapi2::ReturnCode l_rc;

// Use some sort of pattern in sim in case the verification folks need to look for something
// TK. Need a verification pattern. This is a not-good pattern for verification ... We don't really
// have a good pattern for verification defined.
FAPI_INF("running mss sim init in place of scrub");
return mss::mcbist::sim::sf_init(i_target, mss::mcbist::PATTERN_0);
l_rc = mss::mcbist::sim::sf_init(i_target, mss::mcbist::PATTERN_0);

// Unmask firs and turn off FIFO mode before returning
FAPI_TRY ( mss::unmask::after_memdiags( i_target ) );
FAPI_TRY ( mss::unmask::after_background_scrub( i_target ) );
FAPI_TRY ( mss::reset_reorder_queue_settings(i_target) );

return l_rc;
}

// In Cronus on hardware (which is how we got here - f/w doesn't call this) we want
Expand Down

0 comments on commit 8461f51

Please sign in to comment.