import/chips/p9/procedures/ppe_closed/cme/pstate_cme/p9_cme_pstate.c
// this is needed for our test exercisers to know
// when to check that DVFS changes are complete
// always update both cores regardless of partial good or stop state
//
this is needed for our test exercisers to know
when to check that DVFS changes are complete
always update both cores regardless of partial good or stop state
this is needed for our test exercisers to know when to check that DVFS changes are complete always update both cores regardless of partial good or stop state
void p9_cme_pstate_pmsr_updt_in_progress()
{
    out64(CME_LCL_PMSRS0, in64(CME_LCL_PMSRS0) | BIT64(PMSR_UPDATE_IN_PROGRESS));
    out64(CME_LCL_PMSRS1, in64(CME_LCL_PMSRS1) | BIT64(PMSR_UPDATE_IN_PROGRESS));
}
void p9_cme_pstate_pmsr_updt_in_progress ( ) { out64 ( CME_LCL_PMSRS0 , in64 ( CME_LCL_PMSRS0 ) | BIT64 ( PMSR_UPDATE_IN_PROGRESS ) ) ; out64 ( CME_LCL_PMSRS1 , in64 ( CME_LCL_PMSRS1 ) | BIT64 ( PMSR_UPDATE_IN_PROGRESS ) ) ; }
this is needed for our test exercisers to know
when to check that DVFS changes are complete
always update both cores regardless of partial good or stop state
this is needed for our test exercisers to know when to check that DVFS changes are complete always update both cores regardless of partial good or stop state