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/chip.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/chip.h')
-rw-r--r-- | include/chip.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/chip.h b/include/chip.h index 34094198..463cce34 100644 --- a/include/chip.h +++ b/include/chip.h @@ -118,8 +118,7 @@ enum proc_chip_quirks { QUIRK_NO_F000F = 0x00000004, QUIRK_NO_PBA = 0x00000008, QUIRK_NO_OCC_IRQ = 0x00000010, - QUIRK_DISABLE_NAP = 0x00000020, - QUIRK_SIMICS = 0x00000040, + QUIRK_SIMICS = 0x00000020, } proc_chip_quirks; static inline bool chip_quirk(unsigned int q) |