linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpuidle: Default y for pseries
@ 2012-01-11  1:05 Benjamin Herrenschmidt
  2012-01-11  6:08 ` Linus Torvalds
  2012-01-11 22:37 ` Thadeu Lima de Souza Cascardo
  0 siblings, 2 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2012-01-11  1:05 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linuxppc-dev, Shaohua Li, linux-pm, Venkatesh Pallipadi

We just replaced the pseries platform idle loops with a cpuidle backend,
however that means that you won't get any power saving and won't return
any unused idle time to the hypervisor unless cpuidle is enabled.

Thus is should default to y when pseries is enabled. I prefer that to
a select so we can still make it modular if we want to.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

Linus, do you want to just pick that up or should I put it into powerpc.git
and ask you to pull ? I will have 2 or 3 other fixes there later today,
but I wanted to make sure you were ok with the approach with this
specific one.

diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index 7dbc4a8..62ca70d 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -1,7 +1,8 @@
 
 config CPU_IDLE
 	bool "CPU idle PM support"
-	default ACPI
+	default y if ACPI
+	default y if PPC_PSERIES
 	help
 	  CPU idle is a generic framework for supporting software-controlled
 	  idle processor power management.  It includes modular cross-platform

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-12 13:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11  1:05 [PATCH] cpuidle: Default y for pseries Benjamin Herrenschmidt
2012-01-11  6:08 ` Linus Torvalds
2012-01-11  7:05   ` Benjamin Herrenschmidt
2012-01-11 22:37 ` Thadeu Lima de Souza Cascardo
2012-01-11 23:06   ` Benjamin Herrenschmidt
2012-01-12 13:05     ` Deepthi Dharwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).