Fwd: DisableSuspend.apk

2011-10-21 Thread Zach Pfeffer
This will disable suspend (like if you're showing a demo off). -- Forwarded message -- From: Zach Pfeffer Date: 21 October 2011 20:33 Subject: Re: DisableSuspend.apk To: "bernhard.rosenkranzer" Sorry, this will work better. On 21 October 2011 19:58, Zach Pfeffer wrote: > Try

[PATCH] pinctrl: Add explicit gpio_disable_free pinmux_op

2011-10-21 Thread Stephen Warren
Some pinctrl drivers (Tegra at least) program a pin to be a GPIO in a completely different manner than they select which function to mux out of that pin. In order to support a single "free" pinmux_op, the driver would need to maintain a per-pin state of requested-for-gpio vs. requested-for- functio

[RFC PATCH 07/11] ARM: cpu topology: Modify cpu_power according to cpufreq

2011-10-21 Thread Vincent Guittot
Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c | 75 +++- 1 files changed, 67 insertions(+), 8 deletions(-) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 1196f2d..9f75967 100644 --- a/arch/arm/kernel/topology.

[RFC PATCH 11/11] sched: nohz_idle_balance

2011-10-21 Thread Vincent Guittot
clear rq->nohz_balance_kick before returning if idle equals CPU_IDLE, we return and could let nohz_balance_kick set rq->nohz_balance_kick is tested in nohz_balancer_kick before triggering a SOFTIRQ on the ilb. If this_rq->nohz_balance_kick stay to 1, the ilb will no be triggered until it wakes u

[RFC PATCH 10/11] sched: Ensure cpu_power periodic update

2011-10-21 Thread Vincent Guittot
With a lot of small tasks, the softirq sched is nearly never called when no_hz is enable. The load_balance is mainly called with the newly_idle mode which doesn't update the cpu_power. Add a next_update field which ensures a maximum update period when there is short activity Signed-off-by: Vincent

[RFC PATCH 09/11] ARM: cpu topology: Add debugfs interface for cpu_power

2011-10-21 Thread Vincent Guittot
Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c | 115 1 files changed, 115 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index c312937..aee6b44 100644 --- a/arch/arm/kernel/topology

[RFC PATCH 08/11] ARM: cpu topology: Add asym topology flag for using cpu0 1st

2011-10-21 Thread Vincent Guittot
Modify the CPU sched_domain flags in powersave mode for using the cpu0 in ched_mc powersave mode Signed-off-by: Vincent Guittot --- arch/arm/include/asm/topology.h | 33 + arch/arm/kernel/topology.c | 11 +++ 2 files changed, 44 insertions(+), 0

[RFC PATCH 06/11] ARM: cpu topology: Modify cpu_power according to sched_mc level

2011-10-21 Thread Vincent Guittot
Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c | 48 +++- 1 files changed, 47 insertions(+), 1 deletions(-) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 974177d..1196f2d 100644 --- a/arch/arm/kernel/topology.

[RFC PATCH 05/11] ARM: scheduler: add a cpu_power function

2011-10-21 Thread Vincent Guittot
Add an architecture specific function for setting cpu_power Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index faf66f3..974177d

[RFC PATCH 04/11] ARM: cpu topology: Enable ARCH_POWER

2011-10-21 Thread Vincent Guittot
Signed-off-by: Vincent Guittot --- kernel/sched_features.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sched_features.h b/kernel/sched_features.h index 2e74677..85f8bd9 100644 --- a/kernel/sched_features.h +++ b/kernel/sched_features.h @@ -47,7 +47,7 @@ SCHED

[RFC PATCH 03/11] ARM: cpu topology: Add dedicated quadcore CA-9 topology for powersaving mode

2011-10-21 Thread Vincent Guittot
Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c | 31 +-- 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 34512fe..faf66f3 100644 --- a/arch/arm/kernel/topology.c +++ b/arch/

[RFC PATCH 02/11] ARM: cpu topology: modify cpu topology

2011-10-21 Thread Vincent Guittot
Modify the CPU topology policy according to the sched_mc level and the cortex family Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c | 104 +++ 1 files changed, 84 insertions(+), 20 deletions(-) diff --git a/arch/arm/kernel/topology.c b/ar

[RFC PATCH 01/11] ARM: cpu topology: Add update_cpu_topology function

2011-10-21 Thread Vincent Guittot
arch_update_cpu_topology function is called by the scheduler before building its sched_domain hierarchy. Move the update of the cpu topology masks in this function instead of defining it in the the store_cpu_topology which is executed only once per cpu. Signed-off-by: Vincent Guittot --- arch/ar

[RFC PATCH 0/11] ARM: cpu topology Cortex-A9

2011-10-21 Thread Vincent Guittot
The sched_mc feature has been originally designed to improve power consumption of multi-package system and several architecture functions are available to tune the topology and the scheduler's parameters when scheduler rebuilds the sched_domain hierarchy (change the sched_mc_power_savings level). T

Re: [PATCH 2/2] pinctrl: add a generic control interface

2011-10-21 Thread Mark Brown
On Fri, Oct 21, 2011 at 02:57:19PM +0200, Linus Walleij wrote: > On Fri, Oct 21, 2011 at 2:55 PM, Mark Brown > > No, like I keep saying it's nothing to do with enabling or disabling > > power.  It's about selecting between multiple reference domains.  For > > example, choosing between the DBVDD1 a

Re: [PATCH 2/2] pinctrl: add a generic control interface

2011-10-21 Thread Linus Walleij
On Fri, Oct 21, 2011 at 2:55 PM, Mark Brown wrote: > On Fri, Oct 21, 2011 at 02:51:46PM +0200, Linus Walleij wrote: >> On Fri, Oct 21, 2011 at 2:30 PM, Mark Brown > >> > To repeat once more: this is *not* an on/off control, this is a control >> > selecting the voltage domain a pin is referenced to

Re: [PATCH 2/2] pinctrl: add a generic control interface

2011-10-21 Thread Mark Brown
On Fri, Oct 21, 2011 at 02:51:46PM +0200, Linus Walleij wrote: > On Fri, Oct 21, 2011 at 2:30 PM, Mark Brown > > To repeat once more: this is *not* an on/off control, this is a control > > selecting the voltage domain a pin is referenced to. > Sorry, slow learner. So I'll add: > PIN_CONFIG_ENABLE

Re: [PATCH 2/2] pinctrl: add a generic control interface

2011-10-21 Thread Linus Walleij
On Fri, Oct 21, 2011 at 2:30 PM, Mark Brown wrote: > On Fri, Oct 21, 2011 at 02:28:25PM +0200, Linus Walleij wrote: >> If this is a binary output pin, I suspect that >> I suspect that what you call "off" is actually implemeted as >> in this figure: > > To repeat once more: this is *not* an on/off

Re: [PATCH 2/2] pinctrl: add a generic control interface

2011-10-21 Thread Mark Brown
On Fri, Oct 21, 2011 at 02:28:25PM +0200, Linus Walleij wrote: > On Thu, Oct 20, 2011 at 5:42 PM, Mark Brown > > On Thu, Oct 20, 2011 at 04:43:30PM +0200, Linus Walleij wrote: > >> In Ux500 we model our power domain switches as regulators, > >> does such a property even belong in pin control? Is t

Re: [PATCH 2/2] pinctrl: add a generic control interface

2011-10-21 Thread Linus Walleij
On Thu, Oct 20, 2011 at 5:42 PM, Mark Brown wrote: > On Thu, Oct 20, 2011 at 04:43:30PM +0200, Linus Walleij wrote: >> In Ux500 we model our power domain switches as regulators, >> does such a property even belong in pin control? Is there >> one power domain switch per pin you mean, or a power swi

Re: samsung cpuidle pull request.

2011-10-21 Thread Amit Kachhap
Hi Nicolas, As suggested by you, I have cherry picked the necessary patches from rmk-next tree and applied it on top of latest linaro tree. Please pull them for next linaro release. The pull path is, git://git.linaro.org/people/amitdanielk/linux.git samsung_cpuidle_l2_retention. All the patches

Re: [PATCH v2 1/7] clk: Add a generic clock infrastructure

2011-10-21 Thread Richard Zhao
On Thu, Sep 22, 2011 at 03:26:56PM -0700, Mike Turquette wrote: > +/* For USE_COMMON_STRUCT_CLK, these are provided in clk.c, but not exported > + * through other headers; we don't want them used anywhere but here. */ > +#ifdef CONFIG_USE_COMMON_STRUCT_CLK change to CONFIG_GENERIC_CLK? > +extern in