public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: jan.glauber@caviumnetworks.com (Jan Glauber)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] arm64/perf: Add Broadcom Vulcan PMU support
Date: Tue, 22 Mar 2016 17:49:47 +0100	[thread overview]
Message-ID: <20160322164947.GB23772@hardcore> (raw)
In-Reply-To: <CANK38rZQSOJPN76eP1LFcx8GduZRf8z-3w_kriAUg2=uON8Rcw@mail.gmail.com>

Hi Ashok,

On Tue, Mar 22, 2016 at 10:09:42PM +0530, Ashok Sekar wrote:
> Hi Will,
> 
> On Tue, Mar 22, 2016 at 3:31 PM, Will Deacon <will.deacon@arm.com> wrote:
> > Hi Ashok,
> >
> > On Wed, Mar 16, 2016 at 06:01:47AM -0700, Ashok Kumar wrote:

[...]

> >> +static struct attribute *vulcan_pmuv3_event_attrs[] = {
> >> +     &armv8_event_attr_sw_incr.attr.attr,
> >> +     &armv8_event_attr_l1i_cache_refill.attr.attr,
> >> +     &armv8_event_attr_l1i_tlb_refill.attr.attr,
> >> +     &armv8_event_attr_l1d_cache_refill.attr.attr,
> >> +     &armv8_event_attr_l1d_cache_access.attr.attr,
> >> +     &armv8_event_attr_l1d_tlb_refill.attr.attr,
> >> +     &armv8_event_attr_ld_retired.attr.attr,
> >> +     &armv8_event_attr_st_retired.attr.attr,
> >> +     &armv8_event_attr_inst_retired.attr.attr,
> >> +     &armv8_event_attr_exc_taken.attr.attr,
> >> +     &armv8_event_attr_exc_return.attr.attr,
> >
> > ... but I'm not keen on having these tables in the kernel for each CPU
> > PMU we support. Where I'd like to get to is:
> >
> >   * We expose the architected events (0x0-0x3f) in /sys using the existing
> >     PMUv3 tables in conjunction with PMCEIDn_EL0 (Jan mentioned this before)
> I will use armv8_pmuv3_event_attrs itself for the time being for Vulcan.
> Once the events identification mechanism is done using PMCEIDn_EL0, it
> should take care
> of removing the unsupported events from the table for Vulcan too.
> Jan is working on this currently? or else I could look into it.

I did not find time yet to work on PMCEID support, so feel to start on
it but please keep me in the loop.

Jan

  reply	other threads:[~2016-03-22 16:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16 13:01 [PATCH 0/5] arm64: perf: Broadcom Vulcan PMU support Ashok Kumar
2016-03-16 13:01 ` [PATCH 1/5] arm64/perf: Changed events naming convention for uniformity Ashok Kumar
2016-03-22  9:47   ` Will Deacon
2016-03-22 15:31     ` Ashok Sekar
2016-03-16 13:01 ` [PATCH 2/5] arm64/perf: Define complete ARMv8 recommended implementation defined events Ashok Kumar
2016-03-16 13:01 ` [PATCH 3/5] arm64/perf: Add Broadcom Vulcan PMU support Ashok Kumar
2016-03-22 10:01   ` Will Deacon
2016-03-22 16:39     ` Ashok Sekar
2016-03-22 16:49       ` Jan Glauber [this message]
2016-03-16 13:01 ` [PATCH 4/5] arm64: dts: Add Broadcom Vulcan PMU in dts Ashok Kumar
2016-03-16 13:01 ` [PATCH 5/5] Documentation: arm64: pmu: Add Broadcom Vulcan PMU binding Ashok Kumar

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=20160322164947.GB23772@hardcore \
    --to=jan.glauber@caviumnetworks.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