]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7463/1: topology: Update cpu_power according to DT information
authorVincent Guittot <vincent.guittot@linaro.org>
Tue, 10 Jul 2012 13:13:12 +0000 (14:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jul 2012 19:38:12 +0000 (15:38 -0400)
commitb727cd07a9ff55360746b4e69a143d816ae8d31c
tree6ba3ddf0732b8ffe368edac9f062cb628b8636d6
parent77f54ad6f27c443d9b4bde6e98af67352371375b
ARM: 7463/1: topology: Update cpu_power according to DT information

Use cpu compatibility field and clock-frequency field of DT to
estimate the capacity of each core of the system and to update
the cpu_power field accordingly.
This patch enables to put more running tasks on big cores than
on LITTLE ones. But this patch doesn't ensure that long running
tasks will run on big cores and short ones on LITTLE cores.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/topology.c