[PATCH v7 REPOST 6/9] arm64, dts: add Juno r1 cpu capacity-dmips-mhz information

2016-10-17 Thread Juri Lelli
Murphy <robin.mur...@arm.com> Cc: devicet...@vger.kernel.org Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v6: - new patch as per off-line discussion with Sudeep --- arch/arm64/boot/dts/arm/juno-r1.dts | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[PATCH v7 REPOST 6/9] arm64, dts: add Juno r1 cpu capacity-dmips-mhz information

2016-10-17 Thread Juri Lelli
...@vger.kernel.org Signed-off-by: Juri Lelli --- Changes from v6: - new patch as per off-line discussion with Sudeep --- arch/arm64/boot/dts/arm/juno-r1.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts b/arch/arm64/boot/dts/arm/juno-r1.dts index

[PATCH v7 REPOST 0/9] CPUs capacity information for heterogeneous systems

2016-10-17 Thread Juri Lelli
/lkml/2016/10/14/312 Juri Lelli (9): Documentation: arm: define DT cpu capacity-dmips-mhz bindings arm: parse cpu capacity-dmips-mhz from DT arm, dts: add TC2 cpu capacity-dmips-mhz information arm64: parse cpu capacity-dmips-mhz from DT arm64, dts: add Juno cpu capacity-dmips-mhz informati

[PATCH v7 REPOST 0/9] CPUs capacity information for heterogeneous systems

2016-10-17 Thread Juri Lelli
/lkml/2016/10/14/312 Juri Lelli (9): Documentation: arm: define DT cpu capacity-dmips-mhz bindings arm: parse cpu capacity-dmips-mhz from DT arm, dts: add TC2 cpu capacity-dmips-mhz information arm64: parse cpu capacity-dmips-mhz from DT arm64, dts: add Juno cpu capacity-dmips-mhz informati

Re: [PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-19 Thread Juri Lelli
Hi, On 12/09/16 08:24, Juri Lelli wrote: > Hi, > > this is a ping for people interested in this series. Patches 2,4,7-8 > still needs ACKs. > Weekly ping. :-) Best, - Juri > I know it's only been a week since I posted v7, but this series would > pair nicely with asym

Re: [PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-19 Thread Juri Lelli
Hi, On 12/09/16 08:24, Juri Lelli wrote: > Hi, > > this is a ping for people interested in this series. Patches 2,4,7-8 > still needs ACKs. > Weekly ping. :-) Best, - Juri > I know it's only been a week since I posted v7, but this series would > pair nicely with asym

Re: [PATCH v7 4/8] arm64: parse cpu capacity-dmips-mhz from DT

2016-09-12 Thread Juri Lelli
Hi, On 12/09/16 10:37, Vincent Guittot wrote: > Hi Juri, > > On 5 September 2016 at 16:22, Juri Lelli <juri.le...@arm.com> wrote: > > With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities > > can now be calculated from values extracted from DT and

Re: [PATCH v7 4/8] arm64: parse cpu capacity-dmips-mhz from DT

2016-09-12 Thread Juri Lelli
Hi, On 12/09/16 10:37, Vincent Guittot wrote: > Hi Juri, > > On 5 September 2016 at 16:22, Juri Lelli wrote: > > With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities > > can now be calculated from values extracted from DT and information > > comin

Re: [PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-09-12 Thread Juri Lelli
Hi, On 12/09/16 10:36, Vincent Guittot wrote: > Hi Juri, > > On 5 September 2016 at 16:22, Juri Lelli <juri.le...@arm.com> wrote: > > With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities > > can now be calculated from values extracted from DT and

Re: [PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-09-12 Thread Juri Lelli
Hi, On 12/09/16 10:36, Vincent Guittot wrote: > Hi Juri, > > On 5 September 2016 at 16:22, Juri Lelli wrote: > > With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities > > can now be calculated from values extracted from DT and information > > comin

Re: [PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-12 Thread Juri Lelli
merge window; nevertheless, still hoping we can make it. Thanks! Best, - Juri On 05/09/16 15:22, Juri Lelli wrote: > Hi all, > > version 7 of "CPUs capacity information for heterogeneous systems" patchset > [1] > (please refer to previous postings to get some context). &

Re: [PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-12 Thread Juri Lelli
merge window; nevertheless, still hoping we can make it. Thanks! Best, - Juri On 05/09/16 15:22, Juri Lelli wrote: > Hi all, > > version 7 of "CPUs capacity information for heterogeneous systems" patchset > [1] > (please refer to previous postings to get some context). &

Re: [PATCH] sched/deadline: document behavior of sched_yield()

2016-09-09 Thread Juri Lelli
Hi Tommaso, On 08/09/16 22:09, Tommaso Cucinotta wrote: > This is a documentation only patch, explaining the > behavior of sched_yield() when a SCHED_DEADLINE > task calls it (give up remaining runtime and > suspend till next period). I like the patch, but changelog lacks a SoB. Thanks, - Juri

Re: [PATCH] sched/deadline: document behavior of sched_yield()

2016-09-09 Thread Juri Lelli
Hi Tommaso, On 08/09/16 22:09, Tommaso Cucinotta wrote: > This is a documentation only patch, explaining the > behavior of sched_yield() when a SCHED_DEADLINE > task calls it (give up remaining runtime and > suspend till next period). I like the patch, but changelog lacks a SoB. Thanks, - Juri

[PATCH v7 4/8] arm64: parse cpu capacity-dmips-mhz from DT

2016-09-05 Thread Juri Lelli
. Cc: Catalin Marinas <catalin.mari...@arm.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Mark Brown <broo...@kernel.org> Cc: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - normalize w.r.t. highest ca

[PATCH v7 5/8] arm64, dts: add Juno cpu capacity-dmips-mhz information

2016-09-05 Thread Juri Lelli
Robin Murphy <robin.mur...@arm.com> Cc: devicet...@vger.kernel.org Acked-by: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - capacity-scale removed Changes from v4: - binding changed to capacity-dmips-mhz Changes from v6: -

[PATCH v7 3/8] arm, dts: add TC2 cpu capacity-dmips-mhz information

2016-09-05 Thread Juri Lelli
..@arm.com> Cc: Ian Campbell <ijc+devicet...@hellion.org.uk> Cc: Kumar Gala <ga...@codeaurora.org> Cc: Russell King <li...@arm.linux.org.uk> Cc: devicet...@vger.kernel.org Acked-by: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Juri Lelli <juri.le...@arm.com>

[PATCH v7 4/8] arm64: parse cpu capacity-dmips-mhz from DT

2016-09-05 Thread Juri Lelli
. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Brown Cc: Sudeep Holla Signed-off-by: Juri Lelli --- Changes from v1: - normalize w.r.t. highest capacity found in DT - bailout conditions (all-or-nothing) Changes from v4: - parsing modified to reflect change in binding (capacity-dmips

[PATCH v7 5/8] arm64, dts: add Juno cpu capacity-dmips-mhz information

2016-09-05 Thread Juri Lelli
...@vger.kernel.org Acked-by: Sudeep Holla Signed-off-by: Juri Lelli --- Changes from v1: - capacity-scale removed Changes from v4: - binding changed to capacity-dmips-mhz Changes from v6: - s/bindings// in changelog --- arch/arm64/boot/dts/arm/juno.dts | 6 ++ 1 file changed, 6 insertions

[PATCH v7 3/8] arm, dts: add TC2 cpu capacity-dmips-mhz information

2016-09-05 Thread Juri Lelli
Add TC2 cpu capacity information. Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: devicet...@vger.kernel.org Acked-by: Sudeep Holla Signed-off-by: Juri Lelli --- Changes from v1

[PATCH v7 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-09-05 Thread Juri Lelli
z...@free-electrons.com> Cc: devicet...@vger.kernel.org Acked-by: Rob Herring <r...@kernel.org> Acked-by: Vincent Guittot <vincent.guit...@linaro.org> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - removed section regarding capacity-scale - added info

[PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-09-05 Thread Juri Lelli
(which gets used if arch_scale_cpu_capacity is not defined) is overwritten. Cc: Russell King <li...@arm.linux.org.uk> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - normalize w.r.t. highest capacity found in DT - bailout conditions (all-or-nothing) Cha

[PATCH v7 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-09-05 Thread Juri Lelli
-by: Rob Herring Acked-by: Vincent Guittot Signed-off-by: Juri Lelli --- Changes from v1: - removed section regarding capacity-scale - added information regarding normalization Changes from v4: - binding changed to capacity-dmips-mhz - sections and changelod updated accordingly Changes from v5

[PATCH v7 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-09-05 Thread Juri Lelli
(which gets used if arch_scale_cpu_capacity is not defined) is overwritten. Cc: Russell King Signed-off-by: Juri Lelli --- Changes from v1: - normalize w.r.t. highest capacity found in DT - bailout conditions (all-or-nothing) Changes from v4: - parsing modified to reflect change in binding

[PATCH v7 7/8] arm: add sysfs cpu_capacity attribute

2016-09-05 Thread Juri Lelli
<li...@arm.linux.org.uk> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v5: - add mutex to protect cpu_scale (as pointed out by Morten off-line) --- arch/arm/kernel/topology.c | 73 ++ 1 file changed, 73 insertions(+)

[PATCH v7 7/8] arm: add sysfs cpu_capacity attribute

2016-09-05 Thread Juri Lelli
Signed-off-by: Juri Lelli --- Changes from v5: - add mutex to protect cpu_scale (as pointed out by Morten off-line) --- arch/arm/kernel/topology.c | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel

[PATCH v7 6/8] arm64, dts: add Juno r2 cpu capacity-dmips-mhz information

2016-09-05 Thread Juri Lelli
Robin Murphy <robin.mur...@arm.com> Cc: devicet...@vger.kernel.org Acked-by: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v4: - new patch since Juno r2 dt has been merged Changes from v6: - s/bindings// in changelog --- a

[PATCH v7 6/8] arm64, dts: add Juno r2 cpu capacity-dmips-mhz information

2016-09-05 Thread Juri Lelli
...@vger.kernel.org Acked-by: Sudeep Holla Signed-off-by: Juri Lelli --- Changes from v4: - new patch since Juno r2 dt has been merged Changes from v6: - s/bindings// in changelog --- arch/arm64/boot/dts/arm/juno-r2.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot

[PATCH v7 8/8] arm64: add sysfs cpu_capacity attribute

2016-09-05 Thread Juri Lelli
Marinas <catalin.mari...@arm.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Mark Brown <broo...@kernel.org> Cc: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v5: - add mutex to protect cpu_scale (as pointed out by Mo

[PATCH v7 8/8] arm64: add sysfs cpu_capacity attribute

2016-09-05 Thread Juri Lelli
Marinas Cc: Will Deacon Cc: Mark Brown Cc: Sudeep Holla Signed-off-by: Juri Lelli --- Changes from v5: - add mutex to protect cpu_scale (as pointed out by Morten off-line) --- arch/arm64/kernel/topology.c | 73 1 file changed, 73 insertions(+) diff

[PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-05 Thread Juri Lelli
2016/3/18/350 v5 - https://lkml.org/lkml/2016/6/15/291 v6 - https://lkml.org/lkml/2016/7/19/419 [2] https://lkml.org/lkml/2016/8/31/292 Juri Lelli (8): Documentation: arm: define DT cpu capacity-dmips-mhz bindings arm: parse cpu capacity-dmips-mhz from DT arm, dts: add TC2 cp

[PATCH v7 0/8] CPUs capacity information for heterogeneous systems

2016-09-05 Thread Juri Lelli
2016/3/18/350 v5 - https://lkml.org/lkml/2016/6/15/291 v6 - https://lkml.org/lkml/2016/7/19/419 [2] https://lkml.org/lkml/2016/8/31/292 Juri Lelli (8): Documentation: arm: define DT cpu capacity-dmips-mhz bindings arm: parse cpu capacity-dmips-mhz from DT arm, dts: add TC2 cp

Re: [PATCH 2/2] sched: cpufreq: use rt_avg as estimate of required RT CPU capacity

2016-09-02 Thread Juri Lelli
On 01/09/16 14:48, Steve Muckle wrote: > On Wed, Aug 31, 2016 at 06:00:02PM +0100, Juri Lelli wrote: > > > Another problem is that we have many semi related knobs; we have the > > > global RT runtime limit knob, but that doesn't affect cpufreq (maybe it > > > should)

Re: [PATCH 2/2] sched: cpufreq: use rt_avg as estimate of required RT CPU capacity

2016-09-02 Thread Juri Lelli
On 01/09/16 14:48, Steve Muckle wrote: > On Wed, Aug 31, 2016 at 06:00:02PM +0100, Juri Lelli wrote: > > > Another problem is that we have many semi related knobs; we have the > > > global RT runtime limit knob, but that doesn't affect cpufreq (maybe it > > > should)

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-09-01 Thread Juri Lelli
On 01/09/16 10:22, Vincent Guittot wrote: > On 31 August 2016 at 19:08, Juri Lelli <juri.le...@arm.com> wrote: > > On 31/08/16 10:14, Vincent Guittot wrote: > >> On 30 August 2016 at 18:28, Juri Lelli <juri.le...@arm.com> wrote: > >> > Hi Vincent, > &

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-09-01 Thread Juri Lelli
On 01/09/16 10:22, Vincent Guittot wrote: > On 31 August 2016 at 19:08, Juri Lelli wrote: > > On 31/08/16 10:14, Vincent Guittot wrote: > >> On 30 August 2016 at 18:28, Juri Lelli wrote: > >> > Hi Vincent, > >> > > >> > On

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-08-31 Thread Juri Lelli
On 31/08/16 10:14, Vincent Guittot wrote: > On 30 August 2016 at 18:28, Juri Lelli <juri.le...@arm.com> wrote: > > Hi Vincent, > > > > On 16/08/16 10:20, Vincent Guittot wrote: > >> Hi Juri, > >> > >> > >>

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-08-31 Thread Juri Lelli
On 31/08/16 10:14, Vincent Guittot wrote: > On 30 August 2016 at 18:28, Juri Lelli wrote: > > Hi Vincent, > > > > On 16/08/16 10:20, Vincent Guittot wrote: > >> Hi Juri, > >> > >> > >> On 19 July 2016 at 14:40

Re: [PATCH 2/2] sched: cpufreq: use rt_avg as estimate of required RT CPU capacity

2016-08-31 Thread Juri Lelli
On 31/08/16 18:40, Peter Zijlstra wrote: > On Wed, Aug 31, 2016 at 06:28:10PM +0200, Thomas Gleixner wrote: > > > That is the way it's been with cpufreq and many systems (including all > > > mobile devices) rely on that to not destroy power. RT + variable cpufreq > > > is not deterministic. > > >

Re: [PATCH 2/2] sched: cpufreq: use rt_avg as estimate of required RT CPU capacity

2016-08-31 Thread Juri Lelli
On 31/08/16 18:40, Peter Zijlstra wrote: > On Wed, Aug 31, 2016 at 06:28:10PM +0200, Thomas Gleixner wrote: > > > That is the way it's been with cpufreq and many systems (including all > > > mobile devices) rely on that to not destroy power. RT + variable cpufreq > > > is not deterministic. > > >

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-08-30 Thread Juri Lelli
Hi Vincent, On 16/08/16 10:20, Vincent Guittot wrote: > Hi Juri, > > > On 19 July 2016 at 14:40, Juri Lelli <juri.le...@arm.com> wrote: [...] > > +static int > > +init_cpu_capacity_callback(struct notifier_block *nb, > > +

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-08-30 Thread Juri Lelli
Hi Vincent, On 16/08/16 10:20, Vincent Guittot wrote: > Hi Juri, > > > On 19 July 2016 at 14:40, Juri Lelli wrote: [...] > > +static int > > +init_cpu_capacity_callback(struct notifier_block *nb, > > + unsigned long val, > > +

Re: [PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-08-30 Thread Juri Lelli
On 16/08/16 11:02, Vincent Guittot wrote: > On 19 July 2016 at 14:40, Juri Lelli <juri.le...@arm.com> wrote: > > ARM systems may be configured to have cpus with different power/performance > > characteristics within the same chip. In this case, additional information > &g

Re: [PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-08-30 Thread Juri Lelli
On 16/08/16 11:02, Vincent Guittot wrote: > On 19 July 2016 at 14:40, Juri Lelli wrote: > > ARM systems may be configured to have cpus with different power/performance > > characteristics within the same chip. In this case, additional information > > has to be made av

Re: [PATCH] sched: fix the intention to re-evalute tick dependency for offline cpu

2016-08-11 Thread Juri Lelli
On 11/08/16 16:45, Peter Zijlstra wrote: > On Thu, Aug 04, 2016 at 05:51:20PM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > The dl task will be replenished after dl task timer fire and start a new > > period. It will be enqueued and to re-evaluate its dependency

Re: [PATCH] sched: fix the intention to re-evalute tick dependency for offline cpu

2016-08-11 Thread Juri Lelli
On 11/08/16 16:45, Peter Zijlstra wrote: > On Thu, Aug 04, 2016 at 05:51:20PM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > The dl task will be replenished after dl task timer fire and start a new > > period. It will be enqueued and to re-evaluate its dependency on the tick > > in

Re: [PATCH v6 0/8] CPUs capacity information for heterogeneous systems

2016-08-10 Thread Juri Lelli
Hi, On 19/07/16 13:40, Juri Lelli wrote: > Hi all, > > version 6 of "CPUs capacity information for heterogeneous systems" patchset > [1] > (please refer to previous postings to get some context). > gentle ping to everybody participating in this discussion. Rob

Re: [PATCH v6 0/8] CPUs capacity information for heterogeneous systems

2016-08-10 Thread Juri Lelli
Hi, On 19/07/16 13:40, Juri Lelli wrote: > Hi all, > > version 6 of "CPUs capacity information for heterogeneous systems" patchset > [1] > (please refer to previous postings to get some context). > gentle ping to everybody participating in this discussion. Rob

[tip:sched/core] sched/deadline: Remove useless parameter from setup_new_dl_entity()

2016-08-10 Thread tip-bot for Juri Lelli
Commit-ID: 98b0a857805080db04f50b8c71438c9c369ef0b3 Gitweb: http://git.kernel.org/tip/98b0a857805080db04f50b8c71438c9c369ef0b3 Author: Juri Lelli <juri.le...@arm.com> AuthorDate: Fri, 5 Aug 2016 16:07:55 +0100 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Wed, 10 Au

[tip:sched/core] sched/deadline: Remove useless parameter from setup_new_dl_entity()

2016-08-10 Thread tip-bot for Juri Lelli
Commit-ID: 98b0a857805080db04f50b8c71438c9c369ef0b3 Gitweb: http://git.kernel.org/tip/98b0a857805080db04f50b8c71438c9c369ef0b3 Author: Juri Lelli AuthorDate: Fri, 5 Aug 2016 16:07:55 +0100 Committer: Ingo Molnar CommitDate: Wed, 10 Aug 2016 14:03:32 +0200 sched/deadline: Remove

Re: [PATCH v6 3/8] arm, dts: add TC2 cpu capacity-dmips-mhz information

2016-08-10 Thread Juri Lelli
Hi, On 10/08/16 16:33, Sudeep Holla wrote: > Hi Juri, > > On 19/07/16 13:40, Juri Lelli wrote: > >Add TC2 cpu capacity binding information. > > > > If you repost it, > > s/binding// > Yes, I think I'll need to repost, squashing the arm64 fix in the appr

Re: [PATCH v6 3/8] arm, dts: add TC2 cpu capacity-dmips-mhz information

2016-08-10 Thread Juri Lelli
Hi, On 10/08/16 16:33, Sudeep Holla wrote: > Hi Juri, > > On 19/07/16 13:40, Juri Lelli wrote: > >Add TC2 cpu capacity binding information. > > > > If you repost it, > > s/binding// > Yes, I think I'll need to repost, squashing the arm64 fix in the appr

Re: [PATCH v6 3/8] arm, dts: add TC2 cpu capacity-dmips-mhz information

2016-08-10 Thread Juri Lelli
On 10/08/16 16:52, Sudeep Holla wrote: > > > On 10/08/16 16:43, Juri Lelli wrote: > >Hi, > > > >On 10/08/16 16:33, Sudeep Holla wrote: > >>Hi Juri, > >> > >>On 19/07/16 13:40, Juri Lelli wrote: > >>>Add TC2 cpu capacity bindin

Re: [PATCH v6 3/8] arm, dts: add TC2 cpu capacity-dmips-mhz information

2016-08-10 Thread Juri Lelli
On 10/08/16 16:52, Sudeep Holla wrote: > > > On 10/08/16 16:43, Juri Lelli wrote: > >Hi, > > > >On 10/08/16 16:33, Sudeep Holla wrote: > >>Hi Juri, > >> > >>On 19/07/16 13:40, Juri Lelli wrote: > >>>Add TC2 cpu capacity bindin

Re: [PATCH v6 0/8] CPUs capacity information for heterogeneous systems

2016-08-09 Thread Juri Lelli
Hi, On 08/08/16 18:49, Peter Zijlstra wrote: > On Tue, Jul 19, 2016 at 01:40:40PM +0100, Juri Lelli wrote: > > Patches high level description: > > > > o 01/08 introduces documentation for the new optional DT binding > > o [02-06]/08 add cpu-capacity attribute t

Re: [PATCH v6 0/8] CPUs capacity information for heterogeneous systems

2016-08-09 Thread Juri Lelli
Hi, On 08/08/16 18:49, Peter Zijlstra wrote: > On Tue, Jul 19, 2016 at 01:40:40PM +0100, Juri Lelli wrote: > > Patches high level description: > > > > o 01/08 introduces documentation for the new optional DT binding > > o [02-06]/08 add cpu-capacity attribute t

Re: [PATCH v6 4/8] arm64: parse cpu capacity-dmips-mhz from DT

2016-08-09 Thread Juri Lelli
Hi, this patch needs the fix below, since platforms can boot without a cpu-map. On 19/07/16 13:40, Juri Lelli wrote: [...] > @@ -185,6 +328,8 @@ static int __init parse_dt_topology(void) > if (ret != 0) > goto out_map; > > + normali

Re: [PATCH v6 4/8] arm64: parse cpu capacity-dmips-mhz from DT

2016-08-09 Thread Juri Lelli
Hi, this patch needs the fix below, since platforms can boot without a cpu-map. On 19/07/16 13:40, Juri Lelli wrote: [...] > @@ -185,6 +328,8 @@ static int __init parse_dt_topology(void) > if (ret != 0) > goto out_map; > > + normali

[PATCH v6] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
that already for us. Cc: Ingo Molnar <mi...@redhat.com> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Steven Rostedt <rost...@goodmis.org> Cc: Luca Abeni <luca.ab...@unitn.it> Cc: Xunlei Pang <xp...@redhat.com> Signed-off-by: Juri Lelli <juri.le...@arm.c

[PATCH v6] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
that already for us. Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Luca Abeni Cc: Xunlei Pang Signed-off-by: Juri Lelli Reviewed-by: Steven Rostedt --- Changes from v5: - simply return if task is not enqueued; improves readability and reduces indentation Changes from v

Re: [PATCH v5] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
On 05/08/16 10:54, Steven Rostedt wrote: > On Fri, 5 Aug 2016 15:34:44 +0100 > Juri Lelli <juri.le...@arm.com> wrote: > > > On 05/08/16 09:56, Steven Rostedt wrote: > > > On Fri, 5 Aug 2016 11:09:59 +0100 > > > Juri Lelli <juri.le...@arm.com>

Re: [PATCH v5] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
On 05/08/16 10:54, Steven Rostedt wrote: > On Fri, 5 Aug 2016 15:34:44 +0100 > Juri Lelli wrote: > > > On 05/08/16 09:56, Steven Rostedt wrote: > > > On Fri, 5 Aug 2016 11:09:59 +0100 > > > Juri Lelli wrote: > > > > > > > @@ -1720,19

Re: [PATCH v5] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
On 05/08/16 09:56, Steven Rostedt wrote: > On Fri, 5 Aug 2016 11:09:59 +0100 > Juri Lelli <juri.le...@arm.com> wrote: > > > @@ -1720,19 +1720,28 @@ static void switched_from_dl(struct rq *rq, struct > > task_struct *p) > > */ > > static void switched_

Re: [PATCH v5] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
On 05/08/16 09:56, Steven Rostedt wrote: > On Fri, 5 Aug 2016 11:09:59 +0100 > Juri Lelli wrote: > > > @@ -1720,19 +1720,28 @@ static void switched_from_dl(struct rq *rq, struct > > task_struct *p) > > */ > > static void switched_to_dl(str

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
On 22/07/16 10:58, Xunlei Pang wrote: > On 2016/07/21 at 22:46, Juri Lelli wrote: [...] > > @@ -1734,9 +1724,11 @@ static void switched_to_dl(struct rq *rq, struct > > task_struct *p) > > if (task_on_rq_queued(p)) { > > /* > > * If p

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
On 22/07/16 10:58, Xunlei Pang wrote: > On 2016/07/21 at 22:46, Juri Lelli wrote: [...] > > @@ -1734,9 +1724,11 @@ static void switched_to_dl(struct rq *rq, struct > > task_struct *p) > > if (task_on_rq_queued(p)) { > > /* > > * If p

[PATCH v5] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
that already for us. Cc: Ingo Molnar <mi...@redhat.com> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Steven Rostedt <rost...@goodmis.org> Cc: Luca Abeni <luca.ab...@unitn.it> Cc: Xunlei Pang <xp...@redhat.com> Signed-off-by: Juri Lelli <juri.le...@arm.com>

[PATCH v5] sched/deadline: remove useless param from setup_new_dl_entity

2016-08-05 Thread Juri Lelli
that already for us. Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Luca Abeni Cc: Xunlei Pang Signed-off-by: Juri Lelli --- Changes from v4: - remove dead code checking for boosted status, as never triggered after rt_mutex_setprio() Changes from v3: - call setup

Re: [RFC PATCH 3/4] Make deadline max-heap faster avoiding real swaps on heapify ops.

2016-08-02 Thread Juri Lelli
and randomly generated cpu IDs, with up to 256 > CPUs, as measured on an Intel Core2 Duo. > > Cc: Peter Zijlstra <pet...@infradead.org> > Cc: Juri Lelli <juri.le...@arm.com> > Cc: Luca Abeni <luca.ab...@unitn.it> > Reviewed-by: Luca Abeni <luca.ab...@unitn.it&

Re: [RFC PATCH 3/4] Make deadline max-heap faster avoiding real swaps on heapify ops.

2016-08-02 Thread Juri Lelli
and randomly generated cpu IDs, with up to 256 > CPUs, as measured on an Intel Core2 Duo. > > Cc: Peter Zijlstra > Cc: Juri Lelli > Cc: Luca Abeni > Reviewed-by: Luca Abeni > Signed-off-by: Tommaso Cucinotta > --- > kernel/sched/cpudeadline.c | 114 >

Re: [RFC PATCH 4/4] Split cpudl_set() into cpudl_set() and cpudl_clear().

2016-08-02 Thread Juri Lelli
t; Now you call It's more "after this change" that now, IMHO. > cpudl_clear(cp, cpu) > cpudl_set(cp, cpu, dl) > instead of > cpudl_set(cp, cpu, 0 /* dl */, 0 /* is_valid */) > cpudl_set(cp, cpu, dl, 1 /* is_valid */) > > Cc: Peter Zijlstra <pet...@infradead

Re: [RFC PATCH 4/4] Split cpudl_set() into cpudl_set() and cpudl_clear().

2016-08-02 Thread Juri Lelli
t; Now you call It's more "after this change" that now, IMHO. > cpudl_clear(cp, cpu) > cpudl_set(cp, cpu, dl) > instead of > cpudl_set(cp, cpu, 0 /* dl */, 0 /* is_valid */) > cpudl_set(cp, cpu, dl, 1 /* is_valid */) > > Cc: Peter Zijlstra > Cc: Juri Lell

Re: [RFC][PATCH 1/7] cpufreq / sched: Make schedutil access utilization data directly

2016-08-02 Thread Juri Lelli
On 02/08/16 07:28, Steve Muckle wrote: > On Tue, Aug 02, 2016 at 11:38:17AM +0100, Juri Lelli wrote: > > > > Anyway one way that my patch differed was that I had used the flags > > > > field to keep the behavior the same for both RT and DL. > > > > Do you

Re: [RFC][PATCH 1/7] cpufreq / sched: Make schedutil access utilization data directly

2016-08-02 Thread Juri Lelli
On 02/08/16 07:28, Steve Muckle wrote: > On Tue, Aug 02, 2016 at 11:38:17AM +0100, Juri Lelli wrote: > > > > Anyway one way that my patch differed was that I had used the flags > > > > field to keep the behavior the same for both RT and DL. > > > > Do you

Re: [RFC][PATCH 1/7] cpufreq / sched: Make schedutil access utilization data directly

2016-08-02 Thread Juri Lelli
Hi, On 02/08/16 01:46, Rafael J. Wysocki wrote: > On Monday, August 01, 2016 12:28:50 PM Steve Muckle wrote: > > On Mon, Aug 01, 2016 at 01:34:36AM +0200, Rafael J. Wysocki wrote: > > ... > > > Index: linux-pm/kernel/sched/cpufreq_schedutil.c > > >

Re: [RFC][PATCH 1/7] cpufreq / sched: Make schedutil access utilization data directly

2016-08-02 Thread Juri Lelli
Hi, On 02/08/16 01:46, Rafael J. Wysocki wrote: > On Monday, August 01, 2016 12:28:50 PM Steve Muckle wrote: > > On Mon, Aug 01, 2016 at 01:34:36AM +0200, Rafael J. Wysocki wrote: > > ... > > > Index: linux-pm/kernel/sched/cpufreq_schedutil.c > > >

Re: [RFC PATCH 2/4] SCHED_DEADLINE cpu heap code clarification/refactory.

2016-08-01 Thread Juri Lelli
of same code) s/repeatition/repetition/ > 2. call to cpudl_change_key() replaced with heapify_up() when >cpudl_set actually inserts a new node in the heap > Maybe we want a separate patch (we usually want 1 patch - 1 change) ? > Cc: Peter Zijlstra <pet...@infradead.org> > Cc:

Re: [RFC PATCH 2/4] SCHED_DEADLINE cpu heap code clarification/refactory.

2016-08-01 Thread Juri Lelli
of same code) s/repeatition/repetition/ > 2. call to cpudl_change_key() replaced with heapify_up() when >cpudl_set actually inserts a new node in the heap > Maybe we want a separate patch (we usually want 1 patch - 1 change) ? > Cc: Peter Zijlstra > Cc: Juri Lelli > Cc: Luc

Re: [RFC PATCH 1/4] Minimally invasive deadline wrap-around bugfix for SCHED_DEADLINE cpu heap

2016-08-01 Thread Juri Lelli
On 01/08/16 12:43, Juri Lelli wrote: > Hi, > > On 19/07/16 11:44, Tommaso Cucinotta wrote: > > Current code in cpudeadline.c has a bug in re-heapifying when adding a > > new element at the end of the heap, because a deadline value of 0 is > > temporarily set in the new

Re: [RFC PATCH 1/4] Minimally invasive deadline wrap-around bugfix for SCHED_DEADLINE cpu heap

2016-08-01 Thread Juri Lelli
On 01/08/16 12:43, Juri Lelli wrote: > Hi, > > On 19/07/16 11:44, Tommaso Cucinotta wrote: > > Current code in cpudeadline.c has a bug in re-heapifying when adding a > > new element at the end of the heap, because a deadline value of 0 is > > temporarily set in the new

Re: [RFC PATCH 1/4] Minimally invasive deadline wrap-around bugfix for SCHED_DEADLINE cpu heap

2016-08-01 Thread Juri Lelli
, as from dl_time_before(), the kernel should handle > correctly abs deadlines wrap-arounds. > > This patch fixes the problem with a minimally invasive change that > forces cpudl_change_key() to heapify up in this case. > > Cc: Peter Zijlstra <pet...@infradead.org> > Cc: Juri L

Re: [RFC PATCH 1/4] Minimally invasive deadline wrap-around bugfix for SCHED_DEADLINE cpu heap

2016-08-01 Thread Juri Lelli
, as from dl_time_before(), the kernel should handle > correctly abs deadlines wrap-arounds. > > This patch fixes the problem with a minimally invasive change that > forces cpudl_change_key() to heapify up in this case. > > Cc: Peter Zijlstra > Cc: Juri Lelli > Cc: Luc

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-21 Thread Juri Lelli
On 21/07/16 15:36, Juri Lelli wrote: > On 21/07/16 15:21, Juri Lelli wrote: > > Hi, > > > > On 18/07/16 21:37, Xunlei Pang wrote: > > > On 2016/07/18 at 21:04, Juri Lelli wrote: > > > > On 15/07/16 18:39, Xunlei Pang wrote: > &g

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-21 Thread Juri Lelli
On 21/07/16 15:36, Juri Lelli wrote: > On 21/07/16 15:21, Juri Lelli wrote: > > Hi, > > > > On 18/07/16 21:37, Xunlei Pang wrote: > > > On 2016/07/18 at 21:04, Juri Lelli wrote: > > > > On 15/07/16 18:39, Xunlei Pang wrote: > &g

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-21 Thread Juri Lelli
On 21/07/16 15:21, Juri Lelli wrote: > Hi, > > On 18/07/16 21:37, Xunlei Pang wrote: > > On 2016/07/18 at 21:04, Juri Lelli wrote: > > > On 15/07/16 18:39, Xunlei Pang wrote: > > >> On 2016/07/13 at 18:58, Juri Lelli wrote: > > > [...] > > >

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-21 Thread Juri Lelli
On 21/07/16 15:21, Juri Lelli wrote: > Hi, > > On 18/07/16 21:37, Xunlei Pang wrote: > > On 2016/07/18 at 21:04, Juri Lelli wrote: > > > On 15/07/16 18:39, Xunlei Pang wrote: > > >> On 2016/07/13 at 18:58, Juri Lelli wrote: > > > [...] > > >

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-21 Thread Juri Lelli
Hi, On 18/07/16 21:37, Xunlei Pang wrote: > On 2016/07/18 at 21:04, Juri Lelli wrote: > > On 15/07/16 18:39, Xunlei Pang wrote: > >> On 2016/07/13 at 18:58, Juri Lelli wrote: > > [...] > > > >> Since this is only called for queued cases now, there is n

Re: [PATCH v4] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-21 Thread Juri Lelli
Hi, On 18/07/16 21:37, Xunlei Pang wrote: > On 2016/07/18 at 21:04, Juri Lelli wrote: > > On 15/07/16 18:39, Xunlei Pang wrote: > >> On 2016/07/13 at 18:58, Juri Lelli wrote: > > [...] > > > >> Since this is only called for queued cases now, there is n

Re: [PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-07-21 Thread Juri Lelli
Hi Rob, On 20/07/16 13:56, Rob Herring wrote: > On Tue, Jul 19, 2016 at 01:40:41PM +0100, Juri Lelli wrote: > > ARM systems may be configured to have cpus with different power/performance > > characteristics within the same chip. In this case, additional information > > has

Re: [PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-07-21 Thread Juri Lelli
Hi Rob, On 20/07/16 13:56, Rob Herring wrote: > On Tue, Jul 19, 2016 at 01:40:41PM +0100, Juri Lelli wrote: > > ARM systems may be configured to have cpus with different power/performance > > characteristics within the same chip. In this case, additional information > > has

[PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-07-19 Thread Juri Lelli
(which gets used if arch_scale_cpu_capacity is not defined) is overwritten. Cc: Russell King <li...@arm.linux.org.uk> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - normalize w.r.t. highest capacity found in DT - bailout conditions (all-or-nothing) Cha

[PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-07-19 Thread Juri Lelli
(which gets used if arch_scale_cpu_capacity is not defined) is overwritten. Cc: Russell King Signed-off-by: Juri Lelli --- Changes from v1: - normalize w.r.t. highest capacity found in DT - bailout conditions (all-or-nothing) Changes from v4: - parsing modified to reflect change in binding

[PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-07-19 Thread Juri Lelli
tazz...@free-electrons.com> Cc: devicet...@vger.kernel.org Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - removed section regarding capacity-scale - added information regarding normalization Changes from v4: - binding changed to capacity-dmips-mhz - sections and

[PATCH v6 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-07-19 Thread Juri Lelli
-by: Juri Lelli --- Changes from v1: - removed section regarding capacity-scale - added information regarding normalization Changes from v4: - binding changed to capacity-dmips-mhz - sections and changelod updated accordingly Changes from v5: - addressed Mark and Vincent comments

[PATCH v6 5/8] arm64, dts: add Juno cpu capacity-dmips-mhz information

2016-07-19 Thread Juri Lelli
; Cc: Robin Murphy <robin.mur...@arm.com> Cc: devicet...@vger.kernel.org Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v1: - capacity-scale removed Changes from v4: - binding changed to capacity-dmips-mhz --- arch/arm64/boot/dts/arm/juno.dts | 6 ++ 1 file chang

[PATCH v6 6/8] arm64, dts: add Juno r2 cpu capacity-dmips-mhz information

2016-07-19 Thread Juri Lelli
; Cc: Robin Murphy <robin.mur...@arm.com> Cc: devicet...@vger.kernel.org Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v4: - new patch since Juno r2 dt has been merged --- arch/arm64/boot/dts/arm/juno-r2.dts | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[PATCH v6 5/8] arm64, dts: add Juno cpu capacity-dmips-mhz information

2016-07-19 Thread Juri Lelli
: devicet...@vger.kernel.org Signed-off-by: Juri Lelli --- Changes from v1: - capacity-scale removed Changes from v4: - binding changed to capacity-dmips-mhz --- arch/arm64/boot/dts/arm/juno.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64

[PATCH v6 6/8] arm64, dts: add Juno r2 cpu capacity-dmips-mhz information

2016-07-19 Thread Juri Lelli
: devicet...@vger.kernel.org Signed-off-by: Juri Lelli --- Changes from v4: - new patch since Juno r2 dt has been merged --- arch/arm64/boot/dts/arm/juno-r2.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/arm/juno-r2.dts b/arch/arm64/boot/dts/arm/juno-r2.dts index

[PATCH v6 7/8] arm: add sysfs cpu_capacity attribute

2016-07-19 Thread Juri Lelli
<li...@arm.linux.org.uk> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v5: - add mutex to protect cpu_scale (as pointed out by Morten off-line) --- arch/arm/kernel/topology.c | 73 ++ 1 file changed, 73 insertions(+)

[PATCH v6 8/8] arm64: add sysfs cpu_capacity attribute

2016-07-19 Thread Juri Lelli
Marinas <catalin.mari...@arm.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Mark Brown <broo...@kernel.org> Cc: Sudeep Holla <sudeep.ho...@arm.com> Signed-off-by: Juri Lelli <juri.le...@arm.com> --- Changes from v5: - add mutex to protect cpu_scale (as pointed out by Mo

<    8   9   10   11   12   13   14   15   16   17   >