summaryrefslogtreecommitdiffstats
path: root/src/occ_405/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/state.c')
-rwxr-xr-xsrc/occ_405/state.c8
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
OpenPOWER on IntegriCloud