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

Kevin Hilman khilman at baylibre.com
Tue Sep 24 12:10:05 PDT 2019


Christian Hewitt <christianshewitt at gmail.com> writes:

> From: Frank Hartung <supervisedthinking at gmail.com>
>
> From: Frank Hartung <supervisedthinking at gmail.com>

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 at gmail.com>
> Signed-off-by: Christian Hewitt <christianshewitt at gmail.com>

Queued for v5.5,

Thanks!

Kevin



More information about the linux-amlogic mailing list