]> 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)
commitb59e9a273a068bb634725cd6dd9f8dad62a0137b
tree6ba3ddf0732b8ffe368edac9f062cb628b8636d6
parentad9dd3f397c0b8042b868149ee85835691242c44
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