[PATCH] perf/arm_cspmu: Add Arm system PMU

Robin Murphy robin.murphy at arm.com
Mon Oct 5 05:29:22 PDT 2026


On 04/10/2026 6:26 pm, Will Deacon wrote:
> On Wed, Sep 09, 2026 at 05:23:00PM +0100, Robin Murphy wrote:
>> Arm's latest Compute Subsystems and SoCs are using a common PMU block
>> in various places which can mostly just be driven as a generic 64-bit
>> CoreSight PMU, but does have an IMP-DEF register for additional
>> filtering. The details of event and filter encodings depend on the
>> particular PMU instance, so are left to the higher level Arm Telemetry
>> Solution tooling.
>>
>> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
>> ---
>>   drivers/perf/arm_cspmu/Kconfig      |  7 +++
>>   drivers/perf/arm_cspmu/Makefile     |  1 +
>>   drivers/perf/arm_cspmu/arm_cspmu.c  |  7 +++
>>   drivers/perf/arm_cspmu/arm_cspmu.h  |  1 +
>>   drivers/perf/arm_cspmu/arm_syspmu.c | 67 +++++++++++++++++++++++++++++
>>   5 files changed, 83 insertions(+)
>>   create mode 100644 drivers/perf/arm_cspmu/arm_syspmu.c
> 
> Sashiko failed to apply this and so did I :/
> 
> What is it based on?

Ah, sorry, I sent this straight off my local branch where it's on top of 
the BMU patches - clearly I forgot to consider that that would mean some 
context conflicts in the Kconfig and Makefile. I can resend if that's 
easiest.

Cheers,
Robin.



More information about the linux-arm-kernel mailing list