Skip to content

ARM: perf: updates for 3.2

Jamie Iles linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 10 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 10 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchJamie IlesJean Pihet
SeriesA-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] ARM: perf: updates for 3.2
Quoted 30 lines · Will Deacon
Quoted 1 line · Jamie Iles

Hi Will,

Hi Jamie,

Quoted 25 lines · Will Deacon
Quoted 23 lines

Hello,

This patch series contains a number of updates to the ARM PMU and perf code so that we can support mode exclusion, which is new in debug architecture 7.1 (as implemented by the Cortex-A15). Some of these updates also coincide with work to support System PMUs (PMUs that are not affine to a single CPU) but that is a larger body of work which will be posted separately at a later date.

The patches do the following:

1.) Greatly simplify the PMU reservation mechanism so that the
handling of platform_devices is moved into perf.
2.) Cleans up the interrupt registration and some of the types used
to represent events and registers.
3.) Moves event indexing to start from zero rather than one, making
the code more readable and also easier to extend for mode exclusion.
4.) Adds support for mode exclusion (user / kernel / hyp) and
implements this for Cortex-A15.

I've been running these patches since 3.0, so they've been tested on 1176, 11MPCore, Cortex-A5, Cortex-A9 and Cortex-A15 platforms.

Quoted 8 lines
Quoted 4 lines

A quick glance through them and they all look nice to me, but I can't get them to apply to any tree (next and master). It looks like they're based on a tree with changes to the v7 perf support so I'm guessing it's your patches with A15 support.

Thanks for taking a look. The patches should just apply against -rc1:

http://www.linux-arm.org/git?p=linux-2.6-wd.git;a=shortlog;h=refs/heads/perf-updates

Yes, you're quite right. I seem to have lost patches 1 and 4. Probably finger trouble on my part!

Anyhow, I've pulled from your git tree and they appear to work nicely, so:

Jamie