Re: Decoding the PTM traces

2012-11-15 Thread Arun KS
Hello Arve, On Thu, Nov 15, 2012 at 9:11 AM, Arun KS wrote: > Hello Arve, > > On Thu, Nov 15, 2012 at 4:55 AM, Arve Hjønnevåg wrote: >> On Wed, Nov 14, 2012 at 6:04 AM, Arun KS wrote: >>> Hello, >>> >>> I m trying to capture and decode PTM trace from Cortex A9 dual core. >>> >>> I m successful

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Tushar Behera
On 11/15/2012 05:31 PM, Ryan Harkin wrote: > On 15 November 2012 11:37, Jon Medhurst (Tixy) wrote: >> On Thu, 2012-11-15 at 09:20 +0530, Tushar Behera wrote: >>> On 11/14/2012 07:41 PM, Ryan Harkin wrote: On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: >> [...] > Now that the LT br

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Tushar Behera
On 11/15/2012 06:05 PM, Jon Medhurst (Tixy) wrote: > On Thu, 2012-11-15 at 11:37 +, Jon Medhurst (Tixy) wrote: >> On Thu, 2012-11-15 at 09:20 +0530, Tushar Behera wrote: >>> On 11/14/2012 07:41 PM, Ryan Harkin wrote: On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: >> [...] > Now

Re: [RFC v2 PATCH 2/2] sched: Use Per-Entity-Load-Tracking metric for load balancing

2012-11-15 Thread Vincent Guittot
Hi Preeti, On 15 November 2012 17:54, Preeti U Murthy wrote: > Currently the load balancer weighs a task based upon its priority,and this > weight consequently gets added up to the weight of the run queue that it is > on.It is this weight of the runqueue that sums up to a sched group's load > whi

[RFC v2 PATCH 0/2] sched: Integrating Per-entity-load-tracking with the core scheduler

2012-11-15 Thread Preeti U Murthy
This approach aims to retain the current behavior of load balancer with the change being only in the metric consumed during load balancing, without unnecessary introduction of new variables.This RFC has been posted to evaluate its design;to see if this is the right way to go about introducing per-e

[RFC v2 PATCH 2/2] sched: Use Per-Entity-Load-Tracking metric for load balancing

2012-11-15 Thread Preeti U Murthy
Currently the load balancer weighs a task based upon its priority,and this weight consequently gets added up to the weight of the run queue that it is on.It is this weight of the runqueue that sums up to a sched group's load which is used to decide the busiest or the idlest group and the runqueue t

[RFC v2 PATCH 1/2] sched: Revert temporary FAIR_GROUP_SCHED dependency for load-tracking

2012-11-15 Thread Preeti U Murthy
Now that we need the per-entity load tracking for load balancing, trivially revert the patch which introduced the FAIR_GROUP_SCHED dependence for load tracking. Signed-off-by: Preeti U Murthy --- include/linux/sched.h |7 +-- kernel/sched/core.c |7 +-- kernel/sched/fair.c |

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Ryan Harkin
On 15 November 2012 12:38, Andrey Konovalov wrote: > On 11/15/2012 04:01 PM, Ryan Harkin wrote: >> OK, can we do it then? We're freezing for release today, > > > Are we? > https://wiki.linaro.org/Cycles/1211/Release/Calendar?highlight=%28release%29|%2812.11%29 Doh! Looks like I'm a week early..

Re: [PATCH V6 2/2] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-15 Thread Zhang Rui
On Thu, 2012-11-15 at 18:56 +0800, hongbo.zhang wrote: > From: "hongbo.zhang" > > This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, > also adds the platform data to support the old fashion. > > Signed-off-by: hongbo.zhang > Reviewed-by: Viresh Kumar > Acked-by: Linu

Re: [PATCH V6 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Zhang Rui
On Thu, 2012-11-15 at 18:56 +0800, hongbo.zhang wrote: > From: "hongbo.zhang" > > This driver is based on the thermal management framework in thermal_sys.c. A > thermal zone device is created with the trip points to which cooling devices > can be bound, the current cooling device is cpufreq, e.g.

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Andrey Konovalov
On 11/15/2012 04:01 PM, Ryan Harkin wrote: On 15 November 2012 11:37, Jon Medhurst (Tixy) wrote: On Thu, 2012-11-15 at 09:20 +0530, Tushar Behera wrote: On 11/14/2012 07:41 PM, Ryan Harkin wrote: On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: [...] Now that the LT branches included

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Jon Medhurst (Tixy)
On Thu, 2012-11-15 at 11:37 +, Jon Medhurst (Tixy) wrote: > On Thu, 2012-11-15 at 09:20 +0530, Tushar Behera wrote: > > On 11/14/2012 07:41 PM, Ryan Harkin wrote: > > > On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: > [...] > > >> Now that the LT branches included in linux-linaro (ll) a

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Andrey Konovalov
On 11/15/2012 07:50 AM, Tushar Behera wrote: On 11/14/2012 07:41 PM, Ryan Harkin wrote: On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: Adding linaro-dev list and replying with some comments... On Tue, 2012-11-13 at 20:20 +0400, Andrey Konovalov wrote: The llct tree itself has no suitab

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Ryan Harkin
On 15 November 2012 11:37, Jon Medhurst (Tixy) wrote: > On Thu, 2012-11-15 at 09:20 +0530, Tushar Behera wrote: >> On 11/14/2012 07:41 PM, Ryan Harkin wrote: >> > On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: > [...] >> >> Now that the LT branches included in linux-linaro (ll) are based o

Re: Add board config fragments to llct? (Re: Would like to add couple conf files to the config-boards-tracking branch)

2012-11-15 Thread Jon Medhurst (Tixy)
On Thu, 2012-11-15 at 09:20 +0530, Tushar Behera wrote: > On 11/14/2012 07:41 PM, Ryan Harkin wrote: > > On 14 November 2012 11:38, Jon Medhurst (Tixy) wrote: [...] > >> Now that the LT branches included in linux-linaro (ll) are based on > >> llct, then they could modify the board configs in llct

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-11-15 Thread Rajanikanth HV
On Saturday 10 November 2012 10:23 PM, Francesco Lavra wrote: >>> I don't get the point of declaring the char array and copying the string >>> in it, when you could simply use just the pointer returned by >>> of_get_property(). >> >> I am considering a corner case where in 'battery-type' property

Re: [PATCH] mtd: map: Fix compilation warning

2012-11-15 Thread Artem Bityutskiy
On Mon, 2012-10-29 at 22:47 +0530, Viresh Kumar wrote: > This patch is an attempt to fix following compilation warning. > > In file included from drivers/mtd/chips/cfi_cmdset_0001.c:35:0: > drivers/mtd/chips/cfi_cmdset_0001.c: In function 'cfi_intelext_write_words': > include/linux/mtd/map.h:331:1

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-15 Thread Preeti Murthy
Hi all, The code looks correct and inviting to me as it has led to good cleanups. I dont think passing 0 as the argument to the function sched_clock_idle_wakeup_event() should lead to problems,as it does not do anything useful with the passed arguments. My only curiosity is what was the purpose o

[PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-15 Thread Julius Werner
Many cpuidle drivers measure their time spent in an idle state by reading the wallclock time before and after idling and calculating the difference. This leads to erroneous results when the wallclock time gets updated by another processor in the meantime, adding that clock adjustment to the idle st

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Hongbo Zhang
On 15 November 2012 18:17, Viresh Kumar wrote: > On 15 November 2012 14:53, Hongbo Zhang wrote: >> this is a driver for ST-Ericsson u8500 board(Snowball), with a ARM core >> inside. >> so you should compile like this: >> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- u8500_defconfig >> make AR

[PATCH V6 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread hongbo.zhang
From: "hongbo.zhang" This driver is based on the thermal management framework in thermal_sys.c. A thermal zone device is created with the trip points to which cooling devices can be bound, the current cooling device is cpufreq, e.g. CPU frequency is clipped down to cool the CPU, and other cooling

[PATCH V6 0/2] Upstream ST-Ericsson thermal driver

2012-11-15 Thread hongbo.zhang
From: "hongbo.zhang" V5->V6 Changes: In patch "Thermal: Add ST-Ericsson DB8500 thermal driver": - Add depends on ARCH_U8500 in Kconfig In patch "Thermal: Add ST-Ericsson DB8500 thermal properties and platform - Add Acked-by: Linus Walleij hongbo.zhang (2): Thermal: Add ST-Ericsson DB8500

[PATCH V6 2/2] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-15 Thread hongbo.zhang
From: "hongbo.zhang" This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, also adds the platform data to support the old fashion. Signed-off-by: hongbo.zhang Reviewed-by: Viresh Kumar Acked-by: Linus Walleij --- arch/arm/boot/dts/dbx5x0.dtsi | 14 + arch

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-15 Thread Daniel Lezcano
On 11/15/2012 02:56 AM, Julius Werner wrote: > Many cpuidle drivers measure their time spent in an idle state by > reading the wallclock time before and after idling and calculating the > difference. This leads to erroneous results when the wallclock time gets > updated by another processor in the

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Viresh Kumar
On 15 November 2012 14:53, Hongbo Zhang wrote: > this is a driver for ST-Ericsson u8500 board(Snowball), with a ARM core > inside. > so you should compile like this: > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- u8500_defconfig > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage Then we

[PATCH] gpu: ion: Use RB_CLEAR_NODE instead of rb_init_node

2012-11-15 Thread Tushar Behera
rb_init_node() has been removed from the kernel, use alternate macro. Signed-off-by: Tushar Behera --- This patch also needs to go into android-3.7 tree. drivers/gpu/ion/ion.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Hongbo Zhang
this is a driver for ST-Ericsson u8500 board(Snowball), with a ARM core inside. so you should compile like this: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- u8500_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage On 15 November 2012 17:13, Zhang Rui wrote: > On Thu, 2012-11-15

[PATCH 1/3] usb: gadget: android: Fix build error because of removal of usb_gadget_controller_number

2012-11-15 Thread Tushar Behera
Required as per commit ed9cbda ("usb: gadget: remove usb_gadget_controller_number()"). Signed-off-by: Tushar Behera --- drivers/usb/gadget/android.c | 11 +-- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c ind

[PATCH 2/3] usb: gadget: android: Fix build error because of change in composite driver framework

2012-11-15 Thread Tushar Behera
Signed-off-by: Tushar Behera --- drivers/usb/gadget/android.c |7 --- drivers/usb/gadget/composite.c |5 - 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c index c26d7be..2b11055 100644 --- a/drivers/usb/g

[PATCH 0/3] Fixing build error with android-3.7

2012-11-15 Thread Tushar Behera
Following patches are required on android-3.7 branch for the androidized kernel for Origen to build. Needs testing on USB gadget functionalities. Tushar Behera (3): usb: gadget: android: Fix build error because of removal of usb_gadget_controller_number usb: gadget: android: Fix build err

[PATCH 3/3] netfilter: xt_quota2: Remove extra parameter from netlink_kernel_create

2012-11-15 Thread Tushar Behera
Required as per commit 9f00d9776bc5 ("netlink: hide struct module parameter in netlink_kernel_create"). Signed-off-by: Tushar Behera --- net/netfilter/xt_quota2.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/netfilter/xt_quota2.c b/net/netfilter/xt_quota2.c in

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Zhang Rui
On Thu, 2012-11-15 at 16:32 +0800, Hongbo Zhang wrote: > On 15 November 2012 16:13, Zhang Rui wrote: > > On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: > >> From: "hongbo.zhang" > >> > >> This driver is based on the thermal management framework in thermal_sys.c. > >> A > >> thermal zone

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Hongbo Zhang
On 15 November 2012 16:13, Zhang Rui wrote: > On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: >> From: "hongbo.zhang" >> >> This driver is based on the thermal management framework in thermal_sys.c. A >> thermal zone device is created with the trip points to which cooling devices >> can be

Re: [PATCH V5 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-15 Thread Zhang Rui
On Fri, 2012-11-09 at 19:29 +0800, hongbo.zhang wrote: > From: "hongbo.zhang" > > This driver is based on the thermal management framework in thermal_sys.c. A > thermal zone device is created with the trip points to which cooling devices > can be bound, the current cooling device is cpufreq, e.g.