Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] Updates to ARM PMU event numbers
Date: Fri, 30 Sep 2011 11:15:53 +0100	[thread overview]
Message-ID: <1317377756-5986-1-git-send-email-will.deacon@arm.com> (raw)

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(-)

             reply	other threads:[~2011-09-30 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30 10:15 Will Deacon [this message]
2011-09-30 10:15 ` [PATCH 1/3] ARM: perf: fix HW_CACHE_* events on Cortex-A9 Will Deacon
2011-09-30 10:15 ` [PATCH 2/3] ARM: perf: clean and update ARMv7 event numbers Will Deacon
2011-09-30 10:15 ` [PATCH 3/3] ARM: perf: add support for stalled cycle ABI events Will Deacon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317377756-5986-1-git-send-email-will.deacon@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox