Re: [RFC PATCH 02/10] sched: Task placement for heterogeneous systems based on task load-tracking

2012-10-04 Thread Amit Kucheria
On Thu, Oct 4, 2012 at 11:32 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Hi Morten, On 22 September 2012 00:02, morten.rasmus...@arm.com wrote: From: Morten Rasmussen morten.rasmus...@arm.com This patch introduces the basic SCHED_HMP infrastructure. Each class of cpus is represented by

Re: [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-07 Thread Amit Kucheria
On 8/3/07, Pete Zaitcev [EMAIL PROTECTED] wrote: I am wondering if Ubuntu has better user reporting, so if Matthew complains, it really means something. https://bugs.launchpad.net/bugs/85488 Most of the current quirks list was assembled by Oliver from this thread IIRC. /Amit -- Amit

Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Amit Kucheria
On Thu, Apr 4, 2013 at 11:55 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 3 April 2013 16:00, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote: On 31 March 2013 09:33, Viresh Kumar viresh.ku...@linaro.org wrote:

Re: [PATCH V4 3/4] block: queue work on unbound wq

2013-04-08 Thread Amit Kucheria
On Thu, Apr 4, 2013 at 3:24 AM, Tejun Heo t...@kernel.org wrote: Hello, Viresh. Sorry about the delay. Lost this one somehow. On Mon, Apr 01, 2013 at 12:01:05PM +0530, Viresh Kumar wrote: Just wanted to make this clear before writing it: You want me to do something like (With better

Re: [PATCH V4 3/4] block: queue work on unbound wq

2013-04-09 Thread Amit Kucheria
On Tue, Apr 9, 2013 at 1:00 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 31 March 2013 23:49, Tejun Heo t...@kernel.org wrote: So, let's please introduce a new flag to mark these workqueues, say, WQ_UNBOUND_FOR_POWER_SAVE or whatever (please come up with a better name) and provide a

Re: [PATCH V4 3/4] block: queue work on unbound wq

2013-04-09 Thread Amit Kucheria
On Tue, Apr 9, 2013 at 1:00 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 31 March 2013 23:49, Tejun Heo t...@kernel.org wrote: So, let's please introduce a new flag to mark these workqueues, say, WQ_UNBOUND_FOR_POWER_SAVE or whatever (please come up with a better name) and provide a

Re: [PATCH V4 3/4] block: queue work on unbound wq

2013-04-09 Thread Amit Kucheria
On Tue, Apr 9, 2013 at 3:25 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 9 April 2013 15:23, Amit Kucheria amit.kuche...@linaro.org wrote: On Tue, Apr 9, 2013 at 1:00 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Later one (Power oriented WQ) can be achieved if the workqueue

Re: [PATCH V4 1/4] workqueue: Add system wide system_freezable_unbound_wq

2013-03-31 Thread Amit Kucheria
On Sun, Mar 31, 2013 at 8:01 PM, Viresh Kumar viresh.ku...@linaro.org wrote: This patch adds system wide system_freezable_unbound_wq which will be used by code that currently uses system_freezable_wq and can be moved to unbound workqueues. _Why_ do i need this change? Signed-off-by: Viresh

Re: [PATCH] DMA: OF: Check properties value before running be32_to_cpup() on it

2013-03-21 Thread Amit Kucheria
On Thu, Mar 21, 2013 at 4:08 PM, Vinod Koul vinod.k...@intel.com wrote: On Thu, Mar 21, 2013 at 03:48:50PM +0530, Viresh Kumar wrote: On 21 March 2013 15:16, Vinod Koul vinod.k...@intel.com wrote: On Fri, Mar 15, 2013 at 02:18:20PM +0530, Viresh Kumar wrote: In of_dma_controller_register()

Re: [PATCH] cpufreq: stats: do cpufreq_cpu_put() corresponding to cpufreq_cpu_get

2013-03-22 Thread Amit Kucheria
(we unregister and re-register the cpufreq driver to account for virtual cores), will this be considered as a hotfix for 3.9? Signed-off-by: Viresh Kumar viresh.ku...@linaro.org Acked-by: Amit Kucheria amit.kuche...@linaro.org --- drivers/cpufreq/cpufreq_stats.c | 12 1 file

Re: [PATCH] cpufreq: stats: do cpufreq_cpu_put() corresponding to cpufreq_cpu_get

2013-03-22 Thread Amit Kucheria
On Fri, Mar 22, 2013 at 5:25 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 22 March 2013 17:29, Rafael J. Wysocki r...@sisk.pl wrote: Sure. Can you please remind me what hardware is that, though? Not yet upstreamed: big LITTLE :) Yes, the b.L cpufreq driver is being reviewed currently.

Re: [PATCH 0/4] CPUFreq: Implement per policy instances of governors

2013-02-06 Thread Amit Kucheria
On Wed, Feb 6, 2013 at 3:28 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 5 February 2013 21:51, Viresh Kumar viresh.ku...@linaro.org wrote: commit 15b5548c9ccfb8088270f7574710d9d67edfe33b Author: Viresh Kumar viresh.ku...@linaro.org Date: Tue Feb 5 21:29:05 2013 +0530 cpufreq:

Re: [PATCH 09/19] mfd/twl4030: don't warn about uninitialized return code

2013-01-25 Thread Amit Kucheria
appropriate. Without this patch, building omap2plus_defconfig results in: drivers/mfd/twl4030-power.c: In function 'load_twl4030_script': drivers/mfd/twl4030-power.c:414:5: error: 'err' may be used uninitialized in this function Reviewed-by: Amit Kucheria amit.kuche...@linaro.org Signed-off

Re: [PATCH 1/2] cpustat: use accessor functions for get/set/add

2013-02-21 Thread Amit Kucheria
On Fri, Feb 22, 2013 at 11:51 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On Fri, Feb 22, 2013 at 11:26 AM, Kevin Hilman khil...@linaro.org wrote: Add some accessor functions in order to facilitate the conversion to atomic reads/writes of cpustat values. Signed-off-by: Kevin Hilman

Re: [PATCH 0/18] sched: simplified fork, enable load average into LB and power awareness scheduling

2012-12-12 Thread Amit Kucheria
On Tue, Dec 11, 2012 at 10:10 PM, Arjan van de Ven ar...@linux.intel.com wrote: On 12/11/2012 8:13 AM, Borislav Petkov wrote: On Tue, Dec 11, 2012 at 08:03:01AM -0800, Arjan van de Ven wrote: On 12/11/2012 7:48 AM, Borislav Petkov wrote: On Tue, Dec 11, 2012 at 08:10:20PM +0800, Alex Shi

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Amit Kucheria
On Mon, Jan 7, 2013 at 8:34 PM, Tejun Heo t...@kernel.org wrote: Hello, Viresh. On Mon, Jan 07, 2013 at 03:28:33PM +0530, Viresh Kumar wrote: Firstly the root cause of this patchset. Myself and some others in Linaro are working on ARM future cores: big.LITTLE systems. Here we have few very

Re: [PATCH V2 07/11] cpufreq: Use cpufreq_policy_list for iterating over policies

2013-08-19 Thread Amit Kucheria
On Mon, Aug 19, 2013 at 4:57 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Testing anything on my thinkpad (with ubuntu) is a pain.. it takes more than an hour to compile/test a single image... I currently follow below steps for doing that, don't know if something much simpler/faster is

Re: [PATCH 0/5] CPUFreq: Last set of updates for 3.13

2013-09-11 Thread Amit Kucheria
On Wed, Sep 11, 2013 at 3:43 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Hi Rafael, I really tried to stop after you asked me to, but still got few more patches.. These are very minor changes and a fairly smaller patchset.. I have rebased this over your linux-next branch 7c218b1 Merge

Re: power-efficient scheduling design

2013-06-12 Thread Amit Kucheria
On Wed, Jun 12, 2013 at 7:18 AM, Arjan van de Ven ar...@linux.intel.com wrote: On 6/11/2013 5:27 PM, David Lang wrote: Nobody is saying that this sort of thing should be in the fastpath of the scheduler. But if the scheduler has a table that tells it the possible states, and the cost to

Re: power-efficient scheduling design

2013-06-05 Thread Amit Kucheria
On Fri, May 31, 2013 at 4:22 PM, Ingo Molnar mi...@kernel.org wrote: * Morten Rasmussen morten.rasmus...@arm.com wrote: Hi, A number of patch sets related to power-efficient scheduling have been posted over the last couple of months. Most of them do not have much data to back them up, so I

Re: [PATCH V5 1/5] workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues

2013-04-24 Thread Amit Kucheria
On Wed, Apr 24, 2013 at 5:12 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Workqueues can be performance or power oriented. For performance we may want to keep them running on a single cpu, so that it remains cache hot. For power we can give scheduler the liberty to choose target cpu for

Re: [PATCH V5 1/5] workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues

2013-04-25 Thread Amit Kucheria
On Thu, Apr 25, 2013 at 9:13 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 25 April 2013 09:00, Amit Kucheria amit.kuche...@linaro.org wrote: Yes. That was my intention - preventing a prompt on existing defconfigs and there by maintaining current behavior. Hmm... Following is the version

Re: [PATCH V3 Resend] cpufreq: create cpufreq_generic_get() routine

2014-01-09 Thread Amit Kucheria
On Thu, Jan 9, 2014 at 2:56 PM, Viresh Kumar viresh.ku...@linaro.org wrote: cc'ng Russell/LAKML/Fengguang.. On 9 January 2014 14:08, Olof Johansson o...@lixom.net wrote: This patch breaks a bunch of ARM boards. In particular, the following defconfigs no longer build: That's really bad,

Re: [PATCH 2/3] sched: idle: Add sched balance option

2014-04-25 Thread Amit Kucheria
On Thu, Apr 24, 2014 at 7:00 PM, Daniel Lezcano daniel.lezc...@linaro.org wrote: On 04/24/2014 03:13 PM, Amit Kucheria wrote: On Thu, Apr 24, 2014 at 5:54 PM, Daniel Lezcano daniel.lezc...@linaro.org mailto:daniel.lezc...@linaro.org wrote: This patch adds a sysctl schedule balance

Re: [PATCH v3 05/12] ARM: topology: use new cpu_power interface

2014-07-09 Thread Amit Kucheria
On Mon, Jun 30, 2014 at 6:05 PM, Vincent Guittot vincent.guit...@linaro.org wrote: Use the new arch_scale_cpu_power in order to reflect the original capacity of s/arch_scale_cpu_power/arch_scale_cpu_capacity and similar renames in the commit logs across the entire patchset to take into account

Re: [PATCH v3 06/12] sched: add per rq cpu_power_orig

2014-07-09 Thread Amit Kucheria
On Mon, Jun 30, 2014 at 6:05 PM, Vincent Guittot vincent.guit...@linaro.org wrote: This new field cpu_power_orig reflects the available capacity of a CPUs unlike the cpu_power which reflects the current capacity that can be altered by frequency and rt tasks. s/cpu_power/cpu_capacity

Re: [ANNOUNCE] (Resend) Tools to analyse PM and scheduling behaviour

2014-08-25 Thread Amit Kucheria
On Sat, 23 Aug 2014 at 07:44 +0530, Sundar sunder.s...@gmail.com wrote: Hi Amit, On Tue, Aug 19, 2014 at 11:11 AM, Amit Kucheria amit.kuche...@linaro.org wrote: We’re soliciting early feedback from community on the direction of idlestat Nice :) Idlestat Details

Re: [ANNOUNCE] Tools to analyse PM and scheduling behaviour

2014-08-13 Thread Amit Kucheria
Peter Zijlstra pet...@infradead.org writes: On Fri, Aug 08, 2014 at 07:24:01PM +0530, Amit Kucheria wrote: Workload Generator Details -- The Workload Generator is based on rt-app. Shared resources, waits, signals and locking order can be specified for each thread

[ANNOUNCE] (Resend) Tools to analyse PM and scheduling behaviour

2014-08-19 Thread Amit Kucheria
: cap245dusaho_vbobmy4kqaaa6_0a-i3y3u4utnk8ji3umvn...@mail.gmail.com Subject: [ANNOUNCE] Tools to analyse PM and scheduling behaviour From: Amit Kucheria amit.kuche...@linaro.org To: Peter Zijlstra pet...@infradead.org, Ingo Molnar mi...@kernel.org, Rafael J. Wysocki r...@rjwysocki.net, Linux Kernel

Re: ARM64: hibernation: How to use hibernation/suspend-to-disk on ARMv8?

2015-01-11 Thread Amit Kucheria
(Fixing Sebastian's email address) On Sat, Jan 10, 2015 at 8:44 PM, George Bush georgebush...@gmail.com wrote: Hi all I notice we have hibernation.c in arm/kernel, however, I don't find it in arm64. Does it mean arm64 do not support hibernation/suspend-to-disk function? Correct. arm64 is a

Re: [PATCH v3] ARM: dts: mt8173: support arm64 cpuidle-dt

2015-06-02 Thread Amit Kucheria
On Tue, Jun 2, 2015 at 12:47 PM, Howard Chen howard.c...@linaro.org wrote: what changed in the interim ? v1-v2 the cluster idle state disappeared, The cluster idle won't be available in the near future and possibly never will, while the C1 state is ready and stable, so I split the C1 part

Re: [PATCH 5/7] clocksource/drivers/pxa_timer: Move the Kconfig rule

2015-11-01 Thread Amit Kucheria
On Fri, Oct 30, 2015 at 4:22 AM, Daniel Lezcano wrote: > Instead of having the clocksource's Kconfig depending on the arch, let the > arch to select the timer it needs. Is this the prescribed way to do things nowadays? It leads to more options showing up in 'make

Re: [PATCH 5/7] clocksource/drivers/pxa_timer: Move the Kconfig rule

2015-11-02 Thread Amit Kucheria
On Mon, Nov 2, 2015 at 1:33 PM, Daniel Lezcano <daniel.lezc...@linaro.org> wrote: > > Hi Amit, > > On 11/02/2015 08:44 AM, Amit Kucheria wrote: >> >> On Fri, Oct 30, 2015 at 4:22 AM, Daniel Lezcano >> <daniel.lezc...@linaro.org> wrote: >>> >&g

[PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-06-20 Thread Amit Kucheria
The Hisilicon clock stub driver is needed to allow the thermal drivers to actually scale the frequency. Make it an automatic dependency. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/K

Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-06-26 Thread Amit Kucheria
On Mon, Jun 20, 2016 at 6:46 PM, Leo Yan <leo@linaro.org> wrote: > Hi Amit, > > On Mon, Jun 20, 2016 at 05:46:36PM +0530, Amit Kucheria wrote: >> The Hisilicon clock stub driver is needed to allow the thermal drivers to >> actually scale the frequency. Make

Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-07-25 Thread Amit Kucheria
On Thu, Jul 7, 2016 at 12:13 PM, Amit Kucheria <amit.kuche...@linaro.org> wrote: > On Sun, Jun 26, 2016 at 10:02 PM, Amit Kucheria > <amit.kuche...@linaro.org> wrote: >> On Mon, Jun 20, 2016 at 6:46 PM, Leo Yan <leo@linaro.org> wrote: >>> Hi Amit, >

Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-08-01 Thread Amit Kucheria
On Mon, Jul 25, 2016 at 6:49 PM, Wei Xu <xuw...@hisilicon.com> wrote: > > > On 25/07/2016 13:29, Amit Kucheria wrote: >> On Thu, Jul 7, 2016 at 12:13 PM, Amit Kucheria <amit.kuche...@linaro.org> >> wrote: >>> On Sun, Jun 26, 2016 at 10:02 PM, Amit Kuc

Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-07-07 Thread Amit Kucheria
On Sun, Jun 26, 2016 at 10:02 PM, Amit Kucheria <amit.kuche...@linaro.org> wrote: > On Mon, Jun 20, 2016 at 6:46 PM, Leo Yan <leo@linaro.org> wrote: >> Hi Amit, >> >> On Mon, Jun 20, 2016 at 05:46:36PM +0530, Amit Kucheria wrote: >>> The Hisi

Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-08 Thread Amit Kucheria
On Mon, Aug 8, 2016 at 12:12 PM, Leo Yan <leo@linaro.org> wrote: > Hi Amit, > > On Mon, Aug 08, 2016 at 11:23:31AM +0530, Amit Kucheria wrote: >> On Mon, Aug 8, 2016 at 9:07 AM, Leo Yan <leo@linaro.org> wrote: >> > In current kernel config

Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-08 Thread Amit Kucheria
On Mon, Aug 8, 2016 at 9:23 PM, Daniel Thompson <daniel.thomp...@linaro.org> wrote: > On 08/08/16 15:42, Amit Kucheria wrote: >> >> On Mon, Aug 8, 2016 at 12:12 PM, Leo Yan <leo@linaro.org> wrote: >>> >>> Hi Amit, >>> >>>

Re: [PATCH] clk: Hi6220: enable stub clock driver for ARCH_HISI

2016-08-07 Thread Amit Kucheria
On Mon, Aug 8, 2016 at 9:07 AM, Leo Yan wrote: > In current kernel config 'CONFIG_STUB_CLK_HI6220' is disabled by > default, as result stub clock driver has not been registered and > CPUFreq driver cannot work. I have a related patch that has been pending for a while:

Re: [PATCH] thermal: hisilicon: fix COMPILE_TEST dependencies

2016-08-26 Thread Amit Kucheria
for randconfig testing, as an "allmodconfig" kernel will > enable them anyway. > > Signed-off-by: Arnd Bergmann <a...@arndb.de> > Fixes: 5f63581ce68e ("thermal: hisilicon: Add dependency on the clock driver > to allow frequency scaling") Acked-by: Amit Kucheria <ami

Re: [PATCH 1/4] arm64: defconfig: enable new trigger modes for leds

2017-10-23 Thread Amit Kucheria
On Mon, Oct 23, 2017 at 8:54 PM, Timur Tabi <ti...@codeaurora.org> wrote: > On 10/22/2017 11:56 PM, Amit Kucheria wrote: >> >> >> "Most development boards and devices have one or more LEDs. It is >> useful during debugging if they can be wired to show diffe

Re: [PATCH 4/4] arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify kernel panic

2017-10-22 Thread Amit Kucheria
On Thu, Oct 19, 2017 at 5:30 PM, Guodong Xu <guodong...@linaro.org> wrote: > > > On Thu, Oct 19, 2017 at 4:57 AM, Amit Kucheria <amit.kuche...@linaro.org> > wrote: >> >> Blink the LED on a kernel panic. >> >> Signed-off-by: Amit Kucheria <amit.

Re: [PATCH 1/4] arm64: defconfig: enable new trigger modes for leds

2017-10-22 Thread Amit Kucheria
On Thu, Oct 19, 2017 at 8:54 PM, Timur Tabi <ti...@codeaurora.org> wrote: > On 10/18/17 3:57 PM, Amit Kucheria wrote: >> >> Enable panic and disk activity triggers to tie to LED activity > > > Could you provide some explanation as to why we want this enabled for A

[PATCH 3/4] arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic

2017-10-18 Thread Amit Kucheria
Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts

[PATCH 2/4] arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic

2017-10-18 Thread Amit Kucheria
Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 1d63e6b..e

[PATCH 4/4] arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify kernel panic

2017-10-18 Thread Amit Kucheria
Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hi

[PATCH 0/4] arm64 defconfig: enable additional led triggers

2017-10-18 Thread Amit Kucheria
. Amit Kucheria (4): arm64: defconfig: enable new trigger modes for leds arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify

[PATCH 1/4] arm64: defconfig: enable new trigger modes for leds

2017-10-18 Thread Amit Kucheria
Enable panic and disk activity triggers to tie to LED activity Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 34480e9..4ed357f

[PATCH v2 2/4] arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic

2017-11-05 Thread Amit Kucheria
Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> Acked-by: Manivannan Sadhasivam <manivannan.sadhasi...@linaro.org> --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/apq8

[PATCH v2 3/4] arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic

2017-11-05 Thread Amit Kucheria
Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> Acked-by: Guodong Xu <guodong...@linaro.org> Acked-by: Manivannan Sadhasivam <manivannan.sadhasi...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + 1 file changed, 1

[PATCH v2 1/4] arm64: defconfig: enable new trigger modes for leds

2017-11-05 Thread Amit Kucheria
debugging as well. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 34480e9..4ed357f 100644 --- a/arch/arm64/configs/defconfig +++ b/arch

[PATCH v2 4/4] arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify kernel panic

2017-11-05 Thread Amit Kucheria
Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria <amit.kuche...@linaro.org> Acked-by: Guodong Xu <guodong...@linaro.org> Tested-by: Manivannan Sadhasivam <manivannan.sadhasi...@linaro.org> --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 1 + 1 file ch

[PATCH v2 0/4] arm64: defconfig: enable additional led triggers

2017-11-05 Thread Amit Kucheria
. Amit Kucheria (4): arm64: defconfig: enable new trigger modes for leds arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify

Re: [PATCH v3 1/3] interconnect: Add generic on-chip interconnect API

2017-11-02 Thread Amit Kucheria
On Fri, Sep 8, 2017 at 10:48 PM, Georgi Djakov wrote: > This patch introduce a new API to get requirements and configure the > interconnect buses across the entire chipset to fit with the current demand. > > The API is using a consumer/provider-based model, where the

Re: [PATCH v3 3/3] interconnect: Add Qualcomm msm8916 interconnect provider driver

2017-11-02 Thread Amit Kucheria
On Fri, Sep 8, 2017 at 10:48 PM, Georgi Djakov wrote: > Add driver for the Qualcomm interconnect buses found in msm8916 based > platforms. This patch contains only a partial topology to make reviewing > easier. > > Signed-off-by: Georgi Djakov

Re: [PATCH v3 1/3] interconnect: Add generic on-chip interconnect API

2017-12-08 Thread Amit Kucheria
On Fri, Sep 8, 2017 at 10:48 PM, Georgi Djakov wrote: > This patch introduce a new API to get requirements and configure the > interconnect buses across the entire chipset to fit with the current demand. > > The API is using a consumer/provider-based model, where the

Re: [PATCH v11 0/6] Add support for Qualcomm A53 CPU clock

2017-12-05 Thread Amit Kucheria
follow soon), FWIW, Tested-by: Amit Kucheria <amit.kuche...@linaro.org> > Changes since v10 (https://lkml.org/lkml/2017/12/1/577) > * Addressed Bjorn's comments on APCS clock driver. > * Picked Acks from Rob and Bjorn. > > Changes since v9 (https://lkml.org/lkml/2017/9/21/51

Re: [PATCH v2 0/4] arm64: defconfig: enable additional led triggers

2017-12-06 Thread Amit Kucheria
(Adding Arnd) Now that the merge window rush has abated, can you please apply this trivial series? On Mon, Nov 6, 2017 at 12:38 PM, Amit Kucheria <amit.kuche...@linaro.org> wrote: > This patchset enables the kernel panic and disk-activity trigger for LEDs > and then enables the p

Re: [PATCH 0/3] arm64: defconfig: remove some Qualcomm USB options

2017-10-30 Thread Amit Kucheria
On Thu, Oct 26, 2017 at 3:23 AM, Alex Elder wrote: > This series deletes three config options related to USB on Qualcomm > SoCs from the arm64 "defconfig". The code enabled by the options is > no longer needed by any Qualcomm hardware. > >

Re: [PATCH 0/3] arm64: defconfig: remove some Qualcomm USB options

2017-10-30 Thread Amit Kucheria
On Mon, Oct 30, 2017 at 3:16 PM, Amit Kucheria <amit.kuche...@verdurent.com> wrote: > On Thu, Oct 26, 2017 at 3:23 AM, Alex Elder <el...@linaro.org> wrote: >> This series deletes three config options related to USB on Qualcomm >> SoCs from the arm64 "defconfig&qu

Re: [PATCH] thermal: qcom: tsens: Allow number of sensors to come from DT

2018-05-14 Thread Amit Kucheria
On Tue, May 8, 2018 at 2:53 AM, Bjorn Andersson wrote: > For platforms that has multiple copies of the TSENS hardware block it's > necessary to be able to specify the number of sensors per block in DeviceTree. I assume you want to replace the hardcoded num_sensors

Re: [PATCH] thermal: qcom: tsens: Allow number of sensors to come from DT

2018-05-15 Thread Amit Kucheria
sson <bjorn.anders...@linaro.org> Just one comment below, otherwise, Reviewed-by: Amit Kucheria <amit.kuche...@linaro.org> > --- > .../devicetree/bindings/thermal/qcom-tsens.txt | 1 + > drivers/thermal/qcom/tsens.c | 12 +--- > 2 fi

Re: [PATCH] arm64: msm8916: fix gic_irq_domain_translate warnings

2018-05-10 Thread Amit Kucheria
e of IRQ_TYPE_NONE"). > > Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org> Reviewed-by: Amit Kucheria <amit.kuche...@linaro.org> Tested-by: Amit Kucheria <amit.kuche...@linaro.org> (boot report here: https://storage.kernelci.org/qcom-lt/integration

Re: [PATCH] ARM: dts: qcom-apq8064: fix gic_irq_domain_translate warnings

2018-05-10 Thread Amit Kucheria
nde <thierry.esca...@linaro.org> Reviewed-by: Amit Kucheria <amit.kuche...@linaro.org> Tested-by: Amit Kucheria <amit.kuche...@linaro.org> > --- > arch/arm/boot/dts/qcom-apq8064.dtsi | 52 > ++--- > 1 file changed, 26 insertion

Re: [PATCH] arm64: dts: msm8996: fix gic_irq_domain_translate warnings

2018-05-10 Thread Amit Kucheria
nde <thierry.esca...@linaro.org> Reviewed-by: Amit Kucheria <amit.kuche...@linaro.org> Tested-by: Amit Kucheria <amit.kuche...@linaro.org> (boot report here: https://storage.kernelci.org/qcom-lt/integration-linux-qcomlt/v4.17-rc4-247-gbe94bee41bf6/arm64/defconfig/lab-bjorn/boot-

Re: [v0 2/2] cpufreq: qcom-fw: Add support for QCOM cpufreq FW driver

2018-05-17 Thread Amit Kucheria
On Thu, May 17, 2018 at 12:30 PM, Taniya Das wrote: > The CPUfreq FW present in some QCOM chipsets offloads the steps necessary > for hanging the frequency of CPUs. The driver implements the cpufreq driver s/hanging/changing :-) > interface for this firmware. > >

Re: [v0 0/2] Add support for QCOM cpufreq FW driver

2018-05-17 Thread Amit Kucheria
On Thu, May 17, 2018 at 12:29 PM, Taniya Das wrote: > The CPUfreq FW present in some QCOM chipsets offloads the steps necessary > for hanging the frequency of CPUs. The driver implements the cpufreq driver s/hanging/changing :-) > interface for this firmware. > > Taniya Das

Re: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-16 Thread Amit Kucheria
On Wed, May 16, 2018 at 5:11 PM, Viresh Kumar <viresh.ku...@linaro.org> wrote: > On 16-05-18, 16:12, Amit Kucheria wrote: >> > + ret = PTR_ERR_OR_ZERO(opp_temp = >> > + >> > dev_pm_opp_set_supported_hw(cpu_dev,,1)); >> &

Re: [PATCH v7 14/14] dt: qcom: Add qcom-cpufreq-kryo driver configuration

2018-05-16 Thread Amit Kucheria
2018-05-15 12:13 GMT+03:00 Ilia Lin : No commit message? Perhaps something listing the different hw types? > Signed-off-by: Ilia Lin > --- > arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 2 +- > arch/arm64/boot/dts/qcom/msm8996.dtsi |

Re: [PATCH v7 03/14] clk: qcom: Add CPU clock driver for msm8996

2018-05-16 Thread Amit Kucheria
On Tue, May 15, 2018 at 12:13 PM, Ilia Lin wrote: > Each of the CPU clusters (Power and Perf) on msm8996 are > clocked via 2 PLLs, a primary and alternate. There are also > 2 Mux'es, a primary and secondary all connected together > as shown below > >

Re: [PATCH v7 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-16 Thread Amit Kucheria
On Tue, May 15, 2018 at 12:13 PM, Ilia Lin wrote: > In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, > the CPU ferequencies subset and voltage value of each OPP varies s/ferequencies/frequency > based on the silicon variant in use. Qualcomm

Re: [PATCH v7 10/14] dt-bindings: qcom_spmi: Add support for SAW documentation

2018-05-16 Thread Amit Kucheria
On Tue, May 15, 2018 at 12:13 PM, Ilia Lin wrote: > Add support for SAW controlled regulators. > The regulators defined as SAW controlled in the device tree > will be controlled through special CPU registers instead of direct > SPMI accesses. > This is required especially

Re: [PATCH v7 13/14] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-05-16 Thread Amit Kucheria
On Tue, May 15, 2018 at 12:13 PM, Ilia Lin wrote: > In Certain Qualcomm Technologies, Inc. SoCs like apq8096 and msm8996 > that have KRYO processors, the CPU ferequencies subset and voltage value s/ferequencies/frequency > of each OPP varies based on the silicon variant

Re: [PATCH v7 01/14] soc: qcom: Separate kryo l2 accessors from PMU driver

2018-05-16 Thread Amit Kucheria
On Tue, May 15, 2018 at 12:13 PM, Ilia Lin wrote: > The driver provides kernel level API for other drivers > to access the MSM8996 L2 cache registers. > Separating the L2 access code from the PMU driver and > making it public to allow other drivers use it. > The accesses

Re: [PATCH v7 00/14] CPU scaling support for msm8996

2018-05-16 Thread Amit Kucheria
On Tue, May 15, 2018 at 12:13 PM, Ilia Lin wrote: > [v7] > * Addressed comments from Viresh about resourses deallocation >and DT compatible Hi Ilia, Thanks for working on this series. Here a few comments regarding the series as a whole. - The series could use a

Re: [PATCH v12 0/2] Kryo CPU scaling driver

2018-05-24 Thread Amit Kucheria
etree/bindings/opp/kryo-cpufreq.txt > create mode 100644 drivers/cpufreq/qcom-cpufreq-kryo.c > > -- > 1.9.1 > For this series, Reviewed-by: Amit Kucheria <amit.kuche...@linaro.org> Tested-by: Amit Kucheria <amit.kuche...@linaro.org>

Re: [PATCH v12 0/8] Clock for CPU scaling support for msm8996

2018-05-24 Thread Amit Kucheria
perf/qcom_l2_pmu.c | 90 +--- > drivers/soc/qcom/Kconfig | 3 + > drivers/soc/qcom/Makefile | 1 + > drivers/soc/qcom/kryo-l2-accessors.c | 56 +++ > include/soc/qcom/kryo-l2-accessors.h | 12 + For the perf/l2-accessors part, Reviewed-by: Amit Kucheria <amit.kuche...@linaro.org> For the entire series, Tested-by: Amit Kucheria <amit.kuche...@linaro.org>

Re: [PATCH v4 1/7] interconnect: Add generic on-chip interconnect API

2018-05-25 Thread Amit Kucheria
On Fri, Mar 9, 2018 at 11:09 PM, Georgi Djakov wrote: > This patch introduce a new API to get requirements and configure the > interconnect buses across the entire chipset to fit with the current > demand. > > The API is using a consumer/provider-based model, where the

Re: [PATCH v4 5/7] interconnect: qcom: Add msm8916 interconnect provider driver

2018-05-25 Thread Amit Kucheria
On Fri, Mar 9, 2018 at 11:09 PM, Georgi Djakov wrote: > Add driver for the Qualcomm interconnect buses found in msm8916 based > platforms. > > Signed-off-by: Georgi Djakov > --- > drivers/interconnect/Kconfig| 5 + >

[PATCH v2 0/5] thermal: tsens: Prepare for version 2 of TSENS IP

2018-06-12 Thread Amit Kucheria
register offsets. I can merge the tsens-8996.c and tsens-sdm845.c files into a tsens-v2.c if desired. Changes since v1: - Move get_temp() from tsens-8996 to tsens-common and rename - Change 8996 DT entry to allow init_common() to work across sdm845 and 8996 due to different offsets Amit

[PATCH v2 2/5] dt: qcom: 8996: thermal: Move to DT initialisation

2018-06-12 Thread Amit Kucheria
address space, the order is important (TM before SROT).This is OK since the code doesn't really use the SROT functionality yet. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 12 +++- drivers/thermal/qcom/tsens-8996.c | 1 - 2 files changed, 11 insertions

[PATCH v2 3/5] thermal: tsens: Move 8996 get_temp() to common code for reuse

2018-06-12 Thread Amit Kucheria
The TSENS block inside the 8996 is internally classified as version 2. Several other SoC families use this block and can share this code. Rename get_temp() to reflect that it can be used across the v2 family. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens-8996.c | 73

[PATCH v2 1/5] thermal: tsens: Get rid of unused fields in structure

2018-06-12 Thread Amit Kucheria
status_field and trdy are unused in any of the tsens drivers. Remove them. Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson Acked-by: Rajendra Nayak --- drivers/thermal/qcom/tsens.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal

Re: [PATCH 1/2] thermal: tsens: Add support for SDM845 platform

2018-06-12 Thread Amit Kucheria
On Mon, Jun 4, 2018 at 6:03 PM, Bjorn Andersson wrote: > On Sat 02 Jun 04:11 PDT 2018, Amit Kucheria wrote: >> diff --git a/drivers/thermal/qcom/tsens-sdm845.c >> b/drivers/thermal/qcom/tsens-sdm845.c > [..] >> +#define TRDY_OFFSET 0xe4 >> +#define TRDY_READY

[PATCH v2 4/5] thermal: tsens: Add support for SDM845

2018-06-12 Thread Amit Kucheria
SDM845 uses the TSENS v2 IP block Signed-off-by: Amit Kucheria --- Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 1 + drivers/thermal/qcom/Makefile| 2 +- drivers/thermal/qcom/tsens-sdm845.c | 15 +++ drivers/thermal

[PATCH v2 5/5] thermal: tsens: Check if we have valid data before reading

2018-06-12 Thread Amit Kucheria
Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens-common.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/thermal/qcom/tsens-common.c b/drivers/thermal/qcom/tsens-common.c index 961ace4..f510e61 100644 --- a/drivers/thermal/qcom/tsens-common.c +++ b/drivers

[PATCH v3 5/6] thermal: tsens: Check if we have valid data before reading

2018-06-14 Thread Amit Kucheria
Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson --- drivers/thermal/qcom/tsens-v2.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/thermal/qcom/tsens-v2.c b/drivers/thermal/qcom/tsens-v2.c index abc8f13..76fb668 100644 --- a/drivers/thermal/qcom/tsens-v2.c +++ b

[PATCH v3 4/6] thermal: tsens: Add support for SDM845

2018-06-14 Thread Amit Kucheria
SDM845 uses the TSENS v2 IP block Signed-off-by: Amit Kucheria --- Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 1 + arch/arm64/boot/dts/qcom/msm8996.dtsi| 2 +- drivers/thermal/qcom/tsens-v2.c | 9 - drivers/thermal/qcom

[PATCH v3 3/6] thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse

2018-06-14 Thread Amit Kucheria
The TSENS block inside the 8996 is internally classified as version 2 of the IP. Several other SoC families use this block and can share this code. Also, rename get_temp() to reflect that it can be used across the v2 family. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/Makefile

[PATCH v3 0/6] thermal: tsens: Refactoring for TSENSv2 IP

2018-06-14 Thread Amit Kucheria
entry to allow init_common() to work across sdm845 and 8996 due to different offsets Amit Kucheria (6): thermal: tsens: Get rid of unused fields in structure dt: qcom: 8996: thermal: Move to DT initialisation thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse thermal: tsens: Add

[PATCH v3 6/6] arm64: dts: sdm845: Add tsens nodes

2018-06-14 Thread Amit Kucheria
SDM845 has two tsens blocks, one with 13 sensors and the other with 8 sensors. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi

[PATCH v3 1/6] thermal: tsens: Get rid of unused fields in structure

2018-06-14 Thread Amit Kucheria
status_field and trdy are unused in any of the tsens drivers. Remove them. Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson Acked-by: Rajendra Nayak --- drivers/thermal/qcom/tsens.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal

Re: [PATCH v2 4/5] thermal: tsens: Add support for SDM845

2018-06-14 Thread Amit Kucheria
On Thu, Jun 14, 2018 at 9:48 AM, Vivek Gautam wrote: > Hi Amit, > > On Tue, Jun 12, 2018 at 4:24 PM, Amit Kucheria > wrote: >> SDM845 uses the TSENS v2 IP block >> >> Signed-off-by: Amit Kucheria >> --- >> + >> +static const

[PATCH v3 2/6] dt: qcom: 8996: thermal: Move to DT initialisation

2018-06-14 Thread Amit Kucheria
address space, the order is important (TM before SROT). This is OK since the code doesn't really use the SROT functionality yet. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts

Re: [PATCH v2 2/5] dt: qcom: 8996: thermal: Move to DT initialisation

2018-06-13 Thread Amit Kucheria
On Tue, Jun 12, 2018 at 10:35 PM, Bjorn Andersson wrote: > On Tue 12 Jun 03:54 PDT 2018, Amit Kucheria wrote: > >> We also split up the regmap address space into two, one for the TM >> registers, the other for the SROT registers. This was required to deal with >> d

Re: [PATCH v2 3/5] thermal: tsens: Move 8996 get_temp() to common code for reuse

2018-06-12 Thread Amit Kucheria
On Tue, Jun 12, 2018 at 10:43 PM Bjorn Andersson wrote: > > On Tue 12 Jun 03:54 PDT 2018, Amit Kucheria wrote: > > diff --git a/drivers/thermal/qcom/tsens-8996.c > > b/drivers/thermal/qcom/tsens-8996.c > [..] > > static const struct tsens_ops ops_8996 = { > >

Re: [PATCH v3 4/6] thermal: tsens: Add support for SDM845

2018-06-14 Thread Amit Kucheria
Hi Rob, Thanks for the review. On Thu, Jun 14, 2018 at 5:21 PM Rob Herring wrote: > > On Thu, Jun 14, 2018 at 4:43 AM, Amit Kucheria > wrote: > > SDM845 uses the TSENS v2 IP block > > > > Signed-off-by: Amit Kucheria > > --- > > Documentation/devicet

Re: [PATCH v4 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ FW bindings

2018-06-15 Thread Amit Kucheria
On Thu, Jun 14, 2018 at 9:24 PM, Taniya Das wrote: >>> Sorry Sudeep I missed replying to your earlier query. >>> The High level OS(HLOS) would require to access only these specific >>> registers from this IP block and just mapping the whole block(huge >>> region) is unnecessary from the OS point

  1   2   3   >