aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnton Blanchard <anton@ozlabs.org>2018-05-02 16:46:11 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-05-02 20:01:34 -0500
commit3ef38a3895e682627bcdafdeec8796db3f9bdaf9 (patch)
tree3818b8d82a8912874cc32b86683e61839910ba8b /hw
parent411dc0813f24d2b282dbd1ff75b71671b60c7b40 (diff)
downloadskiboot-3ef38a3895e682627bcdafdeec8796db3f9bdaf9.zip
skiboot-3ef38a3895e682627bcdafdeec8796db3f9bdaf9.tar.gz
skiboot-3ef38a3895e682627bcdafdeec8796db3f9bdaf9.tar.bz2
SLW: Fix mambo boot to use stop states
After commit 35c66b8ce5a2 ("SLW: Move MAMBO simulator checks to slw_init"), mambo boot no longer calls add_cpu_idle_state_properties() and as such we never enable stop states. After adding the call back, we get more testing coverage as well as faster mambo SMT boots. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/slw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/slw.c b/hw/slw.c
index 099c260..c059d9c 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -1581,6 +1581,7 @@ void slw_init(void)
if (proc_chip_quirks & QUIRK_MAMBO_CALLOUTS) {
wakeup_engine_state = WAKEUP_ENGINE_NOT_PRESENT;
+ add_cpu_idle_state_properties();
return;
}
if (proc_gen == proc_gen_p8) {