Skip to content

Commit

Permalink
Set MSS blue waterfall workaround to only run after coarse rd/wr cal …
Browse files Browse the repository at this point in the history
…step

Change-Id: Ib1696aee31ae1a2fb032586d74604005c9408fed
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36048
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Dev-Ready: Louis Stermole <stermole@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36186
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
stermole authored and dcrowell77 committed Feb 11, 2017
1 parent 014cf4a commit df3fc6c
Showing 1 changed file with 7 additions and 2 deletions.
Expand Up @@ -38,6 +38,7 @@

#include <p9_mss_draminit_training.H>
#include <lib/utils/count_dimm.H>
#include <lib/shared/mss_const.H>
#include <lib/workarounds/dp16_workarounds.H>
#include <lib/fir/unmask.H>

Expand Down Expand Up @@ -191,8 +192,12 @@ extern "C"
// bits for a cal failure. We'll return the proper ReturnCode so all we need to do is FAPI_TRY.
FAPI_TRY( mss::ccs::execute(i_target, l_program, p) );

// Modifies the training steps, based upon workarounds - adding this here so it always gets run
FAPI_TRY( mss::workarounds::dp16::modify_calibration_results( p ) );
// Modifies the training steps, based upon workarounds - only do this if we've run coarse_rd or coarse_wr
if (l_cal_steps_enabled.getBit<mss::cal_steps::COARSE_RD>() ||
l_cal_steps_enabled.getBit<mss::cal_steps::COARSE_WR>())
{
FAPI_TRY( mss::workarounds::dp16::modify_calibration_results( p ) );
}

// If we're aborting on error we can just FAPI_TRY. If we're not, we don't want to exit if there's
// an error but we want to log the error and keep on keeping on.
Expand Down

0 comments on commit df3fc6c

Please sign in to comment.