[PATCH 3/5] arm64: dts: renesas: r8a7795: Add cpu capacity-dmips-mhz
Geert Uytterhoeven
geert at linux-m68k.org
Mon Mar 5 02:23:42 PST 2018
Hi Inami-san,
On Tue, Feb 27, 2018 at 3:19 AM, Gaku Inami <gaku.inami.xh at renesas.com> wrote:
> Set the capacity-dmips-mhz for r8a7795, that is based on dhrystone.
>
> Expected cpu capacity:
> Cortex-A57 at 1.5GHz: 1024, Cortex-A53 at 1.2GHz: 411
Thanks for your patch!
> Signed-off-by: Gaku Inami <gaku.inami.xh at renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>
411 for the A53 cores sounds a bit low to me, though.
Documentation/devicetree/bindings/arm/cpu-capacity.txt uses 578.
Perhaps you already took into account the maximum clock frequencies?
According to the binding document, you should not do that (cfr.
"final capacities are 1024 for cluster0 and 446 for cluster1" in the
bindings doc).
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -123,6 +127,7 @@
> enable-method = "psci";
> clocks =<&cpg CPG_CORE R8A7795_CLK_Z2>;
> operating-points-v2 = <&cluster1_opp>;
> + capacity-dmips-mhz = <411>;
> };
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list