Re: [PATCH] cpuidle - remove the power_specified field in the driver

2012-12-12 Thread Daniel Lezcano
On 12/12/2012 11:42 PM, Rafael J. Wysocki wrote: > On Wednesday, December 12, 2012 09:00:53 PM Daniel Lezcano wrote: >> On 12/12/2012 07:50 PM, Julius Werner wrote: >>> Thanks again for making this happen, Daniel. I like this version, >>> except for the small nitpick that I still think it would mak

Powertop Linaro-2012.12 release

2012-12-12 Thread Rajagopal Venkat
Hi, The Powertop Linaro-2012.12 release is available[1] based on upstream v2.2 version. The upstream v2.2 minor release mainly includes bug fixes and new report generator facility. Detailed notes available at [2]. Powertop Linaro-2012.12 release highlights - Bug fix to display freq stats when cpu

Re: [RFC PATCH v2 3/6] sched: pack small tasks

2012-12-12 Thread Alex Shi
On 12/13/2012 10:17 AM, Alex Shi wrote: > On 12/12/2012 09:31 PM, Vincent Guittot wrote: >> During the creation of sched_domain, we define a pack buddy CPU for each CPU >> when one is available. We want to pack at all levels where a group of CPU can >> be power gated independently from others. >> O

Re: [PATCH 2/6] sched: add a new SD SHARE_POWERLINE flag for sched_domain

2012-12-12 Thread Alex Shi
On 12/12/2012 09:31 PM, Vincent Guittot wrote: > This new flag SD_SHARE_POWERDOMAIN is used to reflect whether groups of CPU in > a sched_domain level can or not reach a different power state. If clusters can > be power gated independently, as an example, the flag should be cleared at CPU > level.

Re: [RFC PATCH v2 3/6] sched: pack small tasks

2012-12-12 Thread Alex Shi
On 12/12/2012 09:31 PM, Vincent Guittot wrote: > During the creation of sched_domain, we define a pack buddy CPU for each CPU > when one is available. We want to pack at all levels where a group of CPU can > be power gated independently from others. > On a system that can't power gate a group of CP

Re: [PATCH] cpuidle - remove the power_specified field in the driver

2012-12-12 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 09:00:53 PM Daniel Lezcano wrote: > On 12/12/2012 07:50 PM, Julius Werner wrote: > > Thanks again for making this happen, Daniel. I like this version, > > except for the small nitpick that I still think it would make sense to > > also turn the loop in menu.c around.

Re: [PATCH] cpuidle - remove the power_specified field in the driver

2012-12-12 Thread Julius Werner
Thanks again for making this happen, Daniel. I like this version, except for the small nitpick that I still think it would make sense to also turn the loop in menu.c around. How about something like this: for (i = drv->state_count - 1; i >= CPUIDLE_DRIVER_STATE_START; i++) {

Re: [ANNOUNCE] linux-linaro kernel schedule for 12.12

2012-12-12 Thread Andrey Konovalov
Greetings, The ll tree has been updated to use llct-20121211.0 as the base. It still has just the ARM LT topic; waiting for the v3.7 based topic from Samsung LT. Also the hack by Bero to make perf to build on android has been removed: will see if it break the perf build on ubuntu (see the Linu

Re: [PATCH] cpuidle - remove the power_specified field in the driver

2012-12-12 Thread Daniel Lezcano
On 12/12/2012 07:50 PM, Julius Werner wrote: > Thanks again for making this happen, Daniel. I like this version, > except for the small nitpick that I still think it would make sense to > also turn the loop in menu.c around. How about something like this: > >for (i = drv->state_count - 1;

Re: [Powertop] [PATCH v1] Allow frequency stats when cpuidle is not enabled

2012-12-12 Thread Chris Ferron
On 12/03/2012 10:07 PM, Rajagopal Venkat wrote: Powertop fails to display frequency stats when cpuidle subsystem is not enabled. Fix it. Signed-off-by: Rajagopal Venkat --- src/cpu/cpu.h | 7 ++- src/cpu/cpu_linux.cpp | 36 +++- 2 files changed,

[PATCH] cpuidle - remove the power_specified field in the driver

2012-12-12 Thread Daniel Lezcano
This patch follows the discussion about reinitializing the power usage when a C-state is added/removed. https://lkml.org/lkml/2012/10/16/518 We realized the power usage field is never filled and when it is filled for tegra, the power_specified flag is not set making all these values to be resett

RFC PATCH v2 1/6] Revert "sched: introduce temporary FAIR_GROUP_SCHED dependency for load-tracking"

2012-12-12 Thread Vincent Guittot
This reverts commit f4e26b120b9de84cb627bc7361ba43cfdc51341f Signed-off-by: Vincent Guittot --- include/linux/sched.h |8 +--- kernel/sched/core.c |7 +-- kernel/sched/fair.c |3 +-- kernel/sched/sched.h |9 + 4 files changed, 4 insertions(+), 23 deletions(-)

[RFC PATCH v2 3/6] sched: pack small tasks

2012-12-12 Thread Vincent Guittot
During the creation of sched_domain, we define a pack buddy CPU for each CPU when one is available. We want to pack at all levels where a group of CPU can be power gated independently from others. On a system that can't power gate a group of CPUs independently, the flag is set at all sched_domain l

[PATCH 2/6] sched: add a new SD SHARE_POWERLINE flag for sched_domain

2012-12-12 Thread Vincent Guittot
This new flag SD_SHARE_POWERDOMAIN is used to reflect whether groups of CPU in a sched_domain level can or not reach a different power state. If clusters can be power gated independently, as an example, the flag should be cleared at CPU level. This information is used to decide if it's worth packin

[RFC PATCH v2 0/6] sched: packing small tasks

2012-12-12 Thread Vincent Guittot
Hi, This patchset takes advantage of the new per-task load tracking that is available in the kernel for packing the small tasks in as few as possible CPU/Cluster/Core. The main goal of packing small tasks is to reduce the power consumption by minimizing the number of power domain that are enabl

[RFC PATCH v2 4/6] sched: secure access to other CPU statistics

2012-12-12 Thread Vincent Guittot
If a CPU accesses the runnable_avg_sum and runnable_avg_period fields of its buddy CPU while the latter updates it, it can get the new version of a field and the old version of the other one. This can generate erroneous decisions. We don't want to use a lock mechanism for ensuring the coherency bec

[RFC PATCH v2 6/6] ARM: sched: clear SD_SHARE_POWERLINE

2012-12-12 Thread Vincent Guittot
The ARM platforms take advantage of packing small tasks on few cores. This is true even when the cores of a cluster can't be power gated independantly. So we clear SD_SHARE_POWERDOMAIN at MC and CPU level. Signed-off-by: Vincent Guittot --- arch/arm/kernel/topology.c |9 + 1 file cha

[RFC PATCH v2 5/6] sched: pack the idle load balance

2012-12-12 Thread Vincent Guittot
Look for an idle CPU close to the pack buddy CPU whenever possible. The goal is to prevent the wake up of a CPU which doesn't share the power domain of the pack buddy CPU. Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 18 ++ 1 file changed, 18 insertions(+) diff --g

Re: Android Team: Problems with Trying Jellybean on Panda

2012-12-12 Thread Anca Emanuel
Sorry for offtopic, http://www.linaro.org/linaro-blog/2012/12/07/linaro-wants-you-career-opportunities-in-the-uk I think you can talk with this people: https://c9.io/site/blog/2012/11/the-terminal/ I think they are also interested in some common subjects such as lava. On Mon, Dec 10, 2012 at 8:01