Thread (3 messages) 3 messages, 2 authors, 2015-03-02

Re: [PATCH v3 0/3] Scorpion PMU support

From: Will Deacon <hidden>
Date: 2015-03-02 18:24:25
Also in: linux-arm-kernel, linux-arm-msm, lkml

On Sat, Feb 28, 2015 at 12:11:32AM +0000, Stephen Boyd wrote:
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, 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. The second
patch is an optimization for an implementation defined register. The 
final patch is the one that actually adds support for Scorpion.

Changes from v2:
 * New patch 2
 * Macros instead of an inline function for patch 1
Thanks, Stephen. I'll queue this for 4.1.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help