Skip to content

arm64: perf: Add support for ARMv8.5-PMU 64-bit counters

Mark Rutland kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest3 patches 4 repliesIn review

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: cpufeature: Extract capped perfmon fieldsarch/arm64/include/asm/cpufeature.h+23 -00 replies
2/3KVM: arm64: limit PMU version to PMUv3 for ARMv8.1arch/arm64/include/asm/sysreg.h arch/arm64/kvm/sys_regs.c+16 -00 replies
3/3arm64: perf: Add support for ARMv8.5-PMU 64-bit countersarch/arm64/include/asm/perf_event.h arch/arm64/include/asm/sysreg.h arch/arm64/kernel/perf_event.c +1 more+76 -180 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSuzuki K Poulose
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCHv6 0/3] arm64: perf: Add support for ARMv8.5-PMU 64-bit counters

This is a respin of Andrew Murray's series to enable support for 64-bit counters as introduced in ARMv8.5.

I've given this a spin on (ARMv8.2) hardware, to test that there are no regressions, but I have not had the chance to test in an ARMv8.5 model (which I beleive Andrew had previously tested).

Since v5 [1]:
* Don't treat perfmon ID fields as signed
* Fix up ID field names
* Explicitly compare ARMV8.5 PMU value

[1] https://lkml.kernel.org/r/[email protected]

Thanks,
Mark.

Andrew Murray (3):
arm64: cpufeature: Extract capped perfmon fields
KVM: arm64: limit PMU version to PMUv3 for ARMv8.1
arm64: perf: Add support for ARMv8.5-PMU 64-bit counters

 arch/arm64/include/asm/cpufeature.h | 23 ++++++++++
 arch/arm64/include/asm/perf_event.h |  3 +-
 arch/arm64/include/asm/sysreg.h     | 10 +++++
 arch/arm64/kernel/perf_event.c      | 86 +++++++++++++++++++++++++++++--------
 arch/arm64/kvm/sys_regs.c           | 10 +++++
 include/linux/perf/arm_pmu.h        |  1 +
 6 files changed, 115 insertions(+), 18 deletions(-)
Signature · 6 lines
2.11.0

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm