aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAkshay Adiga <akshay.adiga@linux.vnet.ibm.com>2018-01-04 16:57:58 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-14 21:05:51 -0600
commit6d2e281bc22f270bb63a86275710679d991d98e8 (patch)
treeba6ab6d226d874737a5cff9f41eb3c58e2ab3211 /hw
parent7b613693d537859acfa13968ecfa28082ec8f72f (diff)
downloadskiboot-6d2e281bc22f270bb63a86275710679d991d98e8.zip
skiboot-6d2e281bc22f270bb63a86275710679d991d98e8.tar.gz
skiboot-6d2e281bc22f270bb63a86275710679d991d98e8.tar.bz2
SLW: Delay cpuidle device-tree creation
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>
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 8110b5a..c9c6e63 100644
--- a/hw/slw.c
+++ b/hw/slw.c
@@ -1705,4 +1705,5 @@ void slw_init(void)
for_each_chip(chip)
slw_init_chip_p9(chip);
}
+ add_cpu_idle_state_properties();
}