Skip to content

Commit

Permalink
STOP: Handle Quad Special Wakeup Done while pm_reset
Browse files Browse the repository at this point in the history
Key_Cronus_Test=PM_REGRESS

Change-Id: I89c9a3b8a80a58653be60f5e84e42e89b301ce72
CQ: SW416547
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59293
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
  • Loading branch information
davidduyue authored and op-jenkins committed May 30, 2018
1 parent 1dc26ec commit 050dc21
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,9 @@ p9_sgpe_stop_init()
G_sgpe_stop_record.state[qloop].act_state_q = STOP_LEVEL_0;
G_sgpe_stop_record.group.quad[VECTOR_CONFIG] |= BIT32(qloop);
// clear gpmmr[reset_state_indicator] if partial good quad
GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(PPM_GPMMR_CLR, qloop), BIT64(15));
// clear quad special wakeup that may be set by pm_reset
// either way, before enable quad special wakeup interrupt service, start clean
GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(PPM_GPMMR_CLR, qloop), (BIT64(0) | BIT64(15)));

if (qssr.value & m_qs)
{
Expand Down

0 comments on commit 050dc21

Please sign in to comment.