arm64: topology: Tell the scheduler about the relative power of cores
authorMark Brown <broonie@linaro.org>
Tue, 10 Dec 2013 22:19:11 +0000 (22:19 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 11 Dec 2013 22:33:09 +0000 (22:33 +0000)
commit66f06c94717c696fee2fa3ba139e8ffe226758ec
treeff997a53ecd9873d2987a901bd4378f584f17dc4
parent2166811c3289da53b42cd44228cc6c72acc57fd4
arm64: topology: Tell the scheduler about the relative power of cores

In non-heterogeneous systems like big.LITTLE systems the scheduler will be
able to make better use of the available cores if we provide power numbers
to it indicating their relative performance. Do this by parsing the CPU
nodes in the DT.

The power numbers are the same as for ARMv7 since it seems that the
expected differential between the big and little cores is very similar on
both ARMv7 and ARMv8. These numbers are just an initial and basic
approximation for use with the current scheduler, it is likely that both
experience with silicon and ongoing work on improving the scheduler will
lead to further tuning.

Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/topology.c