diff options
-rw-r--r-- | src/usr/diag/mdia/mdia.C | 3 | ||||
-rw-r--r-- | src/usr/diag/mdia/mdiafwd.H | 1 | ||||
-rw-r--r-- | src/usr/diag/mdia/mdiaglobals.H | 5 | ||||
-rw-r--r-- | src/usr/diag/mdia/mdiamba.C | 20 |
4 files changed, 1 insertions, 28 deletions
diff --git a/src/usr/diag/mdia/mdia.C b/src/usr/diag/mdia/mdia.C index f9760464b..0abea9504 100644 --- a/src/usr/diag/mdia/mdia.C +++ b/src/usr/diag/mdia/mdia.C @@ -72,9 +72,6 @@ errlHndl_t runStep(const TargetHandleList & i_targetList) globals.mfgPolicy |= MNFG_FLAG_BIT_MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST; } - - uint8_t isMpipl = top->getAttr<ATTR_IS_MPIPL_HB>(); - globals.mpipl = (isMpipl ? true:false); } // get the workflow for each target mba passed in. diff --git a/src/usr/diag/mdia/mdiafwd.H b/src/usr/diag/mdia/mdiafwd.H index c6364b470..164daafe7 100644 --- a/src/usr/diag/mdia/mdiafwd.H +++ b/src/usr/diag/mdia/mdiafwd.H @@ -62,7 +62,6 @@ struct WorkFlowProperties; */ enum DiagMode { - SCRUB_ONLY, ONE_PATTERN, FOUR_PATTERNS, NINE_PATTERNS, diff --git a/src/usr/diag/mdia/mdiaglobals.H b/src/usr/diag/mdia/mdiaglobals.H index fd670aade..447af968b 100644 --- a/src/usr/diag/mdia/mdiaglobals.H +++ b/src/usr/diag/mdia/mdiaglobals.H @@ -48,11 +48,6 @@ struct Globals * @brief user interface policy */ uint64_t userPolicy; - - /** - * @brief memory preserving ipl flag - */ - bool mpipl; }; } #endif diff --git a/src/usr/diag/mdia/mdiamba.C b/src/usr/diag/mdia/mdiamba.C index 43e727e68..3ac8280a8 100644 --- a/src/usr/diag/mdia/mdiamba.C +++ b/src/usr/diag/mdia/mdiamba.C @@ -45,14 +45,6 @@ errlHndl_t getMbaDiagnosticMode( do { - // Can't do any pattern testing in MPIPL since - // that may cause customers data corruption - if(i_globals.mpipl) - { - o_mode = SCRUB_ONLY; - break; - } - if(MNFG_FLAG_BIT_MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST & i_globals.mfgPolicy) { @@ -132,11 +124,6 @@ errlHndl_t getMbaWorkFlow( case ONE_PATTERN: o_wf.push_back(START_PATTERN_0); // 0's pattern, must be last - - // fall through - - case SCRUB_ONLY: - o_wf.push_back(START_SCRUB); break; @@ -150,12 +137,7 @@ errlHndl_t getMbaWorkFlow( o_wf.push_back(ANALYZE_IPL_MNFG_CE_STATS); } - // only clear HW changed state attribute - // after any pattern test - if(SCRUB_ONLY != i_mode) - { - o_wf.push_back(CLEAR_HW_CHANGED_STATE); - } + o_wf.push_back(CLEAR_HW_CHANGED_STATE); return 0; } |