[PATCH 0/8] ARM: dts: renesas: Add PMU device nodes

Simon Horman horms at verge.net.au
Wed May 9 12:12:39 PDT 2018


On Mon, May 07, 2018 at 03:56:59PM +0200, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> This patch series enables support for the ARM Performance Monitor Units
> in Cortex-A7, Cortex-A9, and Cortex-A15 CPU cores on Renesas RZ/A1,
> R-Car Gen2, and RZ/G1 SoCs.  This allows for better performance analysis
> using the "perf" tool.
> 
> Sample output of "perf stat echo" on r8a7791/koelsch:
> 
>   - Before:
> 
>      Performance counter stats for 'echo':
> 
> 	      2,636300      task-clock (msec)         #    0,265 CPUs utilized
> 		     8      context-switches          #    0,003 M/sec
> 		     0      cpu-migrations            #    0,000 K/sec
> 		    43      page-faults               #    0,016 M/sec
>        <not supported>      cycles
>        <not supported>      stalled-cycles-frontend
>        <not supported>      stalled-cycles-backend
>        <not supported>      instructions
>        <not supported>      branches
>        <not supported>      branch-misses
> 
> 	   0,009960300 seconds time elapsed
> 
>   - After:
> 
>      Performance counter stats for 'echo':
> 
> 	      2,455400      task-clock (msec)         #    0,273 CPUs utilized
> 		     3      context-switches          #    0,001 M/sec
> 		     0      cpu-migrations            #    0,000 K/sec
> 		    45      page-faults               #    0,018 M/sec
> 	     3.556.784      cycles                    #    1,449 GHz
>        <not supported>      stalled-cycles-frontend
>        <not supported>      stalled-cycles-backend
> 	     1.350.480      instructions              #    0,38  insns per cycle
> 	       335.542      branches                  #  136,655 M/sec
> 		18.075      branch-misses             #    5,39% of all branches
> 
> 	   0,008987900 seconds time elapsed
> 
> Still missing:
>   - R-Mobile APE6 (no PMU interrupt documented),
>   - R-Car M1A and H1 (the PMU interrupt seems to be routed to the legacy
>     SH INTC only?),
>   - RZ/G1C (SMP support not yet upstream).
> 
> This has been tested on r8a7791/koelsch, and boot-tested on
> r7s72100/genmai, r8a7790/lager, r8a7792/blanche, and r8a7794/silk.

Thanks, applied.



More information about the linux-arm-kernel mailing list