On 27/03/17 19:05, Rafael J. Wysocki wrote:
> On Monday, March 27, 2017 06:01:34 PM Juri Lelli wrote:
> > On 27/03/17 18:50, Peter Zijlstra wrote:
> > > On Fri, Mar 24, 2017 at 02:08:58PM +, Juri Lelli wrote:
> > > > Worker kthread needs to be able to
On 27/03/17 19:05, Rafael J. Wysocki wrote:
> On Monday, March 27, 2017 06:01:34 PM Juri Lelli wrote:
> > On 27/03/17 18:50, Peter Zijlstra wrote:
> > > On Fri, Mar 24, 2017 at 02:08:58PM +, Juri Lelli wrote:
> > > > Worker kthread needs to be able to
On 27/03/17 18:50, Peter Zijlstra wrote:
> On Fri, Mar 24, 2017 at 02:08:58PM +0000, Juri Lelli wrote:
> > Worker kthread needs to be able to change frequency for all other
> > threads.
> >
> > Make it special, just under STOP class.
>
> *yuck* ;-)
>
Eh,
On 27/03/17 18:50, Peter Zijlstra wrote:
> On Fri, Mar 24, 2017 at 02:08:58PM +0000, Juri Lelli wrote:
> > Worker kthread needs to be able to change frequency for all other
> > threads.
> >
> > Make it special, just under STOP class.
>
> *yuck* ;-)
>
Eh,
Hi,
On 23/03/17 11:12, Byungchul Park wrote:
> When cpudl_find() returns any among free_cpus, the cpu might not be
> closer than others, considering sched domain. For example:
>
>this_cpu: 15
>free_cpus: 0, 1,..., 14 (== later_mask)
>best_cpu: 0
>
>topology:
>
>0 --+
>
Hi,
On 23/03/17 11:12, Byungchul Park wrote:
> When cpudl_find() returns any among free_cpus, the cpu might not be
> closer than others, considering sched domain. For example:
>
>this_cpu: 15
>free_cpus: 0, 1,..., 14 (== later_mask)
>best_cpu: 0
>
>topology:
>
>0 --+
>
<will.dea...@arm.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
Changes from v2:
- make capacity_scale and raw_capacity static
- added SPDX header
- improved indent
- misc. whitespaces/newlines fixes
Changes from v1:
additions.
Suggested-by: Will Deacon
Suggested-by: Mark Rutland
Suggested-by: Catalin Marinas
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: Greg Kroah-Hartman
Signed-off-by: Juri Lelli
---
Changes from v2:
- make capacity_scale and raw_capacity static
- added SPDX header
Hi,
On 23/03/17 19:32, Byungchul Park wrote:
> cpudl_find() is used to find a cpu having the latest dl. The function
> should return the latest cpu among ones satisfying task's affinity and
> dl constraint, but current code gives up immediately and just return
> fail when it fails at the test
Hi,
On 23/03/17 19:32, Byungchul Park wrote:
> cpudl_find() is used to find a cpu having the latest dl. The function
> should return the latest cpu among ones satisfying task's affinity and
> dl constraint, but current code gives up immediately and just return
> fail when it fails at the test
Create a new header file (include/linux/arch_topology.h) and put there
declarations of interfaces used by arm, arm64 and drivers code.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c| 7 +--
arch/arm64/kernel/topology.c | 4 +---
driver
Create a new header file (include/linux/arch_topology.h) and put there
declarations of interfaces used by arm, arm64 and drivers code.
Signed-off-by: Juri Lelli
---
arch/arm/kernel/topology.c| 7 +--
arch/arm64/kernel/topology.c | 4 +---
drivers/base/arch_topology.c | 1 +
include
e26775 ('ARM: 8621/3: parse cpu capacity-dmips-mhz from DT')
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index f8a3ab82e77f..4e4af809606a
interfaces.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c| 8
arch/arm64/kernel/topology.c | 4 ++--
drivers/base/arch_topology.c | 20 ++--
include/linux/arch_topology.h | 8
4 files changed, 20 insertions(
')
Signed-off-by: Juri Lelli
---
arch/arm/kernel/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index f8a3ab82e77f..4e4af809606a 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -166,7
interfaces.
Signed-off-by: Juri Lelli
---
arch/arm/kernel/topology.c| 8
arch/arm64/kernel/topology.c | 4 ++--
drivers/base/arch_topology.c | 20 ++--
include/linux/arch_topology.h | 8
4 files changed, 20 insertions(+), 20 deletions(-)
diff --git
Printing out an error message when we failed to get the cpu device is
not helping anyone. Remove it.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
drivers/base/arch_topology.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/base/arch_topology.c b/d
Printing out an error message when we failed to get the cpu device is
not helping anyone. Remove it.
Signed-off-by: Juri Lelli
---
drivers/base/arch_topology.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about
CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/
cpu-capacity.txt).
Add such description.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
Documentation/ABI/testing/sysfs-devices-system-cpu | 7
ty attribute')
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 4e4af809606a..162c82aeed96 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm
) means cap_from _dt is set to false.
For arm64 we can simply check if raw_capacity points to something,
which is not if capacity parsing has failed.
Suggested-by: Morten Rasmussen <morten.rasmus...@arm.com>
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c |
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about
CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/
cpu-capacity.txt).
Add such description.
Signed-off-by: Juri Lelli
---
Documentation/ABI/testing/sysfs-devices-system-cpu | 7 +++
1 file changed, 7
The sysfs cpu_capacity entry for each CPU has nothing to do with
PROC_FS, nor it's in /proc/sys path.
Remove such ifdef.
Cc: Russell King
Reported-and-suggested-by: Sudeep Holla
Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity attribute')
Signed-off-by: Juri Lelli
---
arch/arm
) means cap_from _dt is set to false.
For arm64 we can simply check if raw_capacity points to something,
which is not if capacity parsing has failed.
Suggested-by: Morten Rasmussen
Signed-off-by: Juri Lelli
---
arch/arm/kernel/topology.c | 3 +--
arch/arm64/kernel/topology.c | 5 +
drivers
Reference to cpu capacity binding has a wrong number. Fix it.
Reported-by: Lorenzo Pieralisi <lorenzo.pieral...@arm.com>
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Documentation/devicetree/bindings/arm/cpus.txt | 4 ++--
://linux-arm.org/linux-jl.git upstream/default_caps_factorize-v3
Best,
- Juri
[1] v1 - https://marc.info/?l=linux-kernel=148483680119355=2
v2 - https://marc.info/?l=linux-kernel=148663344018205=2
Juri Lelli (9):
Documentation: arm: fix wrong reference number in DT definition
Documentation/ABI
Reference to cpu capacity binding has a wrong number. Fix it.
Reported-by: Lorenzo Pieralisi
Signed-off-by: Juri Lelli
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/cpus.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree
://linux-arm.org/linux-jl.git upstream/default_caps_factorize-v3
Best,
- Juri
[1] v1 - https://marc.info/?l=linux-kernel=148483680119355=2
v2 - https://marc.info/?l=linux-kernel=148663344018205=2
Juri Lelli (9):
Documentation: arm: fix wrong reference number in DT definition
Documentation/ABI
On 27/03/17 09:43, Luca Abeni wrote:
> Hi Juri,
>
> On Mon, 27 Mar 2017 08:17:45 +0100
> Juri Lelli <juri.le...@arm.com> wrote:
> [...]
> > > > In general I feel it would be nice to have a state diagram
> > > > included somewhere near these two fu
On 27/03/17 09:43, Luca Abeni wrote:
> Hi Juri,
>
> On Mon, 27 Mar 2017 08:17:45 +0100
> Juri Lelli wrote:
> [...]
> > > > In general I feel it would be nice to have a state diagram
> > > > included somewhere near these two functions. It would be nice to
&g
On 24/03/17 22:47, Luca Abeni wrote:
> Hi Peter,
>
> On Fri, 24 Mar 2017 14:20:41 +0100
> Peter Zijlstra wrote:
>
> > On Fri, Mar 24, 2017 at 04:52:55AM +0100, luca abeni wrote:
> >
[...]
> >
> > In general I feel it would be nice to have a state diagram included
> >
On 24/03/17 22:47, Luca Abeni wrote:
> Hi Peter,
>
> On Fri, 24 Mar 2017 14:20:41 +0100
> Peter Zijlstra wrote:
>
> > On Fri, Mar 24, 2017 at 04:52:55AM +0100, luca abeni wrote:
> >
[...]
> >
> > In general I feel it would be nice to have a state diagram included
> > somewhere near these
Worker kthread needs to be able to change frequency for all other
threads.
Make it special, just under STOP class.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Rafael J. Wysocki <rafael.j.
No assumption can be made upon the rate at which frequency updates get
triggered, as there are scheduling policies (like SCHED_DEADLINE) which
don't trigger them so frequently.
Remove such assumption from the code.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Cc: Peter Zijlstr
Worker kthread needs to be able to change frequency for all other
threads.
Make it special, just under STOP class.
Signed-off-by: Juri Lelli
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Rafael J. Wysocki
Cc: Viresh Kumar
Cc: Luca Abeni
Cc: Claudio Scordino
---
include/linux/sched.h
No assumption can be made upon the rate at which frequency updates get
triggered, as there are scheduling policies (like SCHED_DEADLINE) which
don't trigger them so frequently.
Remove such assumption from the code.
Signed-off-by: Juri Lelli
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Rafael J
to be specified profiling the task execution at max frequency on
biggest capacity core) gets thus scaled accordingly.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Rafael J. Wysocki <rafael.j.wyso...@
to be specified profiling the task execution at max frequency on
biggest capacity core) gets thus scaled accordingly.
Signed-off-by: Juri Lelli
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Rafael J. Wysocki
Cc: Viresh Kumar
Cc: Luca Abeni
Cc: Claudio Scordino
---
kernel/sched/deadline.c | 27
rd, but we should probably look into
making frequency scaling (and PELT averages) available on !CONFIG_SMP as well
(so that schedutil can work on such configurations for example). Since this is
only an RFD and since a proper rework might be non trivial, I decided to leave
it out of scope for the time be
-by: Claudio Scordino <clau...@evidence.eu.com>
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Rafael J. Wysocki <rafael.j.wyso...@intel.com>
Cc: Viresh Kumar <viresh.ku...@linaro.org>
Cc: Lu
-by: Claudio Scordino
Signed-off-by: Juri Lelli
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Rafael J. Wysocki
Cc: Viresh Kumar
Cc: Luca Abeni
---
kernel/sched/deadline.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index
rd, but we should probably look into
making frequency scaling (and PELT averages) available on !CONFIG_SMP as well
(so that schedutil can work on such configurations for example). Since this is
only an RFD and since a proper rework might be non trivial, I decided to leave
it out of scope for the time be
lau...@evidence.eu.com>
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Rafael J. Wysocki <rafael.j.wyso...@intel.com>
Cc: Viresh Kumar <viresh.ku...@linaro.org>
Cc: Luca Abeni <luca.ab...@santannapisa
SCHED_DEADLINE tracks active utilization signal with a per rq variable
named running_bw.
Make use of that to drive cpu frequency selection: add up FAIR and
DEADLINE contribution to get the required CPU capacity to handle both
requirements.
Co-authored-by: Claudio Scordino
Signed-off-by: Juri
On 16/03/17 09:58, Joel Fernandes wrote:
> On Thu, Mar 16, 2017 at 5:44 AM, Juri Lelli <juri.le...@arm.com> wrote:
> > On 16/03/17 12:27, Patrick Bellasi wrote:
> >> On 16-Mar 11:16, Juri Lelli wrote:
> >> > On 15/03/17 16:40, Joel Fernandes wrote:
> >&
On 16/03/17 09:58, Joel Fernandes wrote:
> On Thu, Mar 16, 2017 at 5:44 AM, Juri Lelli wrote:
> > On 16/03/17 12:27, Patrick Bellasi wrote:
> >> On 16-Mar 11:16, Juri Lelli wrote:
> >> > On 15/03/17 16:40, Joel Fernandes wrote:
> >> > > On We
On 16/03/17 12:27, Patrick Bellasi wrote:
> On 16-Mar 11:16, Juri Lelli wrote:
> > On 15/03/17 16:40, Joel Fernandes wrote:
> > > On Wed, Mar 15, 2017 at 9:24 AM, Juri Lelli <juri.le...@arm.com> wrote:
> > > [..]
> > > >
> > > >> > Ho
On 16/03/17 12:27, Patrick Bellasi wrote:
> On 16-Mar 11:16, Juri Lelli wrote:
> > On 15/03/17 16:40, Joel Fernandes wrote:
> > > On Wed, Mar 15, 2017 at 9:24 AM, Juri Lelli wrote:
> > > [..]
> > > >
> > > >> > However,
On 15/03/17 16:40, Joel Fernandes wrote:
> On Wed, Mar 15, 2017 at 9:24 AM, Juri Lelli <juri.le...@arm.com> wrote:
> [..]
> >
> >> > However, trying to quickly summarize how that would work (for who is
> >> > already somewhat familiar with reclaiming
On 15/03/17 16:40, Joel Fernandes wrote:
> On Wed, Mar 15, 2017 at 9:24 AM, Juri Lelli wrote:
> [..]
> >
> >> > However, trying to quickly summarize how that would work (for who is
> >> > already somewhat familiar with reclaiming bits):
> >>
On 15/03/17 09:13, Joel Fernandes wrote:
> On Wed, Mar 15, 2017 at 7:44 AM, Juri Lelli <juri.le...@arm.com> wrote:
> > Hi Joel,
> >
> > On 15/03/17 05:59, Joel Fernandes wrote:
> >> On Wed, Mar 15, 2017 at 4:40 AM, Patrick Bellasi
> >> <patrick.bell
On 15/03/17 09:13, Joel Fernandes wrote:
> On Wed, Mar 15, 2017 at 7:44 AM, Juri Lelli wrote:
> > Hi Joel,
> >
> > On 15/03/17 05:59, Joel Fernandes wrote:
> >> On Wed, Mar 15, 2017 at 4:40 AM, Patrick Bellasi
> >> wrote:
> >> > On 13-Mar 03:08
Hi Joel,
On 15/03/17 05:59, Joel Fernandes wrote:
> On Wed, Mar 15, 2017 at 4:40 AM, Patrick Bellasi
> wrote:
> > On 13-Mar 03:08, Joel Fernandes (Google) wrote:
> >> Hi Patrick,
> >>
> >> On Tue, Feb 28, 2017 at 6:38 AM, Patrick Bellasi
> >>
Hi Joel,
On 15/03/17 05:59, Joel Fernandes wrote:
> On Wed, Mar 15, 2017 at 4:40 AM, Patrick Bellasi
> wrote:
> > On 13-Mar 03:08, Joel Fernandes (Google) wrote:
> >> Hi Patrick,
> >>
> >> On Tue, Feb 28, 2017 at 6:38 AM, Patrick Bellasi
> >> wrote:
> >> > Currently schedutil enforce a maximum
and currnet rq is offline. The rq clock of the new rq should
> be updated. This patch fixes it by updating the rq clock after holding
> the new rq's rq lock.
>
> Cc: Juri Lelli <juri.le...@arm.com>
> Cc: Peter Zijlstra <pet...@infradead.org>
> Cc: Ingo Molnar <
clock of the new rq should
> be updated. This patch fixes it by updating the rq clock after holding
> the new rq's rq lock.
>
> Cc: Juri Lelli
> Cc: Peter Zijlstra
> Cc: Ingo Molnar
> Cc: Thomas Gleixner
> Cc: Matt Fleming
> Signed-off-by: Wanpeng Li
> ---
Hi Greg,
did you have a chance to have a look at my replies below?
It would be really helpful to understand from you how to move forward
with this set.
Best Regards,
- Juri
On 13/02/17 15:09, Juri Lelli wrote:
> Hi Greg,
>
> On 10/02/17 15:28, Greg KH wrote:
> > On Thu, Feb 09
Hi Greg,
did you have a chance to have a look at my replies below?
It would be really helpful to understand from you how to move forward
with this set.
Best Regards,
- Juri
On 13/02/17 15:09, Juri Lelli wrote:
> Hi Greg,
>
> On 10/02/17 15:28, Greg KH wrote:
> > On Thu, Feb 09
On 01/03/17 12:37, Byungchul Park wrote:
> On Tue, Feb 28, 2017 at 05:47:53PM +0000, Juri Lelli wrote:
> > > > > Let's consider the following example.
> > > > >
> > > > > timel
On 01/03/17 12:37, Byungchul Park wrote:
> On Tue, Feb 28, 2017 at 05:47:53PM +0000, Juri Lelli wrote:
> > > > > Let's consider the following example.
> > > > >
> > > > > timel
On 28/02/17 22:09, Byungchul Park wrote:
> On Tue, Feb 28, 2017 at 11:35:15AM +0000, Juri Lelli wrote:
> > Hi,
> >
> > On 23/02/17 15:14, Byungchul Park wrote:
> > > Let's consider the following example.
> > >
> > > timel
On 28/02/17 22:09, Byungchul Park wrote:
> On Tue, Feb 28, 2017 at 11:35:15AM +0000, Juri Lelli wrote:
> > Hi,
> >
> > On 23/02/17 15:14, Byungchul Park wrote:
> > > Let's consider the following example.
> > >
> > > timel
n "we
> have a top pi-waiter which is a SCHED_DEADLINE task" in that order. Also fix a
> typo that follows.
>
> Cc: Juri Lelli <juri.le...@arm.com>
> Signed-off-by: Joel Fernandes <joe...@google.com>
Looks good to me.
Acked-by: Juri Lelli <juri.le...@arm.com>
Thanks,
- Juri
n "we
> have a top pi-waiter which is a SCHED_DEADLINE task" in that order. Also fix a
> typo that follows.
>
> Cc: Juri Lelli
> Signed-off-by: Joel Fernandes
Looks good to me.
Acked-by: Juri Lelli
Thanks,
- Juri
Hi,
On 23/02/17 15:14, Byungchul Park wrote:
> Let's consider the following example.
>
> timeline : o...o.o...o..o
>^ ^ ^ ^ ^
>| | | | |
>start |
Hi,
On 23/02/17 15:14, Byungchul Park wrote:
> Let's consider the following example.
>
> timeline : o...o.o...o..o
>^ ^ ^ ^ ^
>| | | | |
>start |
the redundant condition and make code simpler.
> > >
> > > By this patch, unnecessary one branch and two LOAD operations in 'if'
> > > statement can be avoided.
> > >
> > > Signed-off-by: Byungchul Park <byungchul.p...@lge.com>
> > > Revie
ke code simpler.
> > >
> > > By this patch, unnecessary one branch and two LOAD operations in 'if'
> > > statement can be avoided.
> > >
> > > Signed-off-by: Byungchul Park
> > > Reviewed-by: Steven Rostedt (VMware)
> > > Reviewed-by:
On 15/02/17 09:25, Steven Rostedt wrote:
> On Wed, 15 Feb 2017 10:47:49 +
> Juri Lelli <juri.le...@arm.com> wrote:
>
> > [+Steve, Luca]
> >
> > Hi,
> >
> > On 15/02/17 14:11, Byungchul Park wrote:
> > > Once pick_next_pushable_dl_task(
On 15/02/17 09:25, Steven Rostedt wrote:
> On Wed, 15 Feb 2017 10:47:49 +
> Juri Lelli wrote:
>
> > [+Steve, Luca]
> >
> > Hi,
> >
> > On 15/02/17 14:11, Byungchul Park wrote:
> > > Once pick_next_pushable_dl_task(rq) return a task, it gua
On 15/02/17 14:33, Daniel Bristot de Oliveira wrote:
> On 02/15/2017 01:59 PM, Juri Lelli wrote:
> > Actually, another thing that we noticed, talking on IRC with Peter, is
> > that we seem to be replenishing differently on different occasions:
>
> When a task is awakened (not
On 15/02/17 14:33, Daniel Bristot de Oliveira wrote:
> On 02/15/2017 01:59 PM, Juri Lelli wrote:
> > Actually, another thing that we noticed, talking on IRC with Peter, is
> > that we seem to be replenishing differently on different occasions:
>
> When a task is awakened (not
On 15/02/17 14:13, Luca Abeni wrote:
> On Wed, 15 Feb 2017 12:59:25 +
> Juri Lelli <juri.le...@arm.com> wrote:
>
> > On 15/02/17 13:31, Luca Abeni wrote:
> > > Hi Juri,
> > >
> > > On Wed, 15 Feb 2017 10:29:19 +
> > > Juri Lel
On 15/02/17 14:13, Luca Abeni wrote:
> On Wed, 15 Feb 2017 12:59:25 +
> Juri Lelli wrote:
>
> > On 15/02/17 13:31, Luca Abeni wrote:
> > > Hi Juri,
> > >
> > > On Wed, 15 Feb 2017 10:29:19 +
> > > Juri Lelli wrote:
> > > [...
On 15/02/17 13:31, Luca Abeni wrote:
> Hi Juri,
>
> On Wed, 15 Feb 2017 10:29:19 +0000
> Juri Lelli <juri.le...@arm.com> wrote:
> [...]
> > > Ok, thanks; I think I can now see why this can result in a task
> > > consuming more than the reserved ut
On 15/02/17 13:31, Luca Abeni wrote:
> Hi Juri,
>
> On Wed, 15 Feb 2017 10:29:19 +0000
> Juri Lelli wrote:
> [...]
> > > Ok, thanks; I think I can now see why this can result in a task
> > > consuming more than the reserved utilisation. I still need some
> &
[+Steve, Luca]
Hi,
On 15/02/17 14:11, Byungchul Park wrote:
> Once pick_next_pushable_dl_task(rq) return a task, it guarantees that
> the task's cpu is rq->cpu, so task_cpu(next_task) is always rq->cpu if
> task == next_task. Remove a redundant condition and make code simpler.
>
>
[+Steve, Luca]
Hi,
On 15/02/17 14:11, Byungchul Park wrote:
> Once pick_next_pushable_dl_task(rq) return a task, it guarantees that
> the task's cpu is rq->cpu, so task_cpu(next_task) is always rq->cpu if
> task == next_task. Remove a redundant condition and make code simpler.
>
>
consuming more than the reserved utilisation. I still need some time to
> convince me that "runtime / (deadline - t) > dl_runtime / dl_deadline"
> is the correct check to use (in this case, shouldn't we also change the
> admission test to use densities instead of utilisations?
served utilisation. I still need some time to
> convince me that "runtime / (deadline - t) > dl_runtime / dl_deadline"
> is the correct check to use (in this case, shouldn't we also change the
> admission test to use densities instead of utilisations?)
>
Right, thi
On 14/02/17 11:06, Byungchul Park wrote:
> On Tue, Feb 14, 2017 at 08:42:43AM +0900, Byungchul Park wrote:
> > On Mon, Feb 13, 2017 at 03:24:55PM +0000, Juri Lelli wrote:
> > > > > > I think we actually want to replenish and set the next deadline at
> > >
On 14/02/17 11:06, Byungchul Park wrote:
> On Tue, Feb 14, 2017 at 08:42:43AM +0900, Byungchul Park wrote:
> > On Mon, Feb 13, 2017 at 03:24:55PM +0000, Juri Lelli wrote:
> > > > > > I think we actually want to replenish and set the next deadline at
> > >
ou disagree.
>
> You can add mine too. I put in a lot of trace_printk()s and it all
> appears to be exactly as Daniel describes.
>
> Reviewed-by: Steven Rostedt (VMware) <rost...@goodmis.org>
>
I'm a bit late, but I looked at it as well and it looks good.
If you want,
Reviewed-by: Juri Lelli <juri.le...@arm.com>
Thanks!
- Juri
in a lot of trace_printk()s and it all
> appears to be exactly as Daniel describes.
>
> Reviewed-by: Steven Rostedt (VMware)
>
I'm a bit late, but I looked at it as well and it looks good.
If you want,
Reviewed-by: Juri Lelli
Thanks!
- Juri
[+Luca]
On 13/02/17 13:29, Byungchul Park wrote:
> On Mon, Feb 13, 2017 at 11:30:09AM +0900, Byungchul Park wrote:
> > On Fri, Feb 10, 2017 at 01:39:33PM +0000, Juri Lelli wrote:
> > > Hi,
> > >
> > > On 10/02/17 18:11, Byungchul Park wrote:
> > >
[+Luca]
On 13/02/17 13:29, Byungchul Park wrote:
> On Mon, Feb 13, 2017 at 11:30:09AM +0900, Byungchul Park wrote:
> > On Fri, Feb 10, 2017 at 01:39:33PM +0000, Juri Lelli wrote:
> > > Hi,
> > >
> > > On 10/02/17 18:11, Byungchul Park wrote:
> > >
Hi Greg,
On 10/02/17 15:28, Greg KH wrote:
> On Thu, Feb 09, 2017 at 09:25:22AM +0000, Juri Lelli wrote:
> > arm and arm64 share lot of code relative to parsing CPU capacity
> > information from DT, using that information for appropriate scaling and
> > exposing a sysfs
Hi Greg,
On 10/02/17 15:28, Greg KH wrote:
> On Thu, Feb 09, 2017 at 09:25:22AM +0000, Juri Lelli wrote:
> > arm and arm64 share lot of code relative to parsing CPU capacity
> > information from DT, using that information for appropriate scaling and
> > exposing a sysfs
Hi,
On 10/02/17 18:11, Byungchul Park wrote:
> For a task passing its deadline while !rq, it will be replenished
> in the following path because dl_se->deadline < rq_lock.
>
>enqueue_dl_entity(ENQUEUE_WAKEUP)
> update_dl_entity
>
> Therefore, code replenishing it in the timer callback
Hi,
On 10/02/17 18:11, Byungchul Park wrote:
> For a task passing its deadline while !rq, it will be replenished
> in the following path because dl_se->deadline < rq_lock.
>
>enqueue_dl_entity(ENQUEUE_WAKEUP)
> update_dl_entity
>
> Therefore, code replenishing it in the timer callback
e26775 ('ARM: 8621/3: parse cpu capacity-dmips-mhz from DT')
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index ebf47d91b804..b439f7fff86b
')
Signed-off-by: Juri Lelli
---
arch/arm/kernel/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index ebf47d91b804..b439f7fff86b 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -165,7
Reference to cpu capacity binding has a wrong number. Fix it.
Reported-by: Lorenzo Pieralisi <lorenzo.pieral...@arm.com>
Signed-off-by: Juri Lelli <juri.le...@arm.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Documentation/devicetree/bindings/arm/cpus.txt | 4 ++--
Reference to cpu capacity binding has a wrong number. Fix it.
Reported-by: Lorenzo Pieralisi
Signed-off-by: Juri Lelli
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/arm/cpus.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree
/linux-jl.git upstream/default_caps_factorize-v2
Best,
- Juri
[1] v1 - https://marc.info/?l=linux-kernel=148483680119355=2
Juri Lelli (9):
Documentation: arm: fix wrong reference number in DT definition
Documentation/ABI: add information about cpu_capacity
arm: fix return value
/linux-jl.git upstream/default_caps_factorize-v2
Best,
- Juri
[1] v1 - https://marc.info/?l=linux-kernel=148483680119355=2
Juri Lelli (9):
Documentation: arm: fix wrong reference number in DT definition
Documentation/ABI: add information about cpu_capacity
arm: fix return value
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about
CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/
cpu-capacity.txt).
Add such description.
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
Documentation/ABI/testing/sysfs-devices-system-cpu | 7
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about
CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/
cpu-capacity.txt).
Add such description.
Signed-off-by: Juri Lelli
---
Documentation/ABI/testing/sysfs-devices-system-cpu | 7 +++
1 file changed, 7
ty attribute')
Signed-off-by: Juri Lelli <juri.le...@arm.com>
---
arch/arm/kernel/topology.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index b439f7fff86b..c760a321935b 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm
The sysfs cpu_capacity entry for each CPU has nothing to do with
PROC_FS, nor it's in /proc/sys path.
Remove such ifdef.
Cc: Russell King
Reported-and-suggested-by: Sudeep Holla
Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity attribute')
Signed-off-by: Juri Lelli
---
arch/arm
1001 - 1100 of 2448 matches
Mail list logo