[Skiboot] [PATCH 05/21] cpu: Don't enable nap mode/PM mode on non-P8
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Nov 14 13:06:05 AEDT 2016
We don't support it yet on others.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
core/cpu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/cpu.c b/core/cpu.c
index bad21ab..62140eb 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -355,6 +355,9 @@ void cpu_set_pm_enable(bool enabled)
prlog(PR_INFO, "CPU: %sing power management\n",
enabled ? "enabl" : "disabl");
+ if (proc_gen != proc_gen_p8)
+ return;
+
pm_enabled = enabled;
if (enabled)
--
2.7.4
More information about the Skiboot
mailing list