summaryrefslogtreecommitdiffstats
path: root/src/occ_405/cmdh/cmdh_snapshot.c
diff options
context:
space:
mode:
authormbroyles <mbroyles@us.ibm.com>2017-12-07 13:06:35 -0600
committerMartha Broyles <mbroyles@us.ibm.com>2017-12-11 13:01:41 -0500
commit49ea880a77890b05a7b06cdf083122acb7f15a10 (patch)
tree9b526a9d024d72c91e68b68984fabd197d9545a9 /src/occ_405/cmdh/cmdh_snapshot.c
parent01ae49578a8e854af3c58641cd37f4c1bfeb0fd6 (diff)
downloadtalos-occ-49ea880a77890b05a7b06cdf083122acb7f15a10.tar.gz
talos-occ-49ea880a77890b05a7b06cdf083122acb7f15a10.zip
Wait two ticks prior to un-throttling memory due to power capping
Disable 24x7 on first tick GPE exceeds tick time Only update snapshot buffer in active, observation or characterization states Change-Id: I388878623d8bb6af2dd2cb93b21bf1102d7877b9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50658 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/cmdh/cmdh_snapshot.c')
-rwxr-xr-xsrc/occ_405/cmdh/cmdh_snapshot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/occ_405/cmdh/cmdh_snapshot.c b/src/occ_405/cmdh/cmdh_snapshot.c
index a457f5e..ecb9afc 100755
--- a/src/occ_405/cmdh/cmdh_snapshot.c
+++ b/src/occ_405/cmdh/cmdh_snapshot.c
@@ -382,9 +382,8 @@ void cmdh_snapshot_callback(void * arg)
g_cmdh_snapshot_reset = FALSE;
g_cmdh_snapshot_cur_index = CMDH_SNAPSHOT_DEFAULT_CUR_INDEX;
}
- else
+ else if (IS_OCC_STATE_OBSERVATION() || IS_OCC_STATE_ACTIVE() || IS_OCC_STATE_CHARACTERIZATION())
{
-
uint32_t l_pwr_accum_diff = 0;
uint32_t l_pwr_uptag_diff = 0;
OpenPOWER on IntegriCloud