summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/htmgt_occ.C
diff options
context:
space:
mode:
authorSheldon Bailey <baileysh@us.ibm.com>2017-05-04 11:56:12 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-15 17:39:01 -0400
commit0db8285dd2c26790529646b0b2eb9b07bf2f0d68 (patch)
treea2c1f375ac7ea23283c6fd20c67cb9a9a22e539f /src/usr/htmgt/htmgt_occ.C
parent43ccc178f7d7c52a13679a0cacf6f393bbf8fd9a (diff)
downloadtalos-hostboot-0db8285dd2c26790529646b0b2eb9b07bf2f0d68.tar.gz
talos-hostboot-0db8285dd2c26790529646b0b2eb9b07bf2f0d68.zip
HTMGT: Support for MFG CMDs
Change-Id: I8453db169745577d350f4f971d65b781ec634df0 RTC:172167 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40219 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt/htmgt_occ.C')
-rw-r--r--src/usr/htmgt/htmgt_occ.C15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/usr/htmgt/htmgt_occ.C b/src/usr/htmgt/htmgt_occ.C
index 95ae8197a..207697be7 100644
--- a/src/usr/htmgt/htmgt_occ.C
+++ b/src/usr/htmgt/htmgt_occ.C
@@ -655,7 +655,8 @@ namespace HTMGT
}
if ((requestedState == OCC_STATE_ACTIVE) ||
- (requestedState == OCC_STATE_OBSERVATION))
+ (requestedState == OCC_STATE_OBSERVATION) ||
+ (requestedState == OCC_STATE_CHARACTERIZATION) )
{
// Function is only called on initial IPL and when user/mfg
// requests a new state, so we can update target here.
@@ -768,11 +769,16 @@ namespace HTMGT
TMGT_CONSOLE("OCCs are now running in ACTIVE "
"state");
}
- else
+ else if (OCC_STATE_OBSERVATION == requestedState)
{
TMGT_CONSOLE("OCCs are now running in OBSERVATION "
"state");
}
+ else if (OCC_STATE_CHARACTERIZATION == requestedState)
+ {
+ TMGT_CONSOLE("OCCs are now running in "
+ "CHARACTERIZATION state");
+ }
}
}
@@ -924,6 +930,11 @@ namespace HTMGT
{
TMGT_ERR("_resetOCCs: loadAndStartPMAll failed. ");
err->collectTrace("HTMGT");
+ processOccStartStatus(false, l_proc_target);
+ }
+ else
+ {
+ processOccStartStatus(true, l_proc_target);
}
}
else if (!err) // Reset Threshold reached and no other err
OpenPOWER on IntegriCloud