Re: [PATCH PM-QA v2 09/25] Fix the syntax to call C programs

2015-02-01 Thread Amit Kucheria
On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: > In PM-QA, there are programs written in C (e.g. cpuidle_killer, > uevent_reader) that run in the background while some scripts are > being. > > However, remove the extra slash and period when it's not necessary > and create variables to store th

Re: [PATCH PM-QA v2 13/25] Rewrite logic to check for sampling_rate

2015-02-01 Thread Amit Kucheria
On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: > Set the sampling_rate to zero if the sampling_rate attribute cannot > be found in either directories listed in the if condition. This will > also resolve minor bugs where the sampling_rate is missing. > > Signed-off-by: Lisa Nguyen > --- > inc

Re: [PATCH PM-QA v2 24/25] cpufreq: Rewrite logic to check if powersave is supported

2015-02-01 Thread Amit Kucheria
On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: > With this new change, the final result for the cpufreq_09 > script will always show up and be counted in LAVA. Why? > Signed-off-by: Lisa Nguyen > --- > cpufreq/cpufreq_09.sh |5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >

Re: [PATCH PM-QA v2 23/25] cpufreq: Check to see if scaling_available_governors is available

2015-02-01 Thread Amit Kucheria
On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: > Before searching for specific governors, check to see if the > scaling_available_governors attribute exists first. It is to add > more error handling. This doesn't seem to handle interactive governor that is usually the default on Android. > S

Re: [PATCH PM-QA v2 00/25] Removing bashisms and other cleanups

2015-02-01 Thread Amit Kucheria
Hi Lisa, On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: > Changes in v2: > - Reorganized previous patchset and recreated patches based on > logical change > - Rewritten logic to find certain attributes in sysfs > > [Let's try again...] Looks much better and easier to review. Still a few more

Re: [PATCH PM-QA v2 00/25] Removing bashisms and other cleanups

2015-02-01 Thread Amit Kucheria
On Mon, Feb 2, 2015 at 11:40 AM, Amit Kucheria wrote: > Hi Lisa, > > On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: >> Changes in v2: >> - Reorganized previous patchset and recreated patches based on >> logical change >> - Rewritten logic to find certain att

Re: [PATCH PM-QA 0/4] Minor sanity scripts adjustments

2015-02-02 Thread Amit Kucheria
On Tue, Feb 3, 2015 at 6:52 AM, Lisa Nguyen wrote: > My previous patchset[1] had too many types of patches (cleanups, > bug fixes, additions, etc.), so it will be broken up much further > to make it easy on the eyes :) > > This particular set focuses on renaming existing sanity scripts, > adding a

Re: [PATCH PM-QA v2 13/25] Rewrite logic to check for sampling_rate

2015-02-02 Thread Amit Kucheria
On Tue, Feb 3, 2015 at 3:14 AM, Lisa Nguyen wrote: > On 1 February 2015 at 22:00, Amit Kucheria wrote: >> On Mon, Feb 2, 2015 at 7:34 AM, Lisa Nguyen wrote: >>> Set the sampling_rate to zero if the sampling_rate attribute cannot >>> be found in either directories

Re: [PATCH v2 1/2] rt-app: Add a script to tune parameters in json file

2015-03-05 Thread Amit Kucheria
On Thu, Mar 5, 2015 at 3:49 PM, Vincent Guittot wrote: > On 19 November 2014 at 14:14, pi-cheng.chen wrote: >> This scripts strips all comments in the input JSON file, modifies the >> parameters according to commnad line arguments, and write the content to a >> new >> JSON file. >> >> Signed-off

Re: [PATCH PM-QA v2] cputopology: add scheduler domain flag test

2015-03-23 Thread Amit Kucheria
On Wed, Mar 11, 2015 at 1:08 AM, Larry Bassel wrote: > On 10 Mar 15 12:30, Lisa Nguyen wrote: >> On 3 March 2015 at 13:02, Larry Bassel wrote: >> > >> > Add test which checks and prints scheduler domain flags. >> > >> > Signed-off-by: Larry Bassel >> > --- >> > cputopology/cputopology_03.sh |

Re: [PATCH PM-QA v2] cputopology: add arm capacity calculation test

2015-03-23 Thread Amit Kucheria
Larry, Could you also please attach the output of the script on your test platform? Regards, Amit On Mon, Mar 9, 2015 at 3:55 AM, Larry Bassel wrote: > Add test which verifies capacity calculation on arm > architecture platforms. > > Since there isn't yet a similar calculation

Re: [PATCH PM-QA v2] cputopology: add scheduler domain flag test

2015-03-24 Thread Amit Kucheria
On Tue, Mar 24, 2015 at 1:58 PM, Vincent Guittot wrote: > On 24 March 2015 at 07:34, Amit Kucheria wrote: >> On Wed, Mar 11, 2015 at 1:08 AM, Larry Bassel >> wrote: >>>> root@linaro-developer:~/pm-qa/cputopology# ./cputopology_03.sh >>>> cputopology

Re: [PATCH PM-QA 2/2] cpufreq: Remove unnecessary checks

2015-03-24 Thread Amit Kucheria
On Thu, Feb 19, 2015 at 5:44 AM, Lisa Nguyen wrote: > The check function already determines if a subtest fails, passes, or > skips. No need to check for the return value of the command. > > Signed-off-by: Lisa Nguyen > --- > cpufreq/cpufreq_08.sh |3 --- > cpufreq/cpufreq_09.sh |6 --

Re: [PATCH PM-QA v3] cputopology: add arm capacity calculation test

2015-04-05 Thread Amit Kucheria
On Fri, Apr 3, 2015 at 1:09 AM, Larry Bassel wrote: > Add test which verifies capacity calculation on arm > architecture platforms. > > Since there isn't yet a similar calculation done > for arm64 platforms, this architecture isn't supported > by this test (at least as of now). Rephrase to "This

Re: [PATCH PM-QA] Update the README file

2015-04-15 Thread Amit Kucheria
On Wed, Apr 15, 2015 at 3:32 AM, Lisa Nguyen wrote: > Update the README file with bugs, questions, and contribution > sections and fix the format for readability. > > Signed-off-by: Lisa Nguyen > --- > README | 46 +++--- > 1 file changed, 39 insertions(

Re: [PATCH PM-QA v2] Update the README file

2015-04-21 Thread Amit Kucheria
On Mon, Apr 20, 2015 at 10:03 PM, Lisa Nguyen wrote: > Update the README file with bugs, questions, and contribution > sections and fix the format for readability. > > Signed-off-by: Lisa Nguyen Feel free to add my ack and commit. > --- > Changes in v2: > * Removed references to LAVA > * Rewrit

Reference platform kernel on github

2016-03-02 Thread Amit Kucheria
some patch statistics) and soliciting feedback on the roadmap for this kernel tree - please get in touch if you have ideas. Look forward to more information about the release itself from Ricardo later. Regards, Amit [1] https://github.com/96boards/linux.git [2] https://github.com/96bo

Re: [Dev] Reference platform kernel on github

2016-03-02 Thread Amit Kucheria
Hi Zoltan, We've already enabled DRM on the 4.4 kernel with the framebuffer Xorg driver. What do you need on top of that to enable you do run Wayland/Weston? A link to a patchset would allow me to evaluate whether we can incorporate these into the next release. Regards, Amit On Wed, Mar 2,

Re: Let's talk about boot loaders

2016-05-05 Thread Amit Kucheria
On Thu, May 5, 2016 at 5:15 PM, Marcin Juszkiewicz wrote: > Solution for existing SoCs is usually adding 1MB of SPI flash during design > phase of device and store boot loader(s) there. But it is so expensive > someone would say when it is in 10-30 cents range... > > Even 96boards CE specificat

Re: Let's talk about boot loaders

2016-05-05 Thread Amit Kucheria
On Thu, May 5, 2016 at 9:29 PM, Mark Brown wrote: > On Thu, May 05, 2016 at 09:01:05PM +0530, Amit Kucheria wrote: >> On Thu, May 5, 2016 at 5:15 PM, Marcin Juszkiewicz > >> > Solution for existing SoCs is usually adding 1MB of SPI flash during design >> > phase of

[RFC PATCH 2/3] thermal: exynos4: Register the tmu sensor with the thermal interface layer

2011-12-21 Thread Amit Daniel Kachhap
functions are currently left although all of them are present in generic linux thermal layer. Also the platform data structure is modified to pass frequency cooling in percentages for each thermal level. Signed-off-by: Amit Daniel Kachhap --- drivers/hwmon/exynos4_tmu.c | 34

[RFC PATCH 3/3] ARM: exynos4: Add thermal sensor driver platform device support

2011-12-21 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and the platform device support. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/Kconfig | 12 + arch/arm/mach-exynos/Makefile |1 + arch/arm/mach-exynos/clock.c |4

[RFC PATCH 1/3] thermal: exynos: Add thermal interface support for linux thermal layer

2011-12-21 Thread Amit Daniel Kachhap
cooling action. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/Kconfig |8 ++ drivers/thermal/Makefile |1 + drivers/thermal/exynos_thermal.c | 255 ++ include/linux/exynos_thermal.h | 59 + 4 files changed, 323

[RFC PATCH 0/3] thermal: exynos: Add kernel thermal support for exynos platform

2011-12-21 Thread Amit Daniel Kachhap
ermal <---> Exynos thermal < Temperature Sensor | | \|/| Cpufreq cooling device <- Amit Daniel Kachhap (3): thermal: exynos: Add thermal interface support for linux thermal layer thermal: exynos4:

[linux-pm][RFC PATCH] thermal: Add support to report cooling statistics achieved by cooling devices

2012-01-18 Thread Amit Daniel Kachhap
cooling handlers. The basic assumption is that cooling devices will bring down the temperature in a symmetric manner and those statistics can be stored back and used for further tuning of the system. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/sysfs-api.txt | 10 drivers

[PATCH 4/4] thermal: Add support to report cooling statistics achieved by cooling devices

2012-02-22 Thread Amit Daniel Kachhap
produce 6 degree Celsius temperature drop. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/thermal_sys.c | 120 + include/linux/thermal.h | 13 + 2 files changed, 133 insertions(+), 0 deletions(-) diff --git a/drivers/thermal

[PATCH 3/4] thermal: Add generic cpuhotplug cooling implementation

2012-02-22 Thread Amit Daniel Kachhap
easily done as the registration API's return the cooling device pointer. The user of these api's are responsible for passing the cpumask. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/cpu-cooling-api.txt | 17 +++ drivers/thermal/cpu_cooling.c

[PATCH 1/4] thermal: Add a new trip type to use cooling device instance number

2012-02-22 Thread Amit Daniel Kachhap
function. Also since the trip temperature's are in ascending order so some logic is put in place to skip the un-necessary checks. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/sysfs-api.txt |4 +- drivers/thermal/thermal_sys.c |

[PATCH 2/4] thermal: Add generic cpufreq cooling implementation

2012-02-22 Thread Amit Daniel Kachhap
easily done as the registration API's return the cooling device pointer. The user of these api's are responsible for passing clipping frequency in percentages. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/cpu-cooling-api.txt | 40 drivers/therm

[PATCH 0/4] thermal: Adding generic cpu cooling devices

2012-02-22 Thread Amit Daniel Kachhap
ling achieved in a trip type. This will help in fine cooling the cooling devices attached. Amit Daniel Kachhap (4): thermal: Add a new trip type to use cooling device instance number thermal: Add generic cpufreq cooling implementation thermal: Add generic cpuhotplug cooling implementation th

[PATCH 3/4] thermal: exynos4: Register the tmu sensor with the thermal interface layer

2012-03-03 Thread Amit Daniel Kachhap
functions are removed as all of them are present in generic linux thermal layer. Also the platform data structure is modified to pass frequency cooling in percentages for each thermal level. Signed-off-by: Amit Daniel Kachhap --- Documentation/mfd/exynos4_tmu | 35

[PATCH 4/4] ARM: exynos4: Add thermal sensor driver platform device support

2012-03-03 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and the platform device support. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/Kconfig | 11 + arch/arm/mach-exynos/Makefile |1 + arch/arm/mach-exynos/clock.c |4

[PATCH 0/4] thermal: exynos: Add kernel thermal support for exynos platform

2012-03-03 Thread Amit Daniel Kachhap
hermal < Temperature Sensor | | \|/| Cpufreq cooling device <- Amit Daniel Kachhap (4): thermal: exynos: Add thermal interface support for linux thermal layer hwmon: exynos4: Move thermal sens

[PATCH 1/4] thermal: exynos: Add thermal interface support for linux thermal layer

2012-03-03 Thread Amit Daniel Kachhap
cooling action. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/Kconfig |8 + drivers/thermal/Makefile |1 + drivers/thermal/exynos_thermal.c | 272 ++ include/linux/exynos_thermal.h | 72 ++ 4 files changed, 353

[PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory

2012-03-03 Thread Amit Daniel Kachhap
This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in mfd folder and add necessary calls to get the temperature information. Signed-off-by: Amit Daniel Kachhap

[PATCH V2 0/6] thermal: exynos: Add kernel thermal support for exynos platform

2012-03-18 Thread Amit Daniel Kachhap
--- Temperature Sensor | | \|/| Cpufreq cooling device <--- Amit Daniel Kachhap (6): thermal: Add a new trip type to use cooling device instance number thermal: Add generic cpufreq cooling implementation thermal: Add generic cpuhotplug cooli

[PATCH V2 1/6] thermal: Add a new trip type to use cooling device instance number

2012-03-18 Thread Amit Daniel Kachhap
back function. Also since the trip temperature's are in ascending order so some logic is put in place to skip the un-necessary checks. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/sysfs-api.txt |4 +- drivers/thermal/thermal_sys.c |

[PATCH V2 3/6] thermal: Add generic cpuhotplug cooling implementation

2012-03-18 Thread Amit Daniel Kachhap
easily done as the registration APIs return the cooling device pointer. The user of these APIs are responsible for passing the cpumask. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/cpu-cooling-api.txt | 16 +++ drivers/thermal/Kconfig |2 +- drivers/thermal

[PATCH V2 5/6] thermal: exynos4: Register the tmu sensor with the kernel thermal layer

2012-03-18 Thread Amit Daniel Kachhap
This code added creates a link between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer monitors the temperature from the sensor and informs the generic thermal layer to take the necessary cooling action. Signed-off-by: Amit Daniel Kachhap

[PATCH V2 6/6] ARM: exynos4: Add thermal sensor driver platform device support

2012-03-18 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and the platform device support. Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos/Kconfig | 11 +++ arch/arm/mach-exynos/Makefile |1 + arch/arm/mach-exynos/clock.c

[PATCH V2 2/6] thermal: Add generic cpufreq cooling implementation

2012-03-18 Thread Amit Daniel Kachhap
default data such as freq_clip_max if needed. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/cpu-cooling-api.txt | 60 + drivers/thermal/Kconfig | 11 + drivers/thermal/Makefile |1 + drivers/thermal/cpu_cooling.c | 359

[PATCH V2 4/6] hwmon: exynos4: Move thermal sensor driver to driver/thermal directory

2012-03-18 Thread Amit Daniel Kachhap
This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in thermal folder and add necessary functions to use the in-kernel thermal interfaces. Signed-off-by: Amit

[PATCH] thermal: Fix for setting the thermal zone mode to enable/disable

2012-03-21 Thread Amit Daniel Kachhap
Basically without this patch changing the mode of thermal zone is not possible as wrong string size is passed to strncmp. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/thermal_sys.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal

Re: [PATCH] ACPI-Thermal: Make Thermal trip points writeable

2012-04-04 Thread Amit Daniel Kachhap
Hi Durgadoss, Instead of making all the trip-points of a thermal zone writeable we should only allow non-critical trip points to be writeable. Thanks, Amit Daniel > -Original Message- > From: Durgadoss R > Sent: Friday, January 27, 2012 9:58 PM > To: linux-a...@vger.kernel

[PATCH] ARM: exynos: Adapt to cpuidle core time keeping and irq enable

2012-04-25 Thread Amit Daniel Kachhap
This patch enables core cpuidle timekeeping and irq enabling and remove those redundant parts from the exynos cpuidle drivers CC: Daniel Lezcano CC: Robert Lee Signed-off-by: Amit Daniel --- arch/arm/mach-exynos/cpuidle.c | 53 --- 1 files changed, 6

[PATCH v3 4/6] thermal: exynos5: Add exynos5 thermal sensor driver support

2012-05-08 Thread Amit Daniel Kachhap
This patch inserts exynos5 TMU sensor changes in the thermal driver. Some exynos4 changes are made generic for exynos series. Signed-off-by: SangWook Ju Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/Kconfig |6 +- drivers/thermal/exynos_thermal.c

[PATCH v3 1/6] thermal: Add a new trip type to use cooling device instance number

2012-05-08 Thread Amit Daniel Kachhap
back function. Also since the trip temperature's are in ascending order so some logic is put in place to skip the un-necessary checks during thermal zone update and return error when failing the ascending order trip point check during thermal zone registration. Signed-off-by: Amit Daniel Ka

[PATCH v3 6/6] ARM: exynos: Add thermal sensor driver platform data support

2012-05-08 Thread Amit Daniel Kachhap
This patch adds necessary default platform data support needed for TMU driver. This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/exynos_thermal.c | 107 +- 1 files

[PATCH v3 5/6] thermal: exynos: Register the tmu sensor with the kernel thermal layer

2012-05-08 Thread Amit Daniel Kachhap
This code added creates a link between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer monitors the temperature from the sensor and informs the generic thermal layer to take the necessary cooling action. Signed-off-by: Amit Daniel Kachhap

[PATCH v3 0/6] thermal: exynos: Add kernel thermal support for exynos platform

2012-05-08 Thread Amit Daniel Kachhap
n code too. Can you please merge these patches for 3.5? Thanks, Amit Daniel Changes since V2: *Added Exynos5 TMU sensor support by enhancing the exynos4 tmu driver. Exynos5 TMU driver was internally developed by SangWook Ju . *Removed cpuhotplug cooling code in this patchset. *Rebased the patches ag

[PATCH v3 3/6] hwmon: exynos4: Move thermal sensor driver to driver/thermal directory

2012-05-08 Thread Amit Daniel Kachhap
This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in thermal folder and add necessary functions to use the in-kernel thermal interfaces. Signed-off-by: Amit

[PATCH v3 2/6] thermal: Add generic cpufreq cooling implementation

2012-05-08 Thread Amit Daniel Kachhap
default data such as freq_clip_max if needed. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/cpu-cooling-api.txt | 60 + drivers/thermal/Kconfig | 11 + drivers/thermal/Makefile |3 +- drivers/thermal/cpu_cooling.c | 359

[PATCH v4 5/5] ARM: exynos: Add thermal sensor driver platform data support

2012-05-12 Thread Amit Daniel Kachhap
This patch adds necessary default platform data support needed for TMU driver. This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms. Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/exynos_thermal.c | 111 +- 1 files

[PATCH v4 0/5] thermal: exynos: Add kernel thermal support for exynos platform

2012-05-12 Thread Amit Daniel Kachhap
/people/amitdanielk/linux.git omap4460_thermal) * Freescale i.MX (git://git.linaro.org/people/amitdanielk/linux.git imx6q_thermal) The is a small change in cpufreq cooling registration APIs, so a minor change is needed for OMAP and Freescale platforms. Thanks, Amit Daniel Changes since V3

[PATCH v4 1/5] thermal: Add generic cpufreq cooling implementation

2012-05-12 Thread Amit Daniel Kachhap
be easily done as the registration APIs return the cooling device pointer. The user of these APIs are responsible for passing clipping frequency . The drivers can also register to recieve notification about any cooling action called. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal

[PATCH v4 2/5] hwmon: exynos4: Move thermal sensor driver to driver/thermal directory

2012-05-12 Thread Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap Signed-off-by: Donggeun Kim --- Documentation/hwmon/exynos4_tmu | 81 Documentation/thermal/exynos_thermal | 52 +++ drivers/hwmon/Kconfig| 10 - drivers/hwmon/Makefile |1 - drivers

[PATCH v4 3/5] thermal: exynos5: Add exynos5 thermal sensor driver support

2012-05-12 Thread Amit Daniel Kachhap
This patch inserts exynos5 TMU sensor changes in the thermal driver. Some exynos4 changes are made generic for exynos series. Signed-off-by: SangWook Ju Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/Kconfig |6 +- drivers/thermal/exynos_thermal.c

[PATCH v4 4/5] thermal: exynos: Register the tmu sensor with the kernel thermal layer

2012-05-12 Thread Amit Daniel Kachhap
This code added creates a link between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer monitors the temperature from the sensor and informs the generic thermal layer to take the necessary cooling action. Signed-off-by: Amit Daniel Kachhap

Re: [linux-pm] [PATCH v4 0/5] thermal: exynos: Add kernel thermal support for exynos platform

2012-07-09 Thread amit daniel kachhap
Hi Len, These set of patches were accepted by you for 3.5 merge window. Can you again apply them on your for-next branch for 3.6 merge? I have some arch enablement and clean up patches based on them. It is really important for me to mainline everything in this merge window. Thanks, Amit Daniel

[PATCH powertop2.0] Modification to fix the removal of lock_depth field

2011-06-22 Thread Amit Daniel Kachhap
. These changes have been tested to work fine with both old and new kernels as well as on x86 and ARM platform. Signed-off-by: Amit Daniel Kachhap --- This patch is for powertop2.0 and fixes the issue of frequency reported as always 0 in kernel from 2.6.38 onwards. cpu/cpu.cpp |7

[PATCH 2/3] powertop: perf-event: Add defination of __NR_perf_event_open for arm platforms

2011-07-14 Thread Amit Daniel Kachhap
This patch adds defination for __NR_perf_event_open if not present for arm platforms. Signed-off-by: Amit Daniel Kachhap --- perf/perf_event.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/perf/perf_event.h b/perf/perf_event.h index 563ffc7..eac4a73 100644 --- a

[PATCH 3/3] powertop: ncurses: Enable ncurses for android and miscellaneous changes

2011-07-14 Thread Amit Daniel Kachhap
This patch enables ncurses for android. NCURSES_NOMACRO flag is enabled as there is some conflict with stl libraries. Signed-off-by: Amit Daniel Kachhap --- Android.mk | 23 +++ display.cpp|5 - display.h |3 ++- lib.cpp

[PATCH 0/3] powertop: Adding support for android.

2011-07-14 Thread Amit Daniel Kachhap
The following set of patches add changes in powertop needed for arm android platforms. These patches depends on the below mentioned patches. http://www.mail-archive.com/power@bughost.org/msg02078.html Amit Daniel Kachhap (3): powertop: Disable pci bus measurement for arm platforms perf-event

[PATCH 1/3] powertop: Disable pci bus measurement for arm platforms

2011-07-14 Thread Amit Daniel Kachhap
This patch disables pci related measurement which is not needed for ARM platforms and also library libpci is not needed. Signed-off-by: Amit Daniel Kachhap --- Android.mk |7 ++- devices/runtime_pm.cpp |3 ++- lib.cpp|7 --- main.cpp

[RFC PATCH 0/4] ARM: EXYNOS4: Use cpuidle common save/restore framework code

2011-08-19 Thread Amit Daniel Kachhap
infrastructure to enter and exit from the retention idle state. All these codes have been tested on Samsung ORIGEN board against the tree git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next. Amit Daniel Kachhap (4): ARM: kernel: Some fixes in save/restore common code

[RFC PATCH 2/4] ARM: EXYNOS4: Fix to work with origen boards.

2011-08-19 Thread Amit Daniel Kachhap
This adds a function to get the revision id. Signed-off-by: Jaecheol Lee Signed-off-by: Changhwan Youn --- arch/arm/mach-exynos4/cpu.c | 10 ++ arch/arm/plat-s5p/include/plat/exynos4.h |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[RFC PATCH 1/4] ARM: kernel: Small fixes in save/restore common code.

2011-08-19 Thread Amit Daniel Kachhap
These changes are necessary to make the retention cpuidle state work. This adds support for saving more L2 registers. Signed-off-by: Amit Daniel Kachhap --- arch/arm/common/gic.c|1 - arch/arm/kernel/sr_helpers.h |2 +- arch/arm/mm/cache-l2x0.c | 10 +- 3 files

[RFC PATCH 3/4] ARM: EXYNOS4: Add support AFTR mode cpuidle state on EXYNOS4210

2011-08-19 Thread Amit Daniel Kachhap
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in cpuidle driver. L2 cache keeps their data in this mode. Signed-off-by: Jaecheol Lee Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos4/Makefile |2 +- arch/arm/mach-exynos4/cpuidle.c | 131

[RFC PATCH 4/4] ARM: EXYNOS4: Modify cpuidle code to adapt to save/restore common code

2011-08-19 Thread Amit Daniel Kachhap
The L2 retention cpuidle state is modified to use the interfaces exposed by the lorenzo's cpuidle consolidation code. As can be seen lot of code is reduced in the machine directory. Signed-off-by: Amit Daniel Kachhap --- arch/arm/Kconfig |1 + arch/arm/mach-ex

[RFC PATCH 0/4] ARM: Exynos4: Thermal solution using Linux thermal infrstructure

2011-10-26 Thread Amit Daniel Kachhap
placing such files so currently I have placed the temperature sensor driver and a binding layer for cooling device, thermal zone and core thermal interfaces inside staging directory. Feel free to comment about the implementation, the directory structure and the shortcomings. Amit Daniel

[RFC PATCH 3/4] ARM: Exynos4: Enable thermal sensor driver for origen board

2011-10-26 Thread Amit Daniel Kachhap
Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos4/Kconfig |5 + arch/arm/mach-exynos4/mach-origen.c | 10 ++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index cf467b5..786fdb7

[RFC PATCH 4/4] ARM: Exynos4: Add thermal interface support for linux thermal layer

2011-10-26 Thread Amit Daniel Kachhap
handlers for the cooling devices. Signed-off-by: Amit Daniel Kachhap --- .../mach-exynos4/include/mach/thermal_interface.h | 26 ++ drivers/staging/thermal_exynos4/Kconfig| 12 + drivers/staging/thermal_exynos4/Makefile |5 + .../staging/thermal_exynos4

[RFC PATCH 2/4] ARM: Exynos4: Add thermal sensor driver platform device support

2011-10-26 Thread Amit Daniel Kachhap
This patch adds necessary source definations needed for TMU driver and the platform device support. Signed-off-by: SangWook Ju Signed-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos4/Makefile|3 +- arch/arm/mach-exynos4/dev-tmu.c | 71

[RFC PATCH 1/4] ARM: Exynos4: Add thermal sensor driver for samsung exynos4 platform.

2011-10-26 Thread Amit Daniel Kachhap
-off-by: Amit Daniel Kachhap --- arch/arm/mach-exynos4/include/mach/exynos4-tmu.h | 75 drivers/staging/Kconfig|2 + drivers/staging/Makefile |1 + drivers/staging/thermal_exynos4/sensor/Kconfig | 14 + drivers/staging

[PATCH] thermal: Add a new trip type to use cooling device instance number

2011-12-01 Thread Amit Daniel Kachhap
function. Also since the trip temperature's are in ascending order so some logic is put in place to skip the un-necessary checks. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/sysfs-api.txt |4 ++-- drivers/thermal/thermal_sys.c |

[RFC PATCH 1/2] thermal: Add a new trip type to use cooling device instance number

2011-12-13 Thread Amit Daniel Kachhap
function. Also since the trip temperature's are in ascending order so some logic is put in place to skip the un-necessary checks. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/sysfs-api.txt |4 ++-- drivers/thermal/thermal_sys.c |

[RFC PATCH 0/2] thermal: Add generic cpu cooling devices according to thermal framework

2011-12-13 Thread Amit Daniel Kachhap
platforms like ARM using the generic thermal interface along with the generic cpu cooling devices. The cooling device registration API's return cooling device pointers which can be easily binded with the thermal zone trip points. Amit Daniel Kachhap (2): thermal: Add a new trip type t

[RFC PATCH 2/2] thermal: Add generic cpu cooling implementation

2011-12-13 Thread Amit Daniel Kachhap
the registration API's return the cooling device pointer. Signed-off-by: Amit Daniel Kachhap --- Documentation/thermal/cpu-cooling-api.txt | 52 + drivers/thermal/Kconfig | 11 + drivers/thermal/Makefile |1 + drivers/thermal/cpu_cool

Re: [PATCH 5/5] ARM: exynos: enable/disable cpuidle when cpu1 is down/up

2013-01-10 Thread amit daniel kachhap
Hi Daniel, This hotplug noifiers looks fine. I suppose it should add extra state C1 in cpu0. If it is done like below than for normal cases(when all cpu's are online) there wont be any statistics for C0 state also which is required. Other patches look good. Thanks, Amit On Fri, Jan 4, 2013

Re: [PATCH 5/5] ARM: exynos: enable/disable cpuidle when cpu1 is down/up

2013-01-10 Thread amit daniel kachhap
On Thu, Jan 10, 2013 at 1:32 PM, Daniel Lezcano wrote: > On 01/10/2013 09:07 PM, amit daniel kachhap wrote: >> Hi Daniel, > > Hi Amit Daniel, > >> This hotplug noifiers looks fine. I suppose it should add extra state >> C1 in cpu0. If it is done like below than for

[PATCH V2] ARM: SAMSUNG: Add support for clock debugging through debug-fs interface

2010-11-26 Thread Amit Daniel Kachhap
This patch adds support for clock information exposed to debug-fs interface. Signed-off-by: Amit Daniel Kachhap --- Code modified for V2 version are, a)Inserted the debug-fs code inside macro CONFIG_PM_DEBUG as suggested by yong.s...@linaro.org. b)Removed macro CONFIG_PLAT_SAMSUNG and

Re: [PATCH V2] ARM: SAMSUNG: Add support for clock debugging through debug-fs interface

2010-12-01 Thread Amit Daniel Kachhap
Hi Mr Kim, Thanks for your comments. Please see the inline comments below. On 1 December 2010 13:08, Kukjin Kim wrote: > > Amit Daniel Kachhap wrote: > > > > This patch adds support for clock information exposed to debug-fs > interface. > > > > S

[PATCH] ARM: SAMSUNG: Removing dependency on CONFIG_PM_DEBUG for clock debugging

2011-02-10 Thread Amit Daniel Kachhap
Enabling the macro CONFIG_PM_DEBUG is causing compilation error as all PM components are included which is not in mainline for samsung V310 platform, therefore, this patch removes the dependency on macro CONFIG_PM_DEBUG for clock debugging through debugfs interface. Signed-off-by: Amit Daniel

[PATCH] ARM: Samsung: Basic CPUIDLE Support

2011-03-09 Thread Amit Daniel Kachhap
This patch supports cpuidle framework for samsung S5PV310. Currently, Only one idle state is possible to use, but more idle states can be added followed by this patch. Signed-off-by: Jaecheol Lee Signed-off-by: Amit Daniel Kachhap --- Rebasing the patch for linaro 2.6.38 kernel. This patch adds

[PATCH V1] ARM: Samsung: Basic CPUIDLE Support

2011-03-18 Thread Amit Daniel Kachhap
This patch supports cpuidle framework for EXYNOS4210. Currently, Only one idle state is possible to use, but more idle states can be added following by this patch. Signed-off-by: Jaecheol Lee Signed-off-by: Amit Daniel Kachhap --- FIX: Fixed the merging issue reported by Nicolas Pitre

<    1   2   3   4   5   6