Skip to content

Commit

Permalink
STOP: Fix STOP1 correctly for DD1 Workaround
Browse files Browse the repository at this point in the history
Change-Id: I9802c5fc79c5d651df3f15f8df82e46506c0cc85
Original-Change-Id: I8e10199208db098f5e73b9b3c66cb64a097f73e6
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40603
Reviewed-by: YUE DU <daviddu@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
  • Loading branch information
Michael Floyd authored and op-jenkins committed Aug 22, 2018
1 parent dbc5a4d commit 51a2d2a
Showing 1 changed file with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,6 @@ p9_cme_stop_entry()

core = core & ~core_stop1;

if (!core)
{
break;
}

#else

// Nap should be done by hardware when auto_stop1 is enabled
Expand All @@ -406,10 +401,6 @@ p9_cme_stop_entry()

}

//----------------------------------------------------------------------
PK_TRACE("+++++ +++++ STOP LEVEL 2 ENTRY +++++ +++++");
//----------------------------------------------------------------------

#if HW405292_NDD1_PCBMUX_SAVIOR

p9_cme_pcbmux_savior_prologue(core);
Expand All @@ -430,6 +421,20 @@ p9_cme_stop_entry()

#endif

#if HW386841_NDD1_DSL_STOP1_FIX

// exit after getting PCBMUX for Stop1 Workaround
if (!core)
{
break;
}

#endif

//----------------------------------------------------------------------
PK_TRACE("+++++ +++++ STOP LEVEL 2 ENTRY +++++ +++++");
//----------------------------------------------------------------------

// set target_level from pm_state for both cores or just one core
target_level = (core == CME_MASK_C0) ? G_cme_stop_record.req_level[0] :
G_cme_stop_record.req_level[1];
Expand Down

0 comments on commit 51a2d2a

Please sign in to comment.