Re: [PATCH] arm64: dts: meson: Add capacity-dmips-mhz attributes to G12B

From: Kevin Hilman
Date: Tue Sep 24 2019 - 15:10:10 EST


Christian Hewitt <christianshewitt@xxxxxxxxx> writes:

> From: Frank Hartung <supervisedthinking@xxxxxxxxx>
>
> From: Frank Hartung <supervisedthinking@xxxxxxxxx>

nit: duplicate From line. Removed when applying.

> Meson G12B SoCs (S922X and A311D) are a big-little design where not all CPUs
> are equal; the A53s cores are weaker than the A72s.
>
> Include capacity-dmips-mhz properties to tell the OS there is a difference
> in processing capacity. The dmips values are based on similar submissions for
> other A53/A72 SoCs: HiSilicon 3660 [1] and Rockchip RK3399 [2].
>
> This change is particularly beneficial for use-cases like retro gaming where
> emulators often run on a single core. The OS now chooses an A72 core instead
> of an A53 core.
>
> [1] https://lore.kernel.org/patchwork/patch/862742/
> [2] https://patchwork.kernel.org/patch/10836577/
>
> Signed-off-by: Frank Hartung <supervisedthinking@xxxxxxxxx>
> Signed-off-by: Christian Hewitt <christianshewitt@xxxxxxxxx>

Queued for v5.5,

Thanks!

Kevin