From d1883eb35452af28cc8bfcd94cdb087033da26fc Mon Sep 17 00:00:00 2001 From: "Christopher M. Riedl" Date: Wed, 12 Apr 2017 09:35:32 -0500 Subject: 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 Reviewed-by: Michael S. Floyd Reviewed-by: AMIT KUMAR Reviewed-by: Gregory S. Still --- import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3