Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-17 Thread Mike Turquette
Quoting Mike Turquette (2014-12-17 07:23:22) > Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) > > On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: > > > Kevin Hilman writes: > > > > > > > Sylwester Nawrocki writes: > > > > &g

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-17 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) > On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: > > Kevin Hilman writes: > > > > > Sylwester Nawrocki writes: > > > > > >> On 09/12/14 13:59, Krzysztof Kozlowski wrote: > > >>> On pią, 2014-12-05 at 15:15 +0100, Krzysztof Kozlowski

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-17 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: Kevin Hilman khil...@kernel.org writes: Sylwester Nawrocki s.nawro...@samsung.com writes: On 09/12/14 13:59, Krzysztof Kozlowski wrote: On pią, 2014-12-05 at 15:15 +0100,

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-17 Thread Mike Turquette
Quoting Mike Turquette (2014-12-17 07:23:22) Quoting Krzysztof Kozlowski (2014-12-16 00:20:15) On pon, 2014-12-15 at 14:26 -0800, Kevin Hilman wrote: Kevin Hilman khil...@kernel.org writes: Sylwester Nawrocki s.nawro...@samsung.com writes: On 09/12/14 13:59, Krzysztof

Re: [PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Mike Turquette
Quoting Russell King - ARM Linux (2014-12-12 15:05:43) > On Fri, Dec 12, 2014 at 03:04:16PM -0800, Stephen Boyd wrote: > > Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs > > creation, 2014-09-04) forgot to update one place where we hold > > the prepare_lock while creating debugfs

Re: [PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Mike Turquette
Quoting Russell King - ARM Linux (2014-12-12 15:05:43) On Fri, Dec 12, 2014 at 03:04:16PM -0800, Stephen Boyd wrote: Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs creation, 2014-09-04) forgot to update one place where we hold the prepare_lock while creating debugfs

Re: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2014-12-11 Thread Mike Turquette
Quoting Raymond Tan (2014-12-11 01:38:30) > In Quark X1000, there's a single PCI device that provides both > an I2C controller and a GPIO controller. This MFD driver will > split the 2 devices for their respective drivers. > > This patch is based on Josef Ahmad's initial work for Quark enabling.

Re: [PATCH -next] clk: mmp: fix sparse non static symbol warning

2014-12-11 Thread Mike Turquette
Quoting weiyj...@163.com (2014-12-08 17:07:30) > From: Wei Yongjun > > Fixes the following sparse warnings: > > drivers/clk/mmp/clk-frac.c:113:6: warning: > symbol 'clk_factor_init' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun Applied. Thanks, Mike > --- >

Re: [PATCH -next] clk: mmp: fix sparse non static symbol warning

2014-12-11 Thread Mike Turquette
Quoting weiyj...@163.com (2014-12-08 17:07:30) From: Wei Yongjun yongjun_...@trendmicro.com.cn Fixes the following sparse warnings: drivers/clk/mmp/clk-frac.c:113:6: warning: symbol 'clk_factor_init' was not declared. Should it be static? Signed-off-by: Wei Yongjun

Re: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2014-12-11 Thread Mike Turquette
Quoting Raymond Tan (2014-12-11 01:38:30) In Quark X1000, there's a single PCI device that provides both an I2C controller and a GPIO controller. This MFD driver will split the 2 devices for their respective drivers. This patch is based on Josef Ahmad's initial work for Quark enabling.

Re: [GIT PULL] Immutable branch between MFD, Regulator and Clk, due for v3.19

2014-11-28 Thread Mike Turquette
Quoting Lee Jones (2014-11-25 07:59:18) > Mark, Mike, > > Please merge this into your trees for v3.19. > > The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: > > Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) > > are available in the git repository at: > >

Re: [GIT PULL] Immutable branch between MFD, Regulator and Clk, due for v3.19

2014-11-28 Thread Mike Turquette
Quoting Lee Jones (2014-11-25 07:59:18) Mark, Mike, Please merge this into your trees for v3.19. The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) are available in the git repository at:

Re: [PATCH 2/2] MAINTAINERS: ARM Versatile Express platform

2014-11-25 Thread Mike Turquette
Quoting Pawel Moll (2014-11-25 10:17:35) > This patch adds a separate section for the ARM > Versatile Express platform maintainers, listing > all different bits and bobs used by it. > > Acked-by: Liviu Dudau > Acked-by: Sudeep Holla > Acked-by: Lorenzo Pieralisi > Signed-off-by: Pawel Moll

Re: [PATCH 2/2] MAINTAINERS: ARM Versatile Express platform

2014-11-25 Thread Mike Turquette
Quoting Pawel Moll (2014-11-25 10:17:35) This patch adds a separate section for the ARM Versatile Express platform maintainers, listing all different bits and bobs used by it. Acked-by: Liviu Dudau liviu.du...@arm.com Acked-by: Sudeep Holla sudeep.ho...@arm.com Acked-by: Lorenzo Pieralisi

Re: [PATCH v2] clk: Add PWM clock driver

2014-11-24 Thread Mike Turquette
Quoting Philipp Zabel (2014-11-03 01:31:18) > Some board designers, when running out of clock output pads, decide to > (mis)use PWM output pads to provide a clock to external components. > This driver supports this practice by providing an adapter between the > PWM and clock bindings in the device

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-24 Thread Mike Turquette
Quoting Arnd Bergmann (2014-11-24 02:50:28) > On Friday 21 November 2014 20:58:01 Grygorii Strashko wrote: > > Hi Kevin, > > On 11/21/2014 10:06 AM, Geert Uytterhoeven wrote: > > > On Fri, Nov 21, 2014 at 2:30 AM, Kevin Hilman wrote: > > >> Geert Uytterhoeven writes: > > >> > > >> So now I'm

Re: [PATCHv3 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-24 Thread Mike Turquette
s mechanism. This mechanism has > the unfortunate idea of not providing a way of passing private data, > which requires us to change the driver to make the assumption that > there is only once instance of the gatable clock control structure. > > Signed-off-by: Thomas Petazzoni > Cc: Mike T

Re: [RFC 1/2] clk: Allow overriding generic ops for clocks

2014-11-24 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-11-24 07:18:31) > For clocks depending on some other clock domain one may want to perform > specific ops before actual enable/disable of gate clock. Allow such case > by accepting supplied ops in new exported function: > clk_register_gate_ops(). If you are not

Re: [RFC 1/2] clk: Allow overriding generic ops for clocks

2014-11-24 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-11-24 07:18:31) For clocks depending on some other clock domain one may want to perform specific ops before actual enable/disable of gate clock. Allow such case by accepting supplied ops in new exported function: clk_register_gate_ops(). If you are not going

Re: [PATCHv3 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-24 Thread Mike Turquette
private data, which requires us to change the driver to make the assumption that there is only once instance of the gatable clock control structure. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Mike Turquette mturque...@linaro.org Cc: linux-kernel@vger.kernel.org

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-24 Thread Mike Turquette
Quoting Arnd Bergmann (2014-11-24 02:50:28) On Friday 21 November 2014 20:58:01 Grygorii Strashko wrote: Hi Kevin, On 11/21/2014 10:06 AM, Geert Uytterhoeven wrote: On Fri, Nov 21, 2014 at 2:30 AM, Kevin Hilman khil...@kernel.org wrote: Geert Uytterhoeven ge...@linux-m68k.org writes:

Re: [PATCH v2] clk: Add PWM clock driver

2014-11-24 Thread Mike Turquette
Quoting Philipp Zabel (2014-11-03 01:31:18) Some board designers, when running out of clock output pads, decide to (mis)use PWM output pads to provide a clock to external components. This driver supports this practice by providing an adapter between the PWM and clock bindings in the device

[GIT PULL] clk: fixes for 3.18

2014-11-23 Thread Mike Turquette
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

[GIT PULL] clk: fixes for 3.18

2014-11-23 Thread Mike Turquette
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH v9 2/8] dt-bindings: Document Broadcom Cygnus SoC and clocks

2014-11-19 Thread Mike Turquette
Quoting Scott Branden (2014-10-28 16:15:05) > From: Jonathan Richardson > > Reviewed-by: Arun Parameswaran > Tested-by: Jonathan Richardson > Reviewed-by: JD (Jiandong) Zheng > Reviewed-by: Ray Jui > Signed-off-by: Scott Branden Acked-by: Michael Turquette > --- >

Re: [PATCH] clk: hi3620: Move const initdata into correct code section

2014-11-19 Thread Mike Turquette
Quoting Bintian Wang (2014-11-10 04:58:31) > Use __initconst instead of __initdata for constant init data. > > Signed-off-by: Bintian Wang Applied. Thanks, Mike > --- > drivers/clk/hisilicon/clk-hi3620.c | 70 > +++--- > 1 file changed, 35 insertions(+), 35

Re: [PATCH] clk: hi3620: Move const initdata into correct code section

2014-11-19 Thread Mike Turquette
Quoting Bintian Wang (2014-11-10 04:58:31) Use __initconst instead of __initdata for constant init data. Signed-off-by: Bintian Wang bintian.w...@huawei.com Applied. Thanks, Mike --- drivers/clk/hisilicon/clk-hi3620.c | 70 +++--- 1 file changed, 35

Re: [PATCH v9 2/8] dt-bindings: Document Broadcom Cygnus SoC and clocks

2014-11-19 Thread Mike Turquette
Quoting Scott Branden (2014-10-28 16:15:05) From: Jonathan Richardson jonat...@broadcom.com Reviewed-by: Arun Parameswaran apara...@broadcom.com Tested-by: Jonathan Richardson jonat...@broadcom.com Reviewed-by: JD (Jiandong) Zheng jdzh...@broadcom.com Reviewed-by: Ray Jui r...@broadcom.com

Re: [PATCH 1/1] clk: delete a local variable's repeated assignment

2014-11-18 Thread Mike Turquette
Quoting Zhen Lei (2014-11-13 18:10:40) > It's the same to the next statement, "ret = clk->parent". I think compiler > will > optimize it, it's just not looking well. > > Signed-off-by: Zhen Lei Applied. Thanks, Mike > --- > drivers/clk/clk.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCHv2 3/5] clk: s2mps11: Add the support for S2MPS13 PMIC clock

2014-11-18 Thread Mike Turquette
Quoting Chanwoo Choi (2014-11-18 00:59:41) > This patch adds the support for S2MPS13 PMIC clock which is same with existing > S2MPS14 RTC IP. But, S2MPS13 uses all of clocks (32khz_{ap|bt|cp}). > > Cc: Mike Turquette > Signed-off-by: Chanwoo Choi > Reviewed-by: Krzysztof K

Re: [PATCH v5 12/14] clk: tegra: Add EMC clock driver

2014-11-18 Thread Mike Turquette
Quoting Tomeu Vizoso (2014-11-18 04:13:14) > From: Mikko Perttunen > > The driver is currently only tested on Tegra124 Jetson TK1, but should > work with other Tegra124 boards, provided that correct EMC tables are > provided through the device tree. Older chip models have differing > timing

Re: [PATCH v5 14/14] clk: tegra: Set the EMC clock as the parent of the MC clock

2014-11-18 Thread Mike Turquette
Quoting Tomeu Vizoso (2014-11-18 04:13:16) > On Tegra124, as we now have a proper driver for the EMC. > > Signed-off-by: Tomeu Vizoso Looks good to me. Regards, Mike > --- > drivers/clk/tegra/clk-tegra124.c | 13 + > 1 file changed, 1 insertion(+), 12 deletions(-) > > diff --git

Re: [PATCH v5 01/14] clk: tegra124: Remove old emc clock

2014-11-18 Thread Mike Turquette
Quoting Tomeu Vizoso (2014-11-18 04:13:03) > From: Mikko Perttunen > > This clock has never been able to do anything. > > Signed-off-by: Mikko Perttunen > Signed-off-by: Tomeu Vizoso Looks good to me. Regards, Mike > > --- > > v2: * Don't remove emc_mux as it's being used by the MC

Re: [PATCH v5 01/14] clk: tegra124: Remove old emc clock

2014-11-18 Thread Mike Turquette
Quoting Tomeu Vizoso (2014-11-18 04:13:03) From: Mikko Perttunen mperttu...@nvidia.com This clock has never been able to do anything. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Looks good to me. Regards, Mike --- v2:

Re: [PATCH v5 12/14] clk: tegra: Add EMC clock driver

2014-11-18 Thread Mike Turquette
Quoting Tomeu Vizoso (2014-11-18 04:13:14) From: Mikko Perttunen mperttu...@nvidia.com The driver is currently only tested on Tegra124 Jetson TK1, but should work with other Tegra124 boards, provided that correct EMC tables are provided through the device tree. Older chip models have

Re: [PATCH v5 14/14] clk: tegra: Set the EMC clock as the parent of the MC clock

2014-11-18 Thread Mike Turquette
Quoting Tomeu Vizoso (2014-11-18 04:13:16) On Tegra124, as we now have a proper driver for the EMC. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Looks good to me. Regards, Mike --- drivers/clk/tegra/clk-tegra124.c | 13 + 1 file changed, 1 insertion(+), 12

Re: [PATCHv2 3/5] clk: s2mps11: Add the support for S2MPS13 PMIC clock

2014-11-18 Thread Mike Turquette
Quoting Chanwoo Choi (2014-11-18 00:59:41) This patch adds the support for S2MPS13 PMIC clock which is same with existing S2MPS14 RTC IP. But, S2MPS13 uses all of clocks (32khz_{ap|bt|cp}). Cc: Mike Turquette mturque...@linaro.org Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Reviewed

Re: [PATCH 1/1] clk: delete a local variable's repeated assignment

2014-11-18 Thread Mike Turquette
Quoting Zhen Lei (2014-11-13 18:10:40) It's the same to the next statement, ret = clk-parent. I think compiler will optimize it, it's just not looking well. Signed-off-by: Zhen Lei thunder.leiz...@huawei.com Applied. Thanks, Mike --- drivers/clk/clk.c | 2 +- 1 file changed, 1

Re: [PATCHv2 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-17 Thread Mike Turquette
nstance of the gatable clock control structure. > > Signed-off-by: Thomas Petazzoni > Cc: Mike Turquette > Cc: linux-kernel@vger.kernel.org > Acked-by: Gregory CLEMENT > --- > drivers/clk/mvebu/common.c | 30 -- > 1 file changed, 28 insertions(+), 2

Re: [PATCH v2 1/2] clk: rockchip: add bindings for the mmc clock phases

2014-11-17 Thread Mike Turquette
Quoting Alexandru M Stan (2014-11-14 16:00:03) > This will be used in a later patch for clock phase tuning. > > Suggested-by: Heiko Stuebner > Signed-off-by: Alexandru M Stan > --- > Changes in v2: None > > include/dt-bindings/clock/rk3288-cru.h | 10 ++ > 1 file changed, 10

Re: [PATCH] clk-divider: Fix READ_ONLY when divider > 1

2014-11-17 Thread Mike Turquette
ew_rate of double what it should be, and a UART which spewed forth > garbage when the rate changes were propagated. Applied to clk-fixes towards -rc6. Thanks, Mike > > Signed-off-by: James Hogan > Cc: Mike Turquette > Cc: Heiko Stuebner > Cc: Thomas Abraham > Cc: Tomasz Fi

Re: [PATCH] clk-divider: Fix READ_ONLY when divider 1

2014-11-17 Thread Mike Turquette
the rate changes were propagated. Applied to clk-fixes towards -rc6. Thanks, Mike Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mike Turquette mturque...@linaro.org Cc: Heiko Stuebner he...@sntech.de Cc: Thomas Abraham thomas...@samsung.com Cc: Tomasz Figa t.f...@samsung.com Cc: Max

Re: [PATCH v2 1/2] clk: rockchip: add bindings for the mmc clock phases

2014-11-17 Thread Mike Turquette
Quoting Alexandru M Stan (2014-11-14 16:00:03) This will be used in a later patch for clock phase tuning. Suggested-by: Heiko Stuebner he...@sntech.de Signed-off-by: Alexandru M Stan ams...@chromium.org --- Changes in v2: None include/dt-bindings/clock/rk3288-cru.h | 10 ++ 1

Re: [PATCHv2 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-17 Thread Mike Turquette
thomas.petazz...@free-electrons.com Cc: Mike Turquette mturque...@linaro.org Cc: linux-kernel@vger.kernel.org Acked-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/clk/mvebu/common.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] clk: rockchip: ensure HCLK_VIO2_H2P and PCLK_VIO2_H2P stay enabled

2014-11-12 Thread Mike Turquette
Quoting Doug Anderson (2014-11-12 13:49:18) > Hi, > > On Wed, Nov 12, 2014 at 1:38 PM, Dmitry Torokhov wrote: > > Currently there is no driver owning these clocks and they have to stay > > up for the system to function properly, so let's mark them as > > CLK_IGNORE_UNUSED. > > > > Without this

Re: [PATCH v7 1/5] clk: rockchip: RK3288: add suspend and resume

2014-11-12 Thread Mike Turquette
Quoting Chris Zhong (2014-11-07 05:49:33) > save and restore some clks, which might be changed in suspend. > > Signed-off-by: Tony Xie > Signed-off-by: Chris Zhong > Reviewed-by: Doug Anderson > Tested-by: Doug Anderson Looks good to me. Regards, Mike > > --- > > Changes in v7: None >

Re: [PATCH V2 00/13] clk: mmp: clock device tree support

2014-11-12 Thread Mike Turquette
Quoting Haojian Zhuang (2014-11-04 00:15:55) > On Fri, Oct 31, 2014 at 10:13 AM, Chao Xie wrote: > > From: Chao Xie > > > > The patch set focuses at support device tree for clock. > > > > The first part of the patches > > clk: mmp: add prefix "mmp" for structures defined for clk-frac > >

Re: [PATCH V2 00/13] clk: mmp: clock device tree support

2014-11-12 Thread Mike Turquette
Quoting Haojian Zhuang (2014-11-04 00:15:55) On Fri, Oct 31, 2014 at 10:13 AM, Chao Xie chao@marvell.com wrote: From: Chao Xie chao@marvell.com The patch set focuses at support device tree for clock. The first part of the patches clk: mmp: add prefix mmp for structures

Re: [PATCH v7 1/5] clk: rockchip: RK3288: add suspend and resume

2014-11-12 Thread Mike Turquette
Quoting Chris Zhong (2014-11-07 05:49:33) save and restore some clks, which might be changed in suspend. Signed-off-by: Tony Xie x...@rock-chips.com Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org Tested-by: Doug Anderson diand...@chromium.org

Re: [PATCH] clk: rockchip: ensure HCLK_VIO2_H2P and PCLK_VIO2_H2P stay enabled

2014-11-12 Thread Mike Turquette
Quoting Doug Anderson (2014-11-12 13:49:18) Hi, On Wed, Nov 12, 2014 at 1:38 PM, Dmitry Torokhov d...@chromium.org wrote: Currently there is no driver owning these clocks and they have to stay up for the system to function properly, so let's mark them as CLK_IGNORE_UNUSED. Without

Re: [PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Mike Turquette
On Wed, Oct 22, 2014 at 1:06 PM, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/22/2014 02:07 AM, Mike Turquette wrote: >> arch_eval_cpu_freq and arch_scale_cpu_freq are added to allow the >> scheduler to evaluate if cpu frequency sho

Re: [PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-22 Thread Mike Turquette
On Tue, Oct 21, 2014 at 11:26 PM, Viresh Kumar wrote: > On 22 October 2014 11:37, Mike Turquette wrote: >> Cc: Viresh Kumar >> Cc: Rafael J. Wysocki >> Signed-off-by: Mike Turquette >> --- >> include/linux/cpufreq.h | 3 +++ >> 1 file changed, 3 inserti

[PATCH RFC 1/7] sched: Make energy awareness a sched feature

2014-10-22 Thread Mike Turquette
. This sched_feature knob will be replaced later with a more appropriate control knob when things have matured a bit. Signed-off-by: Morten Rasmussen Signed-off-by: Mike Turquette [mturque...@linaro.org: moved energy_aware above enqueue_task_fair] --- kernel/sched/fair.c | 5 + kernel/sched/features.h

[PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Mike Turquette
be removed entirely and a single policy implements that logic for all architectures. Not-signed-off-by: Mike Turquette --- kernel/sched/fair.c | 12 1 file changed, 12 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 0930ad8..1af6f6d 100644 --- a/kernel/sched

[PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-22 Thread Mike Turquette
Cc: Viresh Kumar Cc: Rafael J. Wysocki Signed-off-by: Mike Turquette --- include/linux/cpufreq.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 138336b..91d173c 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h

[PATCH RFC 2/7] sched: cfs: declare capacity_of in sched.h

2014-10-22 Thread Mike Turquette
capacity_of is useful for cpu frequency scaling policies. Share it via sched.h so that selectable cpu frequency scaling policies can make use of it. Signed-off-by: Mike Turquette --- kernel/sched/fair.c | 7 +-- kernel/sched/sched.h | 2 ++ 2 files changed, 7 insertions(+), 2 deletions

[PATCH RFC 3/7] sched: fair: add usage_util_of helper

2014-10-22 Thread Mike Turquette
Signed-off-by: Mike Turquette --- kernel/sched/fair.c | 6 ++ kernel/sched/sched.h | 1 + 2 files changed, 7 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 15f5638..0930ad8 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -2057,6 +2057,7 @@ static

[PATCH RFC 6/7] sched: cfs: cpu frequency scaling based on task placement

2014-10-22 Thread Mike Turquette
is probably a good idea. Not-signed-off-by: Mike Turquette --- kernel/sched/fair.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1af6f6d..3619f63 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched

[PATCH RFC 7/7] sched: energy_model: simple cpu frequency scaling policy

2014-10-22 Thread Mike Turquette
ted thresholds above do not take into account micro-architecture differences (SMT or big.LITTLE hardware), only frequency invariance. Not-signed-off-by: Mike Turquette --- drivers/cpufreq/Kconfig | 21 +++ include/linux/cpufreq.h | 3 + kernel/sched/Makefile | 1 + kernel/sch

[PATCH RFC 0/7] scheduler-driven cpu frequency scaling

2014-10-22 Thread Mike Turquette
/<1411403047-32010-1-git-send-email-morten.rasmus...@arm.com> [1] http://lkml.kernel.org/r/<1412684017-16595-1-git-send-email-vincent.guit...@linaro.org> Mike Turquette (6): sched: cfs: declare capacity_of in sched.h sched: fair: add usage_util_of helper cpufreq: add per-governor

Re: [PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Mike Turquette
On Wed, Oct 22, 2014 at 1:06 PM, Rik van Riel r...@redhat.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/22/2014 02:07 AM, Mike Turquette wrote: arch_eval_cpu_freq and arch_scale_cpu_freq are added to allow the scheduler to evaluate if cpu frequency should change

[PATCH RFC 0/7] scheduler-driven cpu frequency scaling

2014-10-22 Thread Mike Turquette
/1411403047-32010-1-git-send-email-morten.rasmus...@arm.com [1] http://lkml.kernel.org/r/1412684017-16595-1-git-send-email-vincent.guit...@linaro.org Mike Turquette (6): sched: cfs: declare capacity_of in sched.h sched: fair: add usage_util_of helper cpufreq: add per-governor private data sched

[PATCH RFC 7/7] sched: energy_model: simple cpu frequency scaling policy

2014-10-22 Thread Mike Turquette
into account micro-architecture differences (SMT or big.LITTLE hardware), only frequency invariance. Not-signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/cpufreq/Kconfig | 21 +++ include/linux/cpufreq.h | 3 + kernel/sched/Makefile | 1 + kernel/sched/energy_model.c

[PATCH RFC 2/7] sched: cfs: declare capacity_of in sched.h

2014-10-22 Thread Mike Turquette
capacity_of is useful for cpu frequency scaling policies. Share it via sched.h so that selectable cpu frequency scaling policies can make use of it. Signed-off-by: Mike Turquette mturque...@linaro.org --- kernel/sched/fair.c | 7 +-- kernel/sched/sched.h | 2 ++ 2 files changed, 7

[PATCH RFC 3/7] sched: fair: add usage_util_of helper

2014-10-22 Thread Mike Turquette
Signed-off-by: Mike Turquette mturque...@linaro.org --- kernel/sched/fair.c | 6 ++ kernel/sched/sched.h | 1 + 2 files changed, 7 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 15f5638..0930ad8 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c

[PATCH RFC 6/7] sched: cfs: cpu frequency scaling based on task placement

2014-10-22 Thread Mike Turquette
is probably a good idea. Not-signed-off-by: Mike Turquette mturque...@linaro.org --- kernel/sched/fair.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1af6f6d..3619f63 100644 --- a/kernel/sched/fair.c

[PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-22 Thread Mike Turquette
be removed entirely and a single policy implements that logic for all architectures. Not-signed-off-by: Mike Turquette mturque...@linaro.org --- kernel/sched/fair.c | 12 1 file changed, 12 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 0930ad8..1af6f6d 100644

[PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-22 Thread Mike Turquette
Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Mike Turquette mturque...@linaro.org --- include/linux/cpufreq.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 138336b..91d173c 100644

[PATCH RFC 1/7] sched: Make energy awareness a sched feature

2014-10-22 Thread Mike Turquette
SCHED_DEBUG. This sched_feature knob will be replaced later with a more appropriate control knob when things have matured a bit. Signed-off-by: Morten Rasmussen morten.rasmus...@arm.com Signed-off-by: Mike Turquette mturque...@linaro.org [mturque...@linaro.org: moved energy_aware above

Re: [PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-22 Thread Mike Turquette
On Tue, Oct 21, 2014 at 11:26 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 22 October 2014 11:37, Mike Turquette mturque...@linaro.org wrote: Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Mike Turquette mturque...@linaro.org

[GIT PULL] clk: changes for 3.18

2014-10-13 Thread Mike Turquette
: Invert the probing logic clk: sunxi: Introduce mbus compatible ARM: sunxi: dt: Switch to the new mbus compatible clk: sunxi: Move mod0 clock to a file of its own clk: sunxi: Move mbus to mod0 file clk: sunxi: mod0: Introduce MMC proper phase handling Mike Turquette

[GIT PULL] clk: changes for 3.18

2014-10-13 Thread Mike Turquette
: Invert the probing logic clk: sunxi: Introduce mbus compatible ARM: sunxi: dt: Switch to the new mbus compatible clk: sunxi: Move mod0 clock to a file of its own clk: sunxi: Move mbus to mod0 file clk: sunxi: mod0: Introduce MMC proper phase handling Mike Turquette

Re: [PATCH 0/2] allow cpufreq drivers to export flags

2014-10-08 Thread Mike Turquette
Quoting Viresh Kumar (2014-10-08 01:19:40) > On 8 October 2014 13:41, Thomas Petazzoni > wrote: > > On Wed, 8 Oct 2014 13:24:30 +0530, Viresh Kumar wrote: > >> On 8 October 2014 13:18, Mike Turquette wrote: > > >> > This series is partially in respons

[PATCH 1/2] cpufreq: add driver flag for sleepable transitions

2014-10-08 Thread Mike Turquette
lls to .target and .target_index. [0] http://lkml.kernel.org/r/<1381511957-29776-7-git-send-email-morten.rasmus...@arm.com> Signed-off-by: Mike Turquette --- include/linux/cpufreq.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h in

[PATCH 0/2] allow cpufreq drivers to export flags

2014-10-08 Thread Mike Turquette
driver .target callback might sleep or block for a long time. [0] http://lkml.kernel.org/r/ Mike Turquette (2): cpufreq: add driver flag for sleepable transitions cpufreq: new function to query driver for flags drivers/cpufreq/cpufreq.c | 9 + include/linux/cpufreq.h | 13

[PATCH 2/2] cpufreq: new function to query driver for flags

2014-10-08 Thread Mike Turquette
no driver is registered. Signed-off-by: Mike Turquette --- drivers/cpufreq/cpufreq.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 9b471b2..f3b9042 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c

[PATCH RFC 2/2] cpufreq: arm_big_little: provide cpu capacity

2014-10-08 Thread Mike Turquette
to make it easier for other CPUfreq drivers to take advantage of it. Signed-off-by: Mike Turquette --- This approach simply builds on top of Morten's series. I am not sure that the per-cpu method is the best way to go in the future. And if so I imagine that the CPUfreq core could provide everything

[PATCH RFC 1/2] sched: cfs: introduce capacity_ops

2014-10-08 Thread Mike Turquette
require no knowledge of hardware and do nothing. This patch only includes .get_capacity, but future ops for updating and setting the capacity in the works. Signed-off-by: Mike Turquette --- Note that struct capacity_ops should have other members in it in the future. I have an additional patch that I

[PATCH RFC 0/2] introduce capacity_ops to CFS

2014-10-08 Thread Mike Turquette
with CPUfreq-based method for machines using the arm_big_little CPUfreq driver. This can likely be abstracted out a bit more to be generally useful to more CPUfreq drivers but I wanted to gather feedback on the approach before going any further. Mike Turquette (2): sched: cfs: introduce capacity_ops

Re: [PATCH 2/7] cpufreq: Architecture specific callback for frequency changes

2014-10-08 Thread Mike Turquette
Quoting Morten Rasmussen (2014-09-22 09:24:02) > Architectures that don't have any other means for tracking cpu frequency > changes need a callback from cpufreq to implement a scaling factor to > enable scale-invariant per-entity load-tracking in the scheduler. > > To compute the scale invariance

Re: [PATCH 2/7] cpufreq: Architecture specific callback for frequency changes

2014-10-08 Thread Mike Turquette
Quoting Morten Rasmussen (2014-09-22 09:24:02) Architectures that don't have any other means for tracking cpu frequency changes need a callback from cpufreq to implement a scaling factor to enable scale-invariant per-entity load-tracking in the scheduler. To compute the scale invariance

[PATCH RFC 1/2] sched: cfs: introduce capacity_ops

2014-10-08 Thread Mike Turquette
require no knowledge of hardware and do nothing. This patch only includes .get_capacity, but future ops for updating and setting the capacity in the works. Signed-off-by: Mike Turquette mturque...@linaro.org --- Note that struct capacity_ops should have other members in it in the future. I have

[PATCH RFC 0/2] introduce capacity_ops to CFS

2014-10-08 Thread Mike Turquette
with CPUfreq-based method for machines using the arm_big_little CPUfreq driver. This can likely be abstracted out a bit more to be generally useful to more CPUfreq drivers but I wanted to gather feedback on the approach before going any further. Mike Turquette (2): sched: cfs: introduce capacity_ops

[PATCH RFC 2/2] cpufreq: arm_big_little: provide cpu capacity

2014-10-08 Thread Mike Turquette
to make it easier for other CPUfreq drivers to take advantage of it. Signed-off-by: Mike Turquette mturque...@linaro.org --- This approach simply builds on top of Morten's series. I am not sure that the per-cpu method is the best way to go in the future. And if so I imagine that the CPUfreq core

[PATCH 0/2] allow cpufreq drivers to export flags

2014-10-08 Thread Mike Turquette
driver .target callback might sleep or block for a long time. [0] http://lkml.kernel.org/r/fcb88cd21f31a467d2d49911c2505082837f72ea.1410323179.git.viresh.ku...@linaro.org Mike Turquette (2): cpufreq: add driver flag for sleepable transitions cpufreq: new function to query driver for flags

[PATCH 2/2] cpufreq: new function to query driver for flags

2014-10-08 Thread Mike Turquette
no driver is registered. Signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/cpufreq/cpufreq.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 9b471b2..f3b9042 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers

[PATCH 1/2] cpufreq: add driver flag for sleepable transitions

2014-10-08 Thread Mike Turquette
. [0] http://lkml.kernel.org/r/1381511957-29776-7-git-send-email-morten.rasmus...@arm.com Signed-off-by: Mike Turquette mturque...@linaro.org --- include/linux/cpufreq.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index

Re: [PATCH 0/2] allow cpufreq drivers to export flags

2014-10-08 Thread Mike Turquette
Quoting Viresh Kumar (2014-10-08 01:19:40) On 8 October 2014 13:41, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: On Wed, 8 Oct 2014 13:24:30 +0530, Viresh Kumar wrote: On 8 October 2014 13:18, Mike Turquette mturque...@linaro.org wrote: This series is partially

Re: [PATCH linux-next] clk-gpio-gate: include gpio/consumer to fix build

2014-09-30 Thread Mike Turquette
ration of function > ‘gpio_to_desc’ [-Werror=implicit-function-declaration] > > Signed-off-by: Vincent Stehlé > Cc: Jyri Sarha > Cc: Mike Turquette > --- > > Hi, > > This can be seen with e.g. linux next-20140930 and arm allde

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-09-30 Thread Mike Turquette
Quoting Tero Kristo (2014-09-30 01:48:49) > On 09/30/2014 10:07 AM, Mike Turquette wrote: > > Quoting Tero Kristo (2014-09-29 01:09:24) > >> On 09/27/2014 02:24 AM, Mike Turquette wrote: > >>> Quoting Tero Kristo (2014-09-26 00:18:55) > >>>&g

Re: [PATCH] clk: gpio-gate: Ensure gpiod_ APIs are prototyped

2014-09-30 Thread Mike Turquette
Quoting Mark Brown (2014-09-30 10:16:22) > The gpio-gate clock uses the gpiod_ APIs but does not directly include the > header for them causing build failures in some configurations including ARM > allnoconfig. Include the header directly. > > Signed-off-by: Mark Brown Thanks Mark. Applied.

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-09-30 Thread Mike Turquette
Quoting Tero Kristo (2014-09-29 01:09:24) > On 09/27/2014 02:24 AM, Mike Turquette wrote: > > Quoting Tero Kristo (2014-09-26 00:18:55) > >> On 09/26/2014 04:35 AM, Stephen Boyd wrote: > >>> On 09/23/14 06:38, Tero Kristo wrote: > >>>> On 09/22/2014 1

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-30 Thread Mike Turquette
Quoting Stephen Boyd (2014-09-29 18:40:23) > On 09/29/14 11:17, Tomeu Vizoso wrote: > > Also moves clock state to struct clk_core, but takes care to change as > > little > > API as possible. > > > > struct clk_hw still has a pointer to a struct clk, which is the > > implementation's per-user clk

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-30 Thread Mike Turquette
Quoting Stephen Boyd (2014-09-29 18:40:23) On 09/29/14 11:17, Tomeu Vizoso wrote: Also moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-09-30 Thread Mike Turquette
Quoting Tero Kristo (2014-09-29 01:09:24) On 09/27/2014 02:24 AM, Mike Turquette wrote: Quoting Tero Kristo (2014-09-26 00:18:55) On 09/26/2014 04:35 AM, Stephen Boyd wrote: On 09/23/14 06:38, Tero Kristo wrote: On 09/22/2014 10:18 PM, Stephen Boyd wrote: On 08/21, Tero Kristo wrote

Re: [PATCH] clk: gpio-gate: Ensure gpiod_ APIs are prototyped

2014-09-30 Thread Mike Turquette
Quoting Mark Brown (2014-09-30 10:16:22) The gpio-gate clock uses the gpiod_ APIs but does not directly include the header for them causing build failures in some configurations including ARM allnoconfig. Include the header directly. Signed-off-by: Mark Brown broo...@kernel.org Thanks Mark.

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-09-30 Thread Mike Turquette
Quoting Tero Kristo (2014-09-30 01:48:49) On 09/30/2014 10:07 AM, Mike Turquette wrote: Quoting Tero Kristo (2014-09-29 01:09:24) On 09/27/2014 02:24 AM, Mike Turquette wrote: Quoting Tero Kristo (2014-09-26 00:18:55) On 09/26/2014 04:35 AM, Stephen Boyd wrote: On 09/23/14 06:38, Tero

Re: [PATCH linux-next] clk-gpio-gate: include gpio/consumer to fix build

2014-09-30 Thread Mike Turquette
] Signed-off-by: Vincent Stehlé vincent.ste...@laposte.net Cc: Jyri Sarha jsa...@ti.com Cc: Mike Turquette mturque...@linaro.org --- Hi, This can be seen with e.g. linux next-20140930 and arm alldefconfig. Fixed with: https://git.linaro.org/people/mike.turquette/linux.git/commit

Re: [PATCHv3 1/7] clk: at91: add a driver for the h32mx clock

2014-09-27 Thread Mike Turquette
MA5D4 series: is > > it okay for you? > > > Hi Mike, > > I gave my ack to this patch, so, if you don't mind letting Nicolas > take it through his tree, I think it will ease integration of the > sama5d4 support (no external dependencies on the clk tree). Acked-by: Mik

Re: [PATCH] clk: Add PWM clock driver

2014-09-27 Thread Mike Turquette
Quoting Thierry Reding (2014-09-23 01:51:31) > On Wed, Sep 10, 2014 at 10:05:17PM +0200, Janusz Użycki wrote: > > Hi, > > > > http://patchwork.ozlabs.org/patch/359069/ > > https://lkml.org/lkml/2014/6/12/186 > > > > Will the patch ever included to linux-next? > > I've never seen this patch

<    1   2   3   4   5   6   7   8   9   10   >