PMU setting in bcm2387 dtsi file

Vince Weaver vincent.weaver at
Tue Aug 15 12:01:21 PDT 2017

On Sun, 13 Aug 2017, Stefan Wahren wrote:

> Please do not this. I like to see the correct values in the dts files. 
> The bcm2836 ones doesn't look suitable to me. I think the 
> rockchip/rk3328.dtsi is similiar to the bcm2837 and it defines one irq 
> for each core.

I did ask at the bare-metal forum, and they pointed me to this document:

Which seems to indicate that the PMU interrupt is on IRQ9 on all cores.

So if I just copy over the bcm2836 device tree pmu interrupt fields:

+       pmu {
+               compatible = "arm,armv8-pmuv3";
+               interrupt-parent = <&local_intc>;
+               interrupts = <9>;
+       };

It actually works as expcted for my various perf_event tests, including 
ones that depend on interrupts.

$ cat /proc/interrupts 
           CPU0       CPU1       CPU2       CPU3       
  9:        562          4       1616         10  bcm2836-pmu   9 Edge      arm-pmu


More information about the linux-rpi-kernel mailing list