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 /core | |
parent | 04674d31b6a0f701c12be9585c106da41e24e444 (diff) | |
download | skiboot-b6f940fbb83ab27fb5f9bb59f52b685709def93c.zip skiboot-b6f940fbb83ab27fb5f9bb59f52b685709def93c.tar.gz skiboot-b6f940fbb83ab27fb5f9bb59f52b685709def93c.tar.bz2 |
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 'core')
-rw-r--r-- | core/chip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/chip.c b/core/chip.c index 4d01b92..c9ab779 100644 --- a/core/chip.c +++ b/core/chip.c @@ -78,8 +78,7 @@ void init_chips(void) /* Detect mambo chip */ if (dt_find_by_path(dt_root, "/mambo")) { proc_chip_quirks |= QUIRK_NO_CHIPTOD | QUIRK_MAMBO_CALLOUTS - | QUIRK_NO_F000F | QUIRK_NO_PBA | QUIRK_NO_OCC_IRQ - | QUIRK_DISABLE_NAP; + | QUIRK_NO_F000F | QUIRK_NO_PBA | QUIRK_NO_OCC_IRQ; prlog(PR_NOTICE, "CHIP: Detected Mambo simulator\n"); } if (dt_find_by_path(dt_root, "/simics")) { |