arm64: Cpu invariant scheduler load-tracking and capacity support
authorJuri Lelli <juri.lelli@arm.com>
Thu, 30 Apr 2015 10:53:48 +0000 (11:53 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:18:50 +0000 (14:48 +0530)
commit70a528b9ada148dacc782e22fe7c0aaed9b6cfb7
tree2d6e187e7ce04104c7e146e9a66a3919cfbfa996
parent58342bc498f2450e02a2e1aafc28bb8cdf59b5cf
arm64: Cpu invariant scheduler load-tracking and capacity support

Provides the scheduler with a cpu scaling correction factor for more
accurate load-tracking and cpu capacity handling.

The Energy Model (EM) (in fact the capacity value of the last element
of the capacity states vector of the core (MC) level sched_group_energy
structure) is used as the source for this cpu scaling factor.

The cpu capacity value depends on the micro-architecture and the
maximum frequency of the cpu.

The maximum frequency part should not be confused with the frequency
invariant scheduler load-tracking support which deals with frequency
related scaling due to DFVS functionality.

Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
arch/arm64/include/asm/topology.h
arch/arm64/kernel/topology.c