[PATCH POWERTOP V4] devfreq: add devfreq devices stats support

2014-10-10 Thread Sanjay Singh Rawat
add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- v4 - remove resizing before freeing the vector v3 - remove unused variables, reduce array size to suitable value - replace the inactive code block in the report

[PATCH POWERTOP V3] devfreq: add devfreq devices stats support

2014-10-10 Thread Sanjay Singh Rawat
add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- v3 - remove unused variables, reduce array size to suitable value - replace the inactive code block in the report function with TODO comment v2 - Show devfreq

Re: [Powertop] [PATCH] devfreq: add devfreq devices stats support

2014-10-10 Thread Sanjay Singh Rawat
On Thursday 02 October 2014 01:52 AM, Magnus Fromreide wrote: On Tue, Sep 30, 2014 at 12:04:54PM +0530, Sanjay Singh Rawat wrote: add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- v2 - Show devfreq window on support

Re: [PATCH] devfreq: add devfreq devices stats support

2014-10-10 Thread Sanjay Singh Rawat
thanks for the review Sergey On Wednesday 01 October 2014 08:42 PM, Sergey Senozhatsky wrote: On (09/30/14 12:04), Sanjay Singh Rawat wrote: add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- v2 - Show devfreq window

[PATCH IDLESTAT V2] clear few memory leaks

2014-10-09 Thread Sanjay Singh Rawat
Signed-off-by: Sanjay Singh Rawat --- idlestat.c | 5 + 1 file changed, 5 insertions(+) diff --git a/idlestat.c b/idlestat.c index ab561c1..1266215 100644 --- a/idlestat.c +++ b/idlestat.c @@ -460,9 +460,14 @@ static void release_cstate_info(struct cpuidle_cstates *cstates, int nrcpus

Re: [PATCH IDLESTAT] clear few memory leaks

2014-10-09 Thread Sanjay Singh Rawat
On Wednesday 08 October 2014 08:44 AM, Tuukka Tikkanen wrote: Hi, On Wed, Sep 17, 2014 at 1:20 PM, Sanjay Singh Rawat wrote: Signed-off-by: Sanjay Singh Rawat --- below are the leaks which this patch clears 72 bytes in 3 blocks are definitely lost in loss record 2 of 9 at 0x4C2ABBD

[PATCH] devfreq: add devfreq devices stats support

2014-09-29 Thread Sanjay Singh Rawat
add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- v2 - Show devfreq window on support basis. Check for empty devfreq directory. - Free the open dirp while exiting. --- src/Makefile.am | 1 + src

Re: [Powertop] [PATCH] devfreq: add devfreq devices stats support

2014-09-29 Thread Sanjay Singh Rawat
On Tuesday 30 September 2014 04:16 AM, Alexandra Yates wrote: Hi Sanjay, It would be better that Device Frequency Stats appears only when /sys/class/devfewq is present on the system. That will simplify code execution at runtime and remove the blank window with "No devfreq devices available".

[PATCH IDLESTAT] clear few memory leaks

2014-09-17 Thread Sanjay Singh Rawat
Signed-off-by: Sanjay Singh Rawat --- below are the leaks which this patch clears 72 bytes in 3 blocks are definitely lost in loss record 2 of 9 at 0x4C2ABBD: malloc (vg_replace_malloc.c:296) by 0x4C2CA8B: realloc (vg_replace_malloc.c:692) by 0x403636: store_data (idlestat.c:836) 72 bytes in 2

Re: [PATCH PM-QA] Remove -1v option from ls command

2014-09-04 Thread Sanjay Singh Rawat
CPU= -cpus=$(ls -1v $CPU_PATH | grep "cpu[0-9].*") +cpus=$(ls $CPU_PATH | grep "cpu[0-9].*") pass_count=0 fail_count=0 skip_count=0 Acked-by: Sanjay Singh Rawat -- sanjay ___ linaro-dev mailing list linaro-dev@lists.linaro.org

[PATCH] devfreq: add devfreq devices stats support

2014-08-25 Thread Sanjay Singh Rawat
add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- src/Makefile.am | 2 +- src/devices/devfreq.cpp | 351 ++ src/devices/devfreq.h | 75 ++ src

[PATCH] devfreq: add devfreq devices stats support

2014-08-24 Thread Sanjay Singh Rawat
add window to show frequency stats for devfreq devices Signed-off-by: Rajagopal Venkat Signed-off-by: Sanjay Singh Rawat --- src/Makefile.am | 2 +- src/devices/devfreq.cpp | 351 ++ src/devices/devfreq.h | 75 ++ src

Re: [PATCH PM-QA v2] Test.mk: Fix make error 1 issues

2014-08-12 Thread Sanjay Singh Rawat
On Tuesday 22 July 2014 05:17 AM, Lisa Nguyen wrote: Modify Test.mk to resolve the following build error: make: [uncheck] Error 1 (ignored). Signed-off-by: Lisa Nguyen --- Changes from v1 to v2: - Forgot to add @ to silence the shell command --- Test.mk |4 ++-- 1 file changed, 2 insert

Re: [PATCH PM-QA] Simplify code to obtain number of cpus for a platform

2014-08-08 Thread Sanjay Singh Rawat
On Friday 08 August 2014 10:43 AM, Amit Kucheria wrote: On Fri, Aug 8, 2014 at 7:05 AM, Lisa Nguyen wrote: Create a global variable that will look for number of cpus for a platform and use it in multiple functions to make the code simplier to read. Agree with the patch. Signed-off-by: Lisa

Re: [PATCH PM-QA] Remove increment variables from check function

2014-08-08 Thread Sanjay Singh Rawat
On Friday 08 August 2014 07:04 AM, Lisa Nguyen wrote: Remove the pass and fail count variables from the check() function as all the pass/fail/skip counts are done inside the log_end() function. Signed-off-by: Lisa Nguyen --- Note: This was supposed to be part of the refactored pass/skip/fail co

Re: [PATCH PM-QA v4] Refactor pass/fail/skip code in PM-QA

2014-08-05 Thread Sanjay Singh Rawat
bracket in an if statement) that affected the pass/fail/skip count Acked-by: Sanjay Singh Rawat I see you have taken care my earlier review comments of count and skip, the results look fine. Will merge. thanks Change from v2 to v3: - Fix a silly increment error for skip count cause I didn't

Re: [PATCH PMQA] cpufreq: consider sampling rate to calculate scaling time

2014-08-05 Thread Sanjay Singh Rawat
On Tuesday 05 August 2014 02:48 PM, Amit Kucheria wrote: On Tue, Aug 5, 2014 at 1:39 PM, Sanjay Singh Rawat wrote: - add the governor sampling rate with the frequency transition latency to make sure tansition happens. - bug 77 Replace with complete URL: https://bugs.linaro.org/show_bug.cgi

[PATCH PMQA] cpufreq: consider sampling rate to calculate scaling time

2014-08-05 Thread Sanjay Singh Rawat
- add the governor sampling rate with the frequency transition latency to make sure tansition happens. - bug 77 Signed-off-by: Sanjay Singh Rawat --- include/functions.sh | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/include/functions.sh b/include

[PATCH PMQA] android: move pmqa to system/bin path

2014-07-30 Thread Sanjay Singh Rawat
- execute permission for utils is removed when they are copied to data/benchmark, moving pmqa to system/bin resolves this issue. - bug 156 Signed-off-by: Sanjay Singh Rawat --- Android.mk | 2 +- cpufreq/Android.mk | 2 +- cpuhotplug/Android.mk | 4 ++-- cpuidle/Android.mk

[PATCH PMQA] suspend: use generic function to check root user

2014-07-30 Thread Sanjay Singh Rawat
- command (id) to check root user returns different output format for ubuntu and android. Using generic function to avoid build errors. - bug 166 Signed-off-by: Sanjay Singh Rawat --- include/suspend_functions.sh | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a

Re: [RFC PATCH PM-QA] Refactor pass/fail/skip code in PM-QA

2014-07-27 Thread Sanjay Singh Rawat
On Friday 25 July 2014 04:32 AM, Lisa Nguyen wrote: Focus on returning the results of each test script rather than the results of each subtest. This will help to keep the number of pm-qa test results consistent across multiple boards regardless of number of frequencies, cores, etc. Examples bef

[PATCH PMQA] cpuidle: increase wait time for child to finish

2014-07-15 Thread Sanjay Singh Rawat
- fix for bug 152 on Panda, wait for more time for child to finish - don't wait for child pid for offlined cpus - bug 152 Signed-off-by: Sanjay Singh Rawat --- cpuidle/cpuidle_killer.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cpuidle/cpuidle_killer.c b/cp

[PATCH PMQA] thermal: skip if there are no cooling devices

2014-07-07 Thread Sanjay Singh Rawat
Signed-off-by: Sanjay Singh Rawat --- include/thermal_functions.sh | 4 1 file changed, 4 insertions(+) diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh index 1f1991f..0c836c5 100644 --- a/include/thermal_functions.sh +++ b/include/thermal_functions.sh @@ -163,6

Re: [PATCH v4] pm-qa/cpuhotplug: Enable cpuhotplug on cpu0

2014-07-03 Thread Sanjay Singh Rawat
On Friday 04 July 2014 09:52 AM, Amit Kucheria wrote: On Fri, Jul 4, 2014 at 4:06 AM, Lisa Nguyen wrote: By default, cpuhotplug does not run on cpu0. However, if we want to allow cpuhotplug to run on cpu0, then we must pass the parameter, hotplug_allow_cpu0=1, to make check. Please add a Repo

Re: [PATCH] pm-qa/cpuhotplug: Enable cpuhotplug on cpu0

2014-06-25 Thread Sanjay Singh Rawat
On Wednesday 25 June 2014 08:38 PM, Amit Kucheria wrote: On Wed, Jun 25, 2014 at 8:21 PM, Sanjay Singh Rawat wrote: Milosz, Yes i meant that. Hmm, i think i am missing the understanding here. So now all cpu are hotpluggable? Technically any cpu can be hotpluggable. But you need to have

Re: [PATCH] pm-qa/cpuhotplug: Enable cpuhotplug on cpu0

2014-06-25 Thread Sanjay Singh Rawat
On Wednesday 25 June 2014 08:13 PM, Milosz Wasilewski wrote: On 25 June 2014 15:39, Sanjay Singh Rawat wrote: hi Lisa, Can we have this in way like, mask for cpuhotplug. I believe out of cpu0-N one will be permanent. We can pass it like cpu_hotplug_mask=cpuX Sanjay, Do you mean that one CPU

Re: [PATCH] pm-qa/cpuhotplug: Enable cpuhotplug on cpu0

2014-06-25 Thread Sanjay Singh Rawat
hi Lisa, Can we have this in way like, mask for cpuhotplug. I believe out of cpu0-N one will be permanent. We can pass it like cpu_hotplug_mask=cpuX and skip hotplugging that specific cpu only. On Wednesday 25 June 2014 09:48 AM, Lisa Nguyen wrote: Pass hotplug_cpu_start=0 to make check like th

[PATCH PMQA] nohz: check cpus are in nohz mode

2014-06-04 Thread Sanjay Singh Rawat
check for the timer interrupt raised on cpu for duration of 3 seconds and report the mode Signed-off-by: Sanjay Singh Rawat --- Makefile |2 ++ nohz/Makefile| 25 + nohz/nohz_01.sh | 64 ++ nohz/nohz_01

[PATCH] enumerate cpu based on different string on ARM

2014-06-03 Thread Sanjay Singh Rawat
bogomips is removed by timer-backed delay loop (commit 9fc2105a) in ARM kernel. Using other suitable string to decide to enumerate each cpu. Signed-off-by: Sanjay Singh Rawat --- src/cpu/cpu.cpp | 12 1 file changed, 12 insertions(+) diff --git a/src/cpu/cpu.cpp b/src/cpu

Re: [PATCH POWERDEBUG] gpio: expose free gpios to user

2014-06-02 Thread Sanjay Singh Rawat
was thinking whether that is needed. But yes, i agree with you (that will be more proper). Thanks for bringing it. -- Thanks, - Meraj On Mon, Jun 2, 2014 at 2:46 PM, Sanjay Singh Rawat mailto:sanjay.ra...@linaro.org>> wrote: - GPIOs in the SoC will be free/used state, this patch mak

[PATCH POWERDEBUG] gpio: expose free gpios to user

2014-06-02 Thread Sanjay Singh Rawat
- GPIOs in the SoC will be free/used state, this patch make free gpios accessible to the user by exporting them. - bug 1229658 Signed-off-by: Sanjay Singh Rawat --- gpio.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/gpio.c b/gpio.c index

Re: [PATCH PMQA] cpuidle_killer: allocate per cpu process array dynamically

2014-05-12 Thread Sanjay Singh Rawat
3914063589 test duration: 120.057335 secs counter value 4015937716 test duration: 120.057430 secs deviation 0.000479 deviation 0.000478 counter value 411037603 test duration: 120.062716 secs deviation 0.000523 thanks Meraj, done -- Thanks, -Meraj On Fri, May 2, 2014 at 11:23 PM, Sanjay Singh

Re: [PATCH PMQA] cpuidle_killer: allocate per cpu process array dynamically

2014-05-02 Thread Sanjay Singh Rawat
On Wednesday 30 April 2014 02:04 PM, Mohammad Merajul Islam Molla wrote: Hello Sanjay, As far I know, if option argument is 0, the parent will wait for Looks like waiting is done if childs exit. I checked for the offlined CPU case, if there are no child processes, waitpid returns -1. Setting

Re: [PATCH PMQA] cpuidle_killer: allocate per cpu process array dynamically

2014-04-30 Thread Sanjay Singh Rawat
, Apr 30, 2014 at 11:08 AM, Sanjay Singh Rawat mailto:sanjay.ra...@linaro.org>> wrote: currently percpu process array is set to 2, which results in segfault Signed-off-by: Sanjay Singh Rawat mailto:sanjay.ra...@linaro.org>> --- cpuidle/cpuidle_killer.c |7 ++-

[PATCH PMQA] cpuidle_killer: allocate per cpu process array dynamically

2014-04-29 Thread Sanjay Singh Rawat
currently percpu process array is set to 2, which results in segfault Signed-off-by: Sanjay Singh Rawat --- cpuidle/cpuidle_killer.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpuidle/cpuidle_killer.c b/cpuidle/cpuidle_killer.c index 5e7320f..09009ef 100644

Re: [PATCH PMQA] cpuhotplug: add subtest to stress hotplug feature

2014-04-23 Thread Sanjay Singh Rawat
On Thursday 24 April 2014 09:33 AM, Viresh Kumar wrote: On 23 April 2014 17:11, Sanjay Singh Rawat wrote: Signed-off-by: Sanjay Singh Rawat --- - This will help in catching issue like https://lkml.org/lkml/2014/3/25/122 - Tested on my x86 dev m/c Output: running hotplug stress on cpu : cpu1

[PATCH PMQA] cpuhotplug: add subtest to stress hotplug feature

2014-04-23 Thread Sanjay Singh Rawat
Signed-off-by: Sanjay Singh Rawat --- - This will help in catching issue like https://lkml.org/lkml/2014/3/25/122 - Tested on my x86 dev m/c Output: running hotplug stress on cpu : cpu1 pass: cpu hotplug count = 200 duration = 16.98 seconds running hotplug stress on cpu : cpu2 pass: cpu hotplug

Re: [PATCH] Produce a situation where L1 cache flush missing vs cpu power down hangs the system

2014-04-15 Thread Sanjay Singh Rawat
hello Daniel, Sorry for the late reply. few minor comments: - this is needed both for ubuntu & android? need makefile changes - can you move the cache validation unit to utils, as all other utilities are placed there. On Tuesday 08 April 2014 04:05 PM, Daniel Lezcano wrote: As pointed by Lo

[issue] display issue on Panda

2014-02-26 Thread Sanjay Singh Rawat
hello Group, I am trying to boot the Linaro-Ubuntu-13.04 release on Panda, But the _HDMI_ display is not coming. - I see the x-server is not started (X doesn't exit, is the window manager changed?). I installed it and started X. But it says error message as "no screen found" - In Xorg.logs

Re: Beaglebone Black Core temperature

2013-10-01 Thread Sanjay Singh Rawat
On Tuesday 01 October 2013 06:45 PM, Gaurang Shastri wrote: Hi, Do you mean to say something like lm-sensor kind of utility?? May be from this package you will get to know what you want :-) //Gaurang Shastri On Tue, Oct 1, 2013 at 5:32 PM, Dave Pigott mailto:dave.pig...@linaro.org>> wrote:

[PATCH pm-qa] pm-qa: export variables and copy switch file in outdir

2013-06-19 Thread Sanjay Singh Rawat
- Export switch variables from a script file - Update Android.mk to copy the switch file to out directory. Currently switch file is missing in android. Signed-off-by: Sanjay Singh Rawat --- Android.mk | 10 ++ Switches | 11 --- Switches.sh

Re: [PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-06-11 Thread Sanjay Singh Rawat
Pawel, Nicolas, Thanks for the clarification :), dropping. sanjay On Tuesday 11 June 2013 09:00 PM, Nicolas Pitre wrote: On Tue, 11 Jun 2013, Pawel Moll wrote: On Tue, 2013-06-11 at 06:33 +0100, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay

Re: [PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-06-10 Thread Sanjay Singh Rawat
commit: 8553cb67d2318db327071018fc81084cbabccc46 explains that -sanjay On Friday 07 June 2013 08:41 PM, Pawel Moll wrote: On Mon, 2013-05-27 at 15:32 +0100, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-vexpress

Re: [PATCH 8/8] ARM: PRIMA2: use generic cpu idle function for wfi

2013-06-04 Thread Sanjay Singh Rawat
Hello Barry, Sorry i missed you in the initial mail. Can you please review the patch. thanks, sanjay On Monday 27 May 2013 08:02 PM, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-prima2/hotplug.c |4 ++-- 1

Re: [PATCH 1/8] ARM: EXYNOS: use generic cpu idle function for wfi

2013-06-04 Thread Sanjay Singh Rawat
Hello Kukjin, can you please review the patch? On Monday 27 May 2013 08:02 PM, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the WFI mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-exynos/hotplug.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

Re: [PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-06-04 Thread Sanjay Singh Rawat
hello Russell, Nicolas, can you please review this patch? On Monday 27 May 2013 08:02 PM, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-vexpress/hotplug.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion

Re: [PATCH 2/8] ARM: RealView: use generic cpu idle function for wfi

2013-06-04 Thread Sanjay Singh Rawat
Hello Russell, can you please review this patch? On Monday 27 May 2013 08:02 PM, Sanjay Singh Rawat wrote: use cpu_do_idle for entering the wfi mode Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-realview/hotplug.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions

[PATCH 3/8] ARM: SPEAr: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-spear/hotplug.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/hotplug.c b/arch/arm/mach-spear/hotplug.c index d97749c..6dbd3dc 100644 --- a/arch/arm/mach

[PATCH 8/8] ARM: PRIMA2: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-prima2/hotplug.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-prima2/hotplug.c b/arch/arm/mach-prima2/hotplug.c index 0ab2f8b..68d2903 100644 --- a/arch/arm

[PATCH 2/8] ARM: RealView: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-realview/hotplug.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-realview/hotplug.c b/arch/arm/mach-realview/hotplug.c index ac22dd4..c42022b 100644

[PATCH 1/8] ARM: EXYNOS: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the WFI mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-exynos/hotplug.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c index af90cfa..7fcedd8 100644 --- a

[PATCH 7/8] ARM: msm: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-msm/hotplug.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-msm/hotplug.c b/arch/arm/mach-msm/hotplug.c index 326a872..1b03e5f 100644 --- a/arch/arm

[PATCH 6/8] ARM: ux500: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-ux500/hotplug.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-ux500/hotplug.c b/arch/arm/mach-ux500/hotplug.c index 2bc00b0..f4ded92 100644 --- a/arch/arm

[PATCH 4/8] ARM: vexpress: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-vexpress/hotplug.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-vexpress/hotplug.c b/arch/arm/mach-vexpress/hotplug.c index f0ce6b8..b3dffc2 100644 --- a/arch

[PATCH 0/8] ARM: use cpu_do_idle for entering wfi mode

2013-05-27 Thread Sanjay Singh Rawat
With this patch set we make use of cpu_do_idle to enter WFI mode, many platform are not clearing the data buffer before WFI or directly using the address instead of opcode. For the rest its good to have a common approach. Sanjay Singh Rawat (8): ARM: EXYNOS: use generic cpu idle function for

[PATCH 5/8] ARM: zynq: use generic cpu idle function for wfi

2013-05-27 Thread Sanjay Singh Rawat
use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-zynq/hotplug.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-zynq/hotplug.c b/arch/arm/mach-zynq/hotplug.c index c89672b..ef0d65d 100644 --- a/arch/arm/mach

[RFC PATCH 2/6] ARM: imx: use the core cpu hotplug functions

2013-05-19 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-imx/hotplug.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/arch/arm/mach-imx

[RFC PATCH 6/6] ARM: EXYNOS: use the core cpu hotplug functions

2013-05-19 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, Exynos-4 is having Cortex-A9, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-exynos/hotplug.c | 40 ++-- 1 file changed, 2 insertions

[RFC PATCH 0/6] ARM: cpuhotplug: move common functions to core

2013-05-19 Thread Sanjay Singh Rawat
, realview, spear and vexpress SoCs. Not having h/w, the patch is not tested. Sanjay Singh Rawat (6): ARM: cpuhotplug: move common hotplug related functions to core ARM: imx: use the core cpu hotplug functions ARM: RealView: use the core cpu hotplug functions ARM: spear: use the core cpu hotplug

[RFC PATCH 1/6] ARM: cpuhotplug: move common hotplug related functions to core

2013-05-19 Thread Sanjay Singh Rawat
Add function which prepare arm processors to enter the low power for hotplug functionality and handle the return path. Signed-off-by: Sanjay Singh Rawat --- arch/arm/include/asm/hotplug.h | 24 +++ arch/arm/kernel/Makefile |1 + arch/arm/kernel/cpuhotplug.c | 64

[RFC PATCH 5/6] ARM: vexpress: use the core cpu hotplug functions

2013-05-19 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-vexpress/hotplug.c | 38 +- 1 file changed, 1 insertion(+), 37 deletions(-) diff

[RFC PATCH 3/6] ARM: RealView: use the core cpu hotplug functions

2013-05-19 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-realview/hotplug.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git

[RFC PATCH 4/6] ARM: spear: use the core cpu hotplug functions

2013-05-19 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-spear/hotplug.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a

[RFC PATCH 2/6] ARM: imx: use the core cpu hotplug functions

2013-05-18 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-imx/hotplug.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/arch/arm/mach-imx

[RFC PATCH 4/6] ARM: spear: use the core cpu hotplug functions

2013-05-18 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-spear/hotplug.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a

[RFC PATCH 6/6] ARM: EXYNOS: use the core cpu hotplug functions

2013-05-18 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-exynos/hotplug.c | 40 ++-- 1 file changed, 2 insertions(+), 38 deletions(-) diff

[RFC PATCH 5/6] ARM: vexpress: use the core cpu hotplug functions

2013-05-18 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-vexpress/hotplug.c | 38 +- 1 file changed, 1 insertion(+), 37 deletions(-) diff

[RFC PATCH 3/6] ARM: RealView: use the core cpu hotplug functions

2013-05-18 Thread Sanjay Singh Rawat
Generic arm cpu hotplug related functions are moved to core hotplug code, remove the functions from the platform code. Signed-off-by: Sanjay Singh Rawat --- arch/arm/mach-realview/hotplug.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git

[RFC PATCH 1/6] ARM: cpuhotplug: add common hotplug related functions

2013-05-18 Thread Sanjay Singh Rawat
Add function which prepare arm processors to enter the low power for hotplug functionality and handle the return path. Signed-off-by: Sanjay Singh Rawat --- arch/arm/include/asm/hotplug.h | 19 arch/arm/kernel/Makefile |1 + arch/arm/kernel/cpuhotplug.c | 64

[RFC PATCH 0/6] ARM: cpuhotplug: move generic functions to core

2013-05-18 Thread Sanjay Singh Rawat
patch is not tested. Sanjay Singh Rawat (6): ARM: cpuhotplug: add common hotplug related functions ARM: imx: use the core cpu hotplug functions ARM: RealView: use the core cpu hotplug functions ARM: spear: use the core cpu hotplug functions ARM: vexpress: use the core cpu hotplug

Re: [PATCH powerdebug] clock: show only active clocks

2013-05-08 Thread Sanjay Singh Rawat
I thought it will be good to keep all clock info also, so added that part. Thanks, Sebastian On 7 May 2013 10:19, Sanjay Singh Rawat mailto:sanjay.ra...@linaro.org>> wrote: On Monday 06 May 2013 09:36 PM, Mike Turquette wrote: Quoting Sanjay

Re: [PATCH powerdebug] clock: show only active clocks

2013-05-07 Thread Sanjay Singh Rawat
On Monday 06 May 2013 09:36 PM, Mike Turquette wrote: Quoting Sanjay Singh Rawat (2013-05-04 13:27:58) - use the clk_summary file of CCF for showing clocks - add option to show active or all clocks Signed-off-by: Sanjay Singh Rawat clk_dump gives a JSON-formatted description of the clock

[PATCH powerdebug] clock: show only active clocks

2013-05-04 Thread Sanjay Singh Rawat
- use the clk_summary file of CCF for showing clocks - add option to show active or all clocks Signed-off-by: Sanjay Singh Rawat --- clocks.c | 62 + display.c |3 +++ display.h |1 + 3 files changed, 54 insertions(+), 12

[PATCH powerdebug] display proper error message

2013-04-15 Thread Sanjay Singh Rawat
- bug : https://bugs.launchpad.net/linaro-powerdebug/+bug/1014667 Signed-off-by: Sanjay Singh Rawat --- display.c|4 +++- powerdebug.c |2 +- regulator.c |4 +++- tree.c |4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/display.c b/display.c

[PATCH powerdebug] handle winch signal

2013-04-15 Thread Sanjay Singh Rawat
- handle winch to display window properly - bug: https://bugs.launchpad.net/linaro-powerdebug/+bug/827828 Signed-off-by: Sanjay Singh Rawat --- display.c|5 + powerdebug.c |4 2 files changed, 9 insertions(+) diff --git a/display.c b/display.c index 39a8e71..e9f4bf6 100644

[PATCH pmqa] pm-qa: show proper result status for tests

2013-04-09 Thread Sanjay Singh Rawat
: checking deviation for frequency 800.0 MHz... Err total = 48 pass = 36 fail = 12 Signed-off-by: Sanjay Singh Rawat --- cpufreq/cpufreq_01.sh|1 + cpufreq/cpufreq_02.sh|1 + cpufreq/cpufreq_03.sh|1 + cpufreq/cpufreq_04.sh

[PATCH pmqa] pm-qa: change the out dir in data partition

2013-04-08 Thread Sanjay Singh Rawat
pmqa should be on a RW permission partition. Need to change the path in lava pm-qa script too. Signed-off-by: Sanjay Singh Rawat --- cpufreq/Android.mk|2 +- cpuhotplug/Android.mk |4 ++-- cpuidle/Android.mk|4 ++-- include/Android.mk|2 +- sched_mc/Android.mk

[PATCH pmqa] pm-qa: add test for cpu topology attributes

2013-03-25 Thread Sanjay Singh Rawat
From: Daniel Lezcano test checks for topology attributes of cpus Signed-off-by: Sanjay Singh Rawat --- cputopology/Android.mk | 18 ++ cputopology/Makefile | 25 + cputopology/cputopology_01.sh | 38

[PATCH pmqa] pm-qa: remove sched_mc test

2013-03-22 Thread Sanjay Singh Rawat
Remove the test as sched_mc is not longer supported Signed-off-by: Sanjay Singh Rawat --- Makefile |2 -- README|1 - sched_mc/Android.mk | 18 sched_mc/Makefile | 25 sched_mc/sched_01.sh | 32

[PATCH powertop] thermal: add window for thermal related infromation

2013-03-12 Thread Sanjay Singh Rawat
add a window to display the stats of thermal, cooling zones and also information given by the hwmon sensor. Signed-off-by: Sanjay Singh Rawat --- src/Makefile.am |2 +- src/display.cpp |1 + src/main.cpp|3 +- src/measurement/thermal.cpp

[no subject]

2013-03-12 Thread Sanjay Singh Rawat
Basic patch to show thermal related info in the powertop tool. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

[PATCH] pmqa: cpuidle: add test to check cpuidle statistics

2013-02-26 Thread Sanjay Singh Rawat
From: Daniel Lezcano Add functionality to record the current runtime cpuidle statistics and show the same. Signed-off-by: Sanjay Singh Rawat --- README |6 + Test.mk |6 + cpuidle/cpuidle_04.sh | 41 cpuidle/cpuidle_04.txt |1 + cpuidle

[pmqa,1/1] cpuidle: add function to log cpuidle stats

2013-02-18 Thread Sanjay Singh Rawat
Add functionality to record the overall and current runtime cpuidle statistics. Signed-off-by: Sanjay Singh Rawat --- cpuidle/Readme.txt |9 + cpuidle/cpuidle_03.sh |9 + cpuidle/cpuidle_stats.c | 443 +++ 3 files changed, 461

[powerdebug,1/2] documentation: add regulator related information

2013-02-10 Thread Sanjay Singh Rawat
Add information about the regulator state and status field Signed-off-by: Sanjay Singh Rawat --- doc.txt | 20 1 file changed, 20 insertions(+) create mode 100644 doc.txt diff --git a/doc.txt b/doc.txt new file mode 100644 index 000..36ffc46 --- /dev/null +++ b

[powerdebug,1/1] clock: support common clock framework

2013-02-07 Thread Sanjay Singh Rawat
In common clock framework (merged in 3.8-rc1) the directory and attributes are changed, adapt to the new clock entries in debugfs. Signed-off-by: Sanjay Singh Rawat --- clocks.c | 69 ++ 1 file changed, 56 insertions(+), 13 deletions

Re: [powerdebug,1/1] clock: support common clock framework

2013-02-07 Thread Sanjay Singh Rawat
On Thursday 07 February 2013 04:01 PM, Amit Kucheria wrote: On Thu, Feb 7, 2013 at 3:59 PM, Sanjay Singh Rawat wrote: For common clock framework directory and attributes are changed, adapt to the new structure. What version of the kernel did these changes happen in? It would be useful to

[powerdebug,1/1] clock: support common clock framework

2013-02-07 Thread Sanjay Singh Rawat
For common clock framework directory and attributes are changed, adapt to the new structure. Signed-off-by: Sanjay Singh Rawat --- clocks.c | 69 ++ 1 file changed, 56 insertions(+), 13 deletions(-) diff --git a/clocks.c b/clocks.c

Re: [powerdebug,1/1] clock: support common clock framework

2013-01-25 Thread Sanjay Singh Rawat
On Thursday 24 January 2013 11:24 PM, Mike Turquette wrote: Quoting Sanjay Singh Rawat (2013-01-24 08:01:33) Signed-off-by: Sanjay Singh Rawat Sanjay, Have you seen the patch to dump the CCF tree from a single sysfs file, in JSON format? http://git.linaro.org/gitweb?p=people/mturquette

[powerdebug,1/1] clock: support common clock framework

2013-01-24 Thread Sanjay Singh Rawat
Signed-off-by: Sanjay Singh Rawat --- clocks.c | 69 ++ 1 file changed, 56 insertions(+), 13 deletions(-) diff --git a/clocks.c b/clocks.c index 2611a0d..95acf57 100644 --- a/clocks.c +++ b/clocks.c @@ -42,9 +42,19 @@ struct