diff options
author | mbroyles <mbroyles@us.ibm.com> | 2018-08-30 13:28:41 -0500 |
---|---|---|
committer | Martha Broyles <mbroyles@us.ibm.com> | 2018-09-05 08:54:45 -0500 |
commit | 0f604d61c2858821ff81c7f3028eca636800574a (patch) | |
tree | 49e89a020f947d46fd6c5246d16835ff3ed29a02 /src/occ_405/state.c | |
parent | d84708e4e986ce7650d17b380236b6893c7db9e1 (diff) | |
download | talos-occ-0f604d61c2858821ff81c7f3028eca636800574a.tar.gz talos-occ-0f604d61c2858821ff81c7f3028eca636800574a.zip |
Add WOF sensors for AMESTER
Fix char/obs to active state change going to UT on PowerVM
Change-Id: I7ecad134b31b89a392271169400c0240416d62b7
RTC: 197146
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65520
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Tested-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/state.c')
-rwxr-xr-x | src/occ_405/state.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/occ_405/state.c b/src/occ_405/state.c index a3ec45e..03c6922 100755 --- a/src/occ_405/state.c +++ b/src/occ_405/state.c @@ -45,6 +45,7 @@ // Maximum time to wait for a PGPE task before timeout #define WAIT_PGPE_TASK_TIMEOUT (MICS_PER_TICK * 4) +extern bool G_allowPstates; extern bool G_mem_monitoring_allowed; extern task_t G_task_table[TASK_END]; // Global task table extern bool G_simics_environment; @@ -764,6 +765,13 @@ errlHndl_t SMGR_observation_to_active() // characterization state where user was manually writing Pstates G_set_pStates = TRUE; + // for powerVM the clip is set to UT, need to make sure we determine new freq before + // 1st write to PMCR to prevent writing the clip to the PMCR and going to UT + if(!G_sysConfigData.system_type.kvm) + { + G_allowPstates = FALSE; + } + // Set the RTL Flags to indicate which tasks can run // - Clear OBSERVATION b/c not in OBSERVATION State // - Set ACTIVE b/c we're in ACTIVE State |