Skip to content

Commit

Permalink
SLW: Delay cpuidle device-tree creation
Browse files Browse the repository at this point in the history
Create cpuidle device-tree after slw_init(), so that we can stop the
deeper states from being added , when wakeup engine is not present or
failed.

Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
Over-enthusiastic authored and stewartsmith committed Jan 15, 2018
1 parent 7b61369 commit 6d2e281
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion core/opal.c
Expand Up @@ -412,7 +412,6 @@ void add_opal_node(void)
add_opal_firmware_node();
add_associativity_ref_point();
memcons_add_properties();
add_cpu_idle_state_properties();
}

static struct lock evt_lock = LOCK_UNLOCKED;
Expand Down
1 change: 1 addition & 0 deletions hw/slw.c
Expand Up @@ -1705,4 +1705,5 @@ void slw_init(void)
for_each_chip(chip)
slw_init_chip_p9(chip);
}
add_cpu_idle_state_properties();
}

0 comments on commit 6d2e281

Please sign in to comment.