aboutsummaryrefslogtreecommitdiff
path: root/hw/slw.c
diff options
context:
space:
mode:
authorAkshay Adiga <akshay.adiga@linux.vnet.ibm.com>2018-01-04 16:58:05 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-14 21:05:51 -0600
commitc613c2fb9b826b0eff2d28c23f3ec47a2ab3c410 (patch)
treeb16c1f09e316d338b9ef23bf9d4c97aa306a73a0 /hw/slw.c
parente5c663c3f6debd5164cfced486fa926ab57b3656 (diff)
downloadskiboot-c613c2fb9b826b0eff2d28c23f3ec47a2ab3c410.zip
skiboot-c613c2fb9b826b0eff2d28c23f3ec47a2ab3c410.tar.gz
skiboot-c613c2fb9b826b0eff2d28c23f3ec47a2ab3c410.tar.bz2
SCOM restore for DARN and XIVE
While waking up from stop11, we want NCU_DARN_BAR to have enable bit set. Without this stop_api call, the value restored is without enable bit set. We loose NCU_SPEC_BAR when the quad goes into stop11, stop_api will restore while waking up from stop11. Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/slw.c')
-rw-r--r--hw/slw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/slw.c b/hw/slw.c
index 01d24f0..57b52a2 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -923,9 +923,11 @@ void add_cpu_idle_state_properties(void)
has_deep_states = true;
}
}
-
- if ((wakeup_engine_state == WAKEUP_ENGINE_PRESENT) && has_deep_states)
+ if ((wakeup_engine_state == WAKEUP_ENGINE_PRESENT) && has_deep_states) {
slw_late_init_p9(chip);
+ xive_late_init();
+ nx_p9_rng_late_init();
+ }
if (wakeup_engine_state != WAKEUP_ENGINE_PRESENT)
has_deep_states = false;
} else if (chip->type == PROC_CHIP_P8_MURANO ||