Skip to content

Commit

Permalink
PM: PGPE hang fix during VDM droop workaround
Browse files Browse the repository at this point in the history
    -Fixed stop entry suspend ACK in CME to resolve PGPE hang
    -Masked PARTIAL_GOOD error in PGPE when doing core throttle
    multicast.

    Key_Cronus_Test=PM_REGRESS

Change-Id: I56888585ddaf429a4ffd7ebdc13b7b7c6b5b8cc5
CQ: SW437277
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/62082
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
  • Loading branch information
davidduyue authored and op-jenkins committed Jul 17, 2018
1 parent a07a0e5 commit 2f06353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ p9_cme_stop_core_error_handler(uint32_t core, uint32_t core_error, uint32_t pani
void
p9_cme_stop_eval_eimr_override()
{
wrteei(0);

g_eimr_override &= ~BITS64(12, 10);
data64_t mask_irqs = {0};
mask_irqs.words.lower = 0;
Expand Down Expand Up @@ -103,6 +105,8 @@ p9_cme_stop_eval_eimr_override()
{
out32(G_CME_LCL_FLAGS_CLR, BIT32(CME_FLAGS_DROOP_SUSPEND_ENTRY));
}

wrteei(1);
}

#if !DISABLE_PERIODIC_CORE_QUIESCE && (NIMBUS_DD_LEVEL == 20 || NIMBUS_DD_LEVEL == 21 || CUMULUS_DD_LEVEL == 10)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ enum PGPE_CORE_THROTTLE
// Include core offline, address error, and timeout. The timeout is
// included to avoid an extra mtmsr in the event we need to cleanup
// from SW407201
MSR_THROTTLE_MASK = 0x29000000,
MSR_THROTTLE_MASK = 0x39000000,
WORKAROUND_SCOM_MULTICAST_WRITE = 0x69010800,
THROTTLE_SCOM_MULTICAST_WRITE = 0x69010A9E,
CORE_IFU_THROTTLE = 0x80000000,
Expand Down

0 comments on commit 2f06353

Please sign in to comment.