summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H b/src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H
index 78d15ba4..6c7de97c 100644
--- a/src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H
+++ b/src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H
@@ -528,6 +528,17 @@ p9_common_poweronoff(
FAPI_DBG("Assert vital thold via NET_CTRL0[16]");
FAPI_TRY(putScom(i_target, NET_CTRL0_WOR[l_type], MASK_SET(16)));
+ if (l_type == 1)
+ {
+ // 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
+ FAPI_DBG("Mask DPLL unlock error in FIR via SLAVE_CONFIG[12]");
+ FAPI_TRY(getScom(i_target, EQ_SLAVE_CONFIG_REG, l_data64));
+ l_data64.setBit<12>();
+ FAPI_TRY(putScom(i_target, EQ_SLAVE_CONFIG_REG, l_data64));//
+ }
+
///////////////////////////////////////////////////////////////////////////
// Procedure code
///////////////////////////////////////////////////////////////////////////
OpenPOWER on IntegriCloud