Skip to contentSkip to conversation

arm-bsp/linux: Add PMU support to fvp-baser-aemv8r64

PATCH New [email protected] 1 participant 1 message Jul 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/linux: Add PMU support to fvp-baser-aemv8r64

Set Shared Peripheral Interrupts (SPIs) for PMUIRQ so that profiling tools (such as perf) can use PMU events.

Issue-Id: SCM-3164

Change-Id Idcfee3f33d9f9e15578405dd39be4f434f3faa06
---
 .../linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
meta-arm-bsp/recipes-kernel/linux/files/fvp-baser-aemv8r64/fvp-baser-aemv8r64.dts +8 -0
index f70b484..3e552f8 100644
@@ -185,6 +185,14 @@
                 serial3 = "/uart@9c0c0000";
         };
 
+        pmu {
+                compatible = "arm,armv8-pmuv3";
+                interrupts = <0 60 4>,
+                             <0 61 4>,
+                             <0 62 4>,
+                             <0 63 4>;
+        };
+
         chosen {
                 bootargs = "earlycon console=ttyAMA0 loglevel=8 rootfstype=ext4 root=/dev/vda1 rw";
                 stdout-path = "serial0";
Signature · 1 line
2.25.1