Skip to content

Commit

Permalink
STOP: Properly clear DPLL unlock indication in dpll_setup
Browse files Browse the repository at this point in the history
Change-Id: If0139c9208d0b961b7454df46bbda183cce7d24d
Original-Change-Id: I0d8ecd45e3b4f7414de10bb785069509b623f7ab
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46563
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
  • Loading branch information
davidduyue authored and op-jenkins committed Aug 22, 2018
1 parent 2f9abf6 commit 42f7f07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ extern "C" {
#define EQ_THERM_MODE_REG 0x1005000F

#define EQ_BIST 0x100F000B
#define EQ_SLAVE_CONFIG_REG 0x100F001E
#define EQ_ERROR_REG 0x100F001F
#define EQ_HANG_PULSE_6_REG 0x100F0026
#define EQ_NET_CTRL0_WAND 0x100F0041
#define EQ_NET_CTRL0_WOR 0x100F0042
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,14 @@ p9_sgpe_stop_entry()
}
else
{
// upon power off cache, dpll is about to be unlocked
// to prevent pcb fir fires, need to mask the bit for the time being
// the error will be cleared and unmasked when dpll is locked again
PK_TRACE("Mask DPLL unlock error in FIR via SLAVE_CONFIG[12]");
GPE_GETSCOM(GPE_SCOM_ADDR_QUAD(EQ_SLAVE_CONFIG_REG, qloop), scom_data.value);
scom_data.words.upper |= BIT32(12);
GPE_PUTSCOM(GPE_SCOM_ADDR_QUAD(EQ_SLAVE_CONFIG_REG, qloop), scom_data.value);

PK_TRACE("Drop vdd/vcs_pfet_val/sel_override/regulation_finger_en via PFCS[4-7,8]");
// vdd_pfet_val/sel_override = 0 (disbaled)
// vcs_pfet_val/sel_override = 0 (disbaled)
Expand Down

0 comments on commit 42f7f07

Please sign in to comment.