summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher M. Riedl <cmriedl@us.ibm.com>2017-04-12 09:35:32 -0500
committerhostboot <hostboot@us.ibm.com>2018-08-22 17:54:46 -0500
commitd1883eb35452af28cc8bfcd94cdb087033da26fc (patch)
treee31fda082b15ce993fad84a16ebc87bdaa95d30f
parent127b1eca3e8428df4ba95b3bc3810e9a49693fef (diff)
downloadtalos-hcode-d1883eb35452af28cc8bfcd94cdb087033da26fc.tar.gz
talos-hcode-d1883eb35452af28cc8bfcd94cdb087033da26fc.zip
Pstate: Resonant Clocking Enablement - CME Hcode
- implement p9_cme_resclk_control and p9_cme_resclk_update - initialize resclk datastructures during init - add handler for comm_recvd (intercme msg interrupt) and corresponding irq priority (10) - update p9_cme_qm_flags.h to match header definition (uint16_t) and fix duplicate flag definition - add intercme msg functions and packet definition Change-Id: I4681668fd6ef89b946faea7c8f2f7b40261d36d3 Original-Change-Id: I3509892ec90b5a2135f7419f4c78209ac24e4e06 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39353 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
-rwxr-xr-ximport/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
index 5a90ea2e..fe5dcac0 100755
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
@@ -45,6 +45,7 @@
#include "p9_cme_stop.h"
#include "p9_cme_stop_enter_marks.h"
+#include "p9_cme_pstate.h"
extern CmeStopRecord G_cme_stop_record;
@@ -710,6 +711,8 @@ p9_cme_stop_entry()
}
while(scom_data.words.upper & BIT32(13));
+ p9_cme_analog_control(core, ANALOG_DISABLE);
+
PK_TRACE("Switch glsmux to refclk to save clock grid power via CGCR[3]");
CME_PUTSCOM(C_PPM_CGCR, core, 0);
OpenPOWER on IntegriCloud