summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_init.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/amec/amec_init.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/amec/amec_init.c')
-rw-r--r--src/occ_405/amec/amec_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/occ_405/amec/amec_init.c b/src/occ_405/amec/amec_init.c
index e0fdd84..b89f038 100644
--- a/src/occ_405/amec/amec_init.c
+++ b/src/occ_405/amec/amec_init.c
@@ -285,6 +285,10 @@ void amec_init_gamec_struct(void)
g_amec->vrhotproc.freq_request = -1;
g_amec->vrhotproc.speed_request = 1000;
+ // Initialize component power caps
+ g_amec->pcap.active_proc_pcap = 0;
+ g_amec->pcap.active_mem_level = 0;
+
// @TODO - TEMP: not ready yet in Phase 1
/*
// Initialize partition information
OpenPOWER on IntegriCloud