[PATCH 0/3] Updates to ARM PMU event numbers

Will Deacon will.deacon at arm.com
Fri Sep 30 06:15:53 EDT 2011


Hello,

These three patches update the ARM PMU event numbers so that:

* The two new ABI events are supported on ARM (frontend/backend stalls).

* The ARMv7 PMU events are generally tidied up and made consistent
  between PMUs.

* The HW_CACHE events on Cortex-A9 are routed to more sane event
  definitions. I'd like to get this into the stable tress, so it exists
  as a separate patch.

Note that the generalised events are just an approximation, so although
we don't always provide a direct correspondence in hardware, we aim to
use an event that will at least exhibit statistically equivalent results.

These are taken again rmk/devel-stable, although the A9 fix will apply
against -rc8 and I plan to push it as a fix.

Feedback welcome,

Will


Will Deacon (3):
  ARM: perf: fix HW_CACHE_* events on Cortex-A9
  ARM: perf: clean and update ARMv7 event numbers
  ARM: perf: add support for stalled cycle ABI events

 arch/arm/kernel/perf_event_v6.c     |   32 ++--
 arch/arm/kernel/perf_event_v7.c     |  401 +++++++++++++----------------------
 arch/arm/kernel/perf_event_xscale.c |   16 +-
 3 files changed, 179 insertions(+), 270 deletions(-)




More information about the linux-arm-kernel mailing list