Skip to content

perf IRQ fixes

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: perf: limit sample_period to half max_period in non-sampling modearch/arm/include/asm/pmu.h arch/arm/kernel/perf_event.c arch/arm/kernel/perf_event_v6.c +2 more+16 -160 replies
2/4ARM: perf: clear overflow flag when disabling counter on ARMv7 PMUarch/arm/kernel/perf_event_v7.c+5 -01 reply
3/4ARM: perf: check that we have an event in the PMU IRQ handlersarch/arm/kernel/perf_event_v6.c arch/arm/kernel/perf_event_v7.c arch/arm/kernel/perf_event_xscale.c+12 -181 reply
3/4ARM: perf: check that we have an event in the PMU IRQ handlers+0 -01 reply
3/4ARM: perf: check that we have an event in the PMU IRQ handlers+0 -01 reply
3/4ARM: perf: check that we have an event in the PMU IRQ handlers+0 -01 reply
4/4ARM: perf: fix overflow handling for xscale2 PMUsarch/arm/kernel/perf_event_xscale.c+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] perf IRQ fixes

Hello,

This series is a set of fixes to the IRQ handling for perf-events on ARM. Thanks to Ming Lei for identifying a couple of the issues addressed here.

I tested the xscale2 changes on my Gumstix Verdex (PXA270 although the board isn't actually supported in mainline), the v6 changes on a PB1176 and the v7 changes on a Cortex-A9 vexpress.

I think all of these are candidates for -stable, although it may be too late for the final cut of 3.3.

All comments welcome,

Will

Will Deacon (4):
ARM: perf: limit sample_period to half max_period in non-sampling
mode
ARM: perf: clear overflow flag when disabling counter on ARMv7 PMU
ARM: perf: check that we have an event in the PMU IRQ handlers
ARM: perf: fix overflow handling for xscale2 PMUs

 arch/arm/include/asm/pmu.h          |    2 +-
 arch/arm/kernel/perf_event.c        |   22 +++++++++++-----------
 arch/arm/kernel/perf_event_v6.c     |   22 +++-------------------
 arch/arm/kernel/perf_event_v7.c     |   11 ++++++++++-
 arch/arm/kernel/perf_event_xscale.c |   20 ++++++++++++++++----
 5 files changed, 41 insertions(+), 36 deletions(-)
Signature · 1 line
1.7.4.1