diff options
author | Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> | 2016-06-17 09:51:50 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-20 14:32:47 +1000 |
commit | b6f940fbb83ab27fb5f9bb59f52b685709def93c (patch) | |
tree | 9c6a54a4f184e95785cd472f845740bf36ed2a59 /include/lock.h | |
parent | 04674d31b6a0f701c12be9585c106da41e24e444 (diff) | |
download | blackbird-skiboot-b6f940fbb83ab27fb5f9bb59f52b685709def93c.tar.gz blackbird-skiboot-b6f940fbb83ab27fb5f9bb59f52b685709def93c.zip |
slw: Allow adding idle states to power-mgt node in mambo
This patch removes the check which prevents adding any idle state to
"power-mgt" node in mambo.
Power8 exposes 3 idle states- nap, fast-sleep and deep-winkle.
While fast-sleep depends on SCOMs and deep-winkle depends on SCOMs/SLW,
nap has no such dependencies and it can be enabled in mambo. Current code
checks for "fast-sleep" in hostboot provided
"ibm,enabled-idle-states" dt node for adding fast-sleep and checks
for presence of SLW for adding winkle to "power-mgt". Hence with this
change only nap will be added to "power-mgt" node in mambo on Power8.
On Power9, this patch enables all idle states which don't need SLW.
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/lock.h')
0 files changed, 0 insertions, 0 deletions