1. 26 11月, 2018 1 次提交
  2. 23 11月, 2018 4 次提交
  3. 21 11月, 2018 1 次提交
  4. 19 11月, 2018 1 次提交
  5. 15 11月, 2018 2 次提交
    • G
      arm64: dts: renesas: Add CPU capacity-dmips-mhz · 2250d856
      Gaku Inami 提交于
      Set the capacity-dmips-mhz for R-Car Gen3 SoCs, that is based on
      dhrystone. The average in 10 times of dhrystone result as follows:
      
      r8a7795 SoC (A57x4 + A53x4)
        CPU   max-freq   dhrystone
        ---------------------------------
        A57   1500 MHz  11470943 lps/s
        A53   1200 MHz   4798583 lps/s
      
      r8a7796 SoC (A57x2 + A53x4)
        CPU   max-freq   dhrystone
        ---------------------------------
        A57   1500 MHz  11463526 lps/s
        A53   1200 MHz   4793276 lps/s
      
      Based on above, capacity-dmips-mhz values are calculated as follows:
      
      r8a7795 SoC
        A57 : 1024 / (11470943 / 1500) * (11470943 / 1500) = 1024
        A53 : 1024 / (11470943 / 1500) * ( 4798583 / 1200) =  535
      
      r8a7796 SoC
        A57 : 1024 / (11463526 / 1500) * (11463526 / 1500) = 1024
        A53 : 1024 / (11463526 / 1500) * ( 4793276 / 1200) =  535
      
      However, since each CPUs have different max frequencies, the final
      CPU capacities of A53 are scaled by this difference, the values are
      as follows.
      
      [r8a7795 SoC]
        $ cat /sys/devices/system/cpu/cpu*/cpu_capacity
        1024	<---- CPU capacity of A57
        1024
        1024
        1024
        428	<---- CPU capacity of A53
        428
        428
        428
      
      [r8a7796 SoC]
        $ cat /sys/devices/system/cpu/cpu*/cpu_capacity
        1024	<---- CPU capacity of A57
        1024
        428	<---- CPU capacity of A53
        428
        428
        428
      Signed-off-by: NGaku Inami <gaku.inami.xh@renesas.com>
      Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      2250d856
    • G
      arm64: dts: renesas: Add CPU topology on R-Car Gen3 SoCs · b380ae0d
      Gaku Inami 提交于
      This patch adds the "cpu-map" into r8a7795/r8a7796 composed of
      multi-cluster. This definition is used to parse the cpu topology.
      Signed-off-by: NGaku Inami <gaku.inami.xh@renesas.com>
      Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      b380ae0d
  6. 13 11月, 2018 2 次提交
  7. 08 11月, 2018 4 次提交
  8. 06 11月, 2018 1 次提交
  9. 05 11月, 2018 24 次提交