Skip to content

Commit

Permalink
STOP: Change cme init to avoid using sisr block wakeup status
Browse files Browse the repository at this point in the history
Key_Cronus_Test=PM_REGRESS

Change-Id: Id49bfd96af3db195b4b205deb8f3fd9222257c57
CQ: SW444858
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65779
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
  • Loading branch information
davidduyue authored and op-jenkins committed Oct 18, 2018
1 parent 94a83e1 commit 933b1b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions import/chips/p9/procedures/ppe_closed/cme/p9_cme.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ extern uint32_t G_CME_LCL_ICCR_OR;
extern uint32_t G_CME_LCL_SISR;
extern uint32_t G_CME_LCL_SICR_CLR;
extern uint32_t G_CME_LCL_SICR_OR;
extern uint32_t G_CME_LCL_SICR;
extern uint32_t G_CME_LCL_PSCRS00;
extern uint32_t G_CME_LCL_PSCRS10;
extern uint32_t G_CME_LCL_PSCRS20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ uint32_t G_CME_LCL_ICCR_OR = CME_LCL_ICCR_OR;
uint32_t G_CME_LCL_SISR = CME_LCL_SISR;
uint32_t G_CME_LCL_SICR_CLR = CME_LCL_SICR_CLR;
uint32_t G_CME_LCL_SICR_OR = CME_LCL_SICR_OR;
uint32_t G_CME_LCL_SICR = CME_LCL_SICR;
uint32_t G_CME_LCL_PSCRS00 = CME_LCL_PSCRS00;
uint32_t G_CME_LCL_PSCRS10 = CME_LCL_PSCRS10;
uint32_t G_CME_LCL_PSCRS20 = CME_LCL_PSCRS20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ p9_cme_stop_init()
G_cme_stop_record.core_stopgpe = 0;

// use SISR[2:3] PM_BLOCK_INTERRUPTS to init block wakeup status
G_cme_stop_record.core_blockpc = ((in32(G_CME_LCL_SISR) & BITS32(2, 2)) >> SHIFT32(3));
G_cme_stop_record.core_blockpc = ((in32(G_CME_LCL_SICR) & BITS32(2, 2)) >> SHIFT32(3));
G_cme_stop_record.core_blockwu = G_cme_stop_record.core_blockpc;
G_cme_stop_record.core_blockey = 0;
G_cme_stop_record.core_suspendwu = G_cme_stop_record.core_blockpc;
Expand Down

0 comments on commit 933b1b1

Please sign in to comment.