From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: l2x0: add PMU support
Date: Fri, 19 Aug 2016 11:33:50 +0100 [thread overview]
Message-ID: <20160819103349.GA25541@leverpostej> (raw)
In-Reply-To: <20160818190546.3c81388f8bd6d311bd28207c@arm.com>
On Thu, Aug 18, 2016 at 07:05:46PM -0500, Kim Phillips wrote:
> On Wed, 17 Aug 2016 17:26:31 +0100
> Mark Rutland <mark.rutland@arm.com> wrote:
>
> > The L2C-220 (AKA L220) and L2C-310 (AKA PL310) cache controllers feature
> > a Performance Monitoring Unit (PMU), which can be useful for tuning
> > and/or debugging. This hardware is always present and the relevant
> > registers are accessible to non-secure accesses. Thus, no special
> > firmware interface is necessary.
> >
> > This patch adds support for the PMU, plugging into the usual perf
> > infrastructure. The overflow interrupt is not always available (e.g. on
> > RealView PBX A9 it is not wired up at all), and the hardware counters
> > saturate, so the driver does not make use of this. Instead, the driver
> > periodically polls and reset counters as required to avoid losing
> > events due to saturation.
> >
> > Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> > Cc: Kim Phillips <kim.phillips@arm.com>
> > Cc: Pawel Moll <pawel.moll@arm.com>
> > Cc: Russell King <linux@armlinux.org.uk>
> > Cc: Will Deacon <will.deacon@arm.com>
> > ---
>
> FWIW, I was able to test this successfully on a pandaboard.
Great!
I've taken that as a Tested-by for v2 of the series [1], on the
assumption that you're happy with that.
Please give me a shout if that is not the case!
Thanks,
Mark.
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2016-August/450024.html
prev parent reply other threads:[~2016-08-19 10:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-17 16:26 [PATCH] arm: l2x0: add PMU support Mark Rutland
2016-08-18 9:10 ` Russell King - ARM Linux
2016-08-18 9:52 ` Mark Rutland
2016-08-19 0:05 ` Kim Phillips
2016-08-19 10:33 ` Mark Rutland [this message]
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=20160819103349.GA25541@leverpostej \
--to=mark.rutland@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;
as well as URLs for NNTP newsgroup(s).