Skip to content

Commit

Permalink
SLW: Fix mambo boot to use stop states
Browse files Browse the repository at this point in the history
After commit 35c66b8 ("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>
  • Loading branch information
antonblanchard authored and stewartsmith committed May 3, 2018
1 parent 411dc08 commit 3ef38a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/slw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3ef38a3

Please sign in to comment.