linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] Scorpion PMU support
Date: Tue, 10 Feb 2015 17:05:22 -0800	[thread overview]
Message-ID: <1423616724-20849-1-git-send-email-sboyd@codeaurora.org> (raw)

These patches add support for the Scorpion PMU found on devices
such as msm8660, qsd8x50, etc. The first patch is some groundwork
to make functions more "generic". Even then we end up copying quite
a bit of code from the Krait part into the Scorpion part with only
subtle tweaks because two things happen:

 1. We gain another "region" register, i.e. L2LPM
 2. The way to access the region registers are with different cp15 instructions

I'm not sure how to make this better, suggestions are welcome.

Stephen Boyd (2):
  ARM: perf: Preparatory work for Scorpion PMU support
  ARM: perf: Add support for Scorpion PMUs

 Documentation/devicetree/bindings/arm/pmu.txt |   2 +
 arch/arm/kernel/perf_event_cpu.c              |   2 +
 arch/arm/kernel/perf_event_v7.c               | 482 +++++++++++++++++++++++---
 3 files changed, 445 insertions(+), 41 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

             reply	other threads:[~2015-02-11  1:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11  1:05 Stephen Boyd [this message]
2015-02-11  1:05 ` [PATCH 1/2] ARM: perf: Preparatory work for Scorpion PMU support Stephen Boyd
2015-02-11  1:05 ` [PATCH 2/2] ARM: perf: Add support for Scorpion PMUs Stephen Boyd
2015-02-11  2:59   ` Ashwin Chaugule
2015-02-11 18:27     ` Stephen Boyd
2015-02-12  1:57       ` Ashwin Chaugule
2015-02-11 23:28   ` Stephen Boyd
2015-02-12 12:49   ` Mark Rutland
2015-02-12 18:53     ` Stephen Boyd

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=1423616724-20849-1-git-send-email-sboyd@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --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).