Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-07 Thread Daniel Lezcano
On 09/07/2012 07:22 PM, John Stultz wrote: > On 09/07/2012 07:20 AM, Daniel Lezcano wrote: >> On 09/06/2012 11:18 PM, Rafael J. Wysocki wrote: >>> On Thursday, September 06, 2012, Daniel Lezcano wrote: On 09/06/2012 10:04 PM, Rafael J. Wysocki wrote: > On Thursday, September 06, 2012, Dani

Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-07 Thread John Stultz
On 09/07/2012 07:20 AM, Daniel Lezcano wrote: On 09/06/2012 11:18 PM, Rafael J. Wysocki wrote: On Thursday, September 06, 2012, Daniel Lezcano wrote: On 09/06/2012 10:04 PM, Rafael J. Wysocki wrote: On Thursday, September 06, 2012, Daniel Lezcano wrote: On 09/06/2012 09:54 AM, Daniel Lezcano

Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-07 Thread Daniel Lezcano
On 09/06/2012 11:18 PM, Rafael J. Wysocki wrote: > On Thursday, September 06, 2012, Daniel Lezcano wrote: >> On 09/06/2012 10:04 PM, Rafael J. Wysocki wrote: >>> On Thursday, September 06, 2012, Daniel Lezcano wrote: On 09/06/2012 09:54 AM, Daniel Lezcano wrote: > On 09/05/2012 03:41 PM, R

Re: Running big.LITTLE MP on fastmodels [was Re: [GIT PULL] bit-LITTLE-MP-v7 - IMPORTANT]

2012-09-07 Thread Lei Wen
Hi Tixy, On Fri, Sep 7, 2012 at 5:42 PM, Jon Medhurst (Tixy) wrote: > On Thu, 2012-09-06 at 22:34 +0800, Lei Wen wrote: > > I have several questions related how to run the mp over fastmodel. > > For the kernel config file, I see there are many for VE: > > android_vexpress_defconfig > > ubuntu_ve

Re: [PATCH 0/6] cpuidle : per cpu latencies

2012-09-07 Thread Daniel Lezcano
On 09/07/2012 01:04 PM, Amit Kucheria wrote: > On Fri, Sep 7, 2012 at 3:49 PM, Daniel Lezcano > wrote: >> Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab, >> cpuidle: Single/Global registration of idle states >> >> we have a single registration for the cpuidle states which makes >> s

Re: [PATCH 0/6] cpuidle : per cpu latencies

2012-09-07 Thread Amit Kucheria
On Fri, Sep 7, 2012 at 3:49 PM, Daniel Lezcano wrote: > Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab, > cpuidle: Single/Global registration of idle states > > we have a single registration for the cpuidle states which makes > sense. But now two new architectures are coming: tegra3

Re: [PATCH 2/6] acpi : move cpuidle_device field out of the acpi_processor_power structure

2012-09-07 Thread Amit Kucheria
On Fri, Sep 7, 2012 at 3:49 PM, Daniel Lezcano wrote: > Currently we have the cpuidle_device field in the acpi_processor_power > structure. > This adds a dependency in processor.h for cpuidle.h. > > In order to be consistent with the rest of the drivers and for the per cpu > states > coming righ

Re: [PATCH 3/6] acpi : remove pointless cpuidle device state_count init

2012-09-07 Thread Amit Kucheria
Patch 1 and 3 are independent cleanups. Perhaps you can separate them out from the per-cpu latency series in case you have to repost. On Fri, Sep 7, 2012 at 3:49 PM, Daniel Lezcano wrote: > The cpuidle core takes care of filling this field from drv->state_count. > > Signed-off-by: Daniel Lezcano

[PATCH 5/6] cpuidle : use per cpuidle device cpu states

2012-09-07 Thread Daniel Lezcano
We have the cpuidle states pointer stored in the cpuidle device structure. This patch use this pointer instead of the driver's one. Signed-off-by: Daniel Lezcano Acked-by: Peter De Schrijver Tested-by: Peter De Schrijver --- drivers/cpuidle/cpuidle.c | 17 + drivers/

[PATCH 0/6] cpuidle : per cpu latencies

2012-09-07 Thread Daniel Lezcano
Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab, cpuidle: Single/Global registration of idle states we have a single registration for the cpuidle states which makes sense. But now two new architectures are coming: tegra3 and big.LITTLE. These architectures have different cpus with d

[PATCH 2/6] acpi : move cpuidle_device field out of the acpi_processor_power structure

2012-09-07 Thread Daniel Lezcano
Currently we have the cpuidle_device field in the acpi_processor_power structure. This adds a dependency in processor.h for cpuidle.h. In order to be consistent with the rest of the drivers and for the per cpu states coming right after this patch, this one move out of the acpi_processor_power st

[PATCH 1/6] acpi : move the acpi_idle_driver variable declaration

2012-09-07 Thread Daniel Lezcano
This variable is only used in the in processor_driver.c. This patch reduces the scope of the variable by moving it to this file. Signed-off-by: Daniel Lezcano Acked-by: Peter De Schrijver Tested-by: Peter De Schrijver --- drivers/acpi/processor_driver.c |2 +- include/acpi/processor.h

[PATCH 6/6] cpuidle : add cpuidle_register_states function

2012-09-07 Thread Daniel Lezcano
The tegra3 and big.LITTLE architecture have different cpu latencies. This API allows to specify a different cpu latency for a specific cpu. With the previous patches, we use the per cpuidle device states pointer, this function overrides this pointer. Signed-off-by: Daniel Lezcano Acked-by: Deept

[PATCH 3/6] acpi : remove pointless cpuidle device state_count init

2012-09-07 Thread Daniel Lezcano
The cpuidle core takes care of filling this field from drv->state_count. Signed-off-by: Daniel Lezcano --- drivers/acpi/processor_idle.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 084b1d2..fc4757e

[PATCH 4/6] cpuidle : add a pointer for cpuidle_state in the cpuidle_device

2012-09-07 Thread Daniel Lezcano
This patch adds a pointer to the cpuidle_state array in the cpuidle_device structure. When the cpuidle_device is initialized, the pointer is assigned from the driver's cpuidle states array. Signed-off-by: Daniel Lezcano Acked-by: Santosh Shilimkar Acked-by: Peter De Schrijver Tested-by: Peter D

how to update kernel image on panda board?

2012-09-07 Thread Viresh Kumar
Hi Guys, I have flashed my SD card with linaro-media-create with precise-devel and latest h/w pack (12.08) Now i have two requirements: - Always use my copy of devel instead of the new devel everytime from the latest release As i do install a lot of stuff on it. Will apt-get update would be eno

Running big.LITTLE MP on fastmodels [was Re: [GIT PULL] bit-LITTLE-MP-v7 - IMPORTANT]

2012-09-07 Thread Jon Medhurst (Tixy)
On Thu, 2012-09-06 at 22:34 +0800, Lei Wen wrote: > I have several questions related how to run the mp over fastmodel. > For the kernel config file, I see there are many for VE: > android_vexpress_defconfig > ubuntu_vexpress_defconfig > vexpress_defconfig > vexpress_tc2_defconfig > Which one is sui

Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-07 Thread Rafael J. Wysocki
On Thursday, September 06, 2012, Daniel Lezcano wrote: > On 09/06/2012 09:54 AM, Daniel Lezcano wrote: > > On 09/05/2012 03:41 PM, Rafael J. Wysocki wrote: > >> On Saturday, September 01, 2012, Rafael J. Wysocki wrote: > >>> On Friday, August 31, 2012, Daniel Lezcano wrote: > On 07/24/2012 11:

boot fail with omap4-panda.dts release 12.08

2012-09-07 Thread Viresh Kumar
Hi, I am trying to boot kernel on panda board. I got the source from: http://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git;a=shortlog;h=refs/heads/linux-linaro Following is my branch HEAD: commit 7f39bb7ab9591c6254e5930a00d762e4b37f08b2 Merge: 1d10459 8b29cd5 Author: Andrey Konovalov

Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-07 Thread Rafael J. Wysocki
On Thursday, September 06, 2012, Daniel Lezcano wrote: > On 09/06/2012 10:04 PM, Rafael J. Wysocki wrote: > > On Thursday, September 06, 2012, Daniel Lezcano wrote: > >> On 09/06/2012 09:54 AM, Daniel Lezcano wrote: > >>> On 09/05/2012 03:41 PM, Rafael J. Wysocki wrote: > On Saturday, Septembe