Skip to content

Commit

Permalink
Pstate: Resonant Clocking Enablement - CME Hcode
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Christopher M. Riedl authored and op-jenkins committed Aug 22, 2018
1 parent 127b1ec commit d1883eb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit d1883eb

Please sign in to comment.