[Skiboot] [PATCH] SLW: Fix mambo boot to use stop states
Anton Blanchard
anton at ozlabs.org
Wed May 2 16:46:11 AEST 2018
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 at samba.org>
--
diff --git a/hw/slw.c b/hw/slw.c
index 8e845300..bce7d427 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) {
More information about the Skiboot
mailing list