summaryrefslogtreecommitdiffstats
path: root/src/occ_405/mode.c
diff options
context:
space:
mode:
authormbroyles <mbroyles@us.ibm.com>2016-09-19 11:54:55 -0500
committerMartha Broyles <mbroyles@us.ibm.com>2016-09-29 11:28:53 -0400
commita57f623c26bdf3889703ed63334745c966c6096d (patch)
treeb2f81389aa3bf5a420c6a115d8c10ae787375ede /src/occ_405/mode.c
parentd137bd848a05d5afd8a9ee5c9803f421ebd0a922 (diff)
downloadtalos-occ-a57f623c26bdf3889703ed63334745c966c6096d.tar.gz
talos-occ-a57f623c26bdf3889703ed63334745c966c6096d.zip
Enable power capping and oversubscription. RTC:137621 RTC:133156
Change-Id: I98b745ccb56d89d066508d4195250b1bf446dbc6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29898 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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/mode.c')
-rwxr-xr-xsrc/occ_405/mode.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/occ_405/mode.c b/src/occ_405/mode.c
index e4a6715..84bc0e2 100755
--- a/src/occ_405/mode.c
+++ b/src/occ_405/mode.c
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER OnChipController Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2015 */
+/* Contributors Listed Below - COPYRIGHT 2011,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -53,10 +53,6 @@ OCC_MODE G_occ_external_req_mode = OCC_MODE_NOCHANGE;
// Mode that TMGT is requesting OCC go to in KVM
OCC_MODE G_occ_external_req_mode_kvm = OCC_MODE_NOCHANGE;
-// Indicates if OCC must actually change the voltage / frequency during
-// a mode change.
-SMGR_SMS_CMD_TYPE G_occ_internal_sms = SMGR_SMS_VF_INFO_ONLY;
-
// Indicates if we are currently in a mode transition
bool G_mode_transition_occuring = FALSE;
@@ -236,24 +232,11 @@ errlHndl_t SMGR_set_mode(const OCC_MODE i_mode,
// Load correct thermal thresholds based on the current mode
l_errlHndl = AMEC_data_write_thrm_thresholds(CURRENT_MODE());
- // Update the CPU speed in AME?
- // Register the New Mode?
- // Update Power Policy Requirements?
- // Update CPM Calibration
-
}while(0);
- // If we have a mode change failure, Mode change flag needs to be set,
- // otherwise, it needs be be cleared/unset.
- if(l_errlHndl)
- {
-
- }
-
// Unlock critical section
ssx_semaphore_post(&G_smgrModeChangeSem);
-
return l_errlHndl;
}
OpenPOWER on IntegriCloud