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

Juri Lelli juri.lelli at arm.com
Mon Sep 12 00:24:24 PDT 2016


Hi,

this is a ping for people interested in this series. Patches 2,4,7-8
still needs ACKs.

I know it's only been a week since I posted v7, but this series would
pair nicely with asym cpu capacity support bits already sitting in
tip/sched/core. I also know that it might be already late for 4.9 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).
> 
> A few changes from v6:
> 
>  - rebase on top of mainline (4.8-rc5)
>  - some ACKs collected
>  - changelogs fixes
>  - use cpuinfo.max_freq
>  - add delayed work to unregister notifier
> 
> Patches high level description:
> 
>  o 01/08 introduces documentation for the new optional DT binding
>  o [02-06]/08 add cpu-capacity attribute to TC2, Juno and Juno r2 DTs and
>    provide parsing of such information at boot time
>  o [07-08]/08 introduce sysfs attribute
> 
> In case you would like to test this out, I pushed a branch here:
> 
>  git://linux-arm.org/linux-jl.git upstream/default_caps_v7
> 
> This branch contains additional patches, useful to better understand how CPU
> capacity information is actually used by the scheduler.
> 
> These patches also form the basis for Morten/Dietmar's "Clean-ups and
> asymmetric cpu capacity support" series [2] (and the EAS stack in general).
> 
> Best,
> 
> - Juri
> 
> [1] v1 - https://lkml.org/lkml/2015/11/23/391
>     v2 - https://lkml.org/lkml/2016/1/8/417
>     v3 - https://lkml.org/lkml/2016/2/3/405
>     v4 - https://lkml.org/lkml/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 cpu capacity-dmips-mhz information
>   arm64: parse cpu capacity-dmips-mhz from DT
>   arm64, dts: add Juno cpu capacity-dmips-mhz information
>   arm64, dts: add Juno r2 cpu capacity-dmips-mhz information
>   arm: add sysfs cpu_capacity attribute
>   arm64: add sysfs cpu_capacity attribute
> 
>  .../devicetree/bindings/arm/cpu-capacity.txt       | 236 +++++++++++++++++++++
>  Documentation/devicetree/bindings/arm/cpus.txt     |  10 +
>  arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts         |   5 +
>  arch/arm/kernel/topology.c                         | 228 +++++++++++++++++++-
>  arch/arm64/boot/dts/arm/juno-r2.dts                |   6 +
>  arch/arm64/boot/dts/arm/juno.dts                   |   6 +
>  arch/arm64/kernel/topology.c                       | 232 +++++++++++++++++++-
>  7 files changed, 721 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/arm/cpu-capacity.txt
> 
> -- 
> 2.7.0
> 



More information about the linux-arm-kernel mailing list