arm64: dts: rockchip: Add capacity-dmips-mhz attributes to rk3399
authorMarc Zyngier <marc.zyngier@arm.com>
Sat, 2 Mar 2019 13:10:30 +0000 (13:10 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 Mar 2019 07:45:46 +0000 (08:45 +0100)
commit97df3aa76b4a384e29668f374a8b1034a31aa215
treef8d4bf2affbe5e2920133d88dc63126c20cfaf59
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
arm64: dts: rockchip: Add capacity-dmips-mhz attributes to rk3399

The RK3399 has the interesting property to be a so called "big-little"
system, where not all the CPUs are equal (the A53s are much weaker
than the A72s).

So far, we're not telling the OS that there is such a difference in
processing capacity, and Linux assumes that they are equal. Too bad.

Let's tell the OS about this by using the capacity-dmips-mhz
property. The values used here are those used on the Juno platform,
which is quite similar. This leads to the scheduler knowing that
it can pack more tasks on the A72s, and leads to a better interactive
experience.

Tested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi