ARM: perf: updates for 3.2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | ARM: perf: de-const struct arm_pmuarch/ arch/ arch/ +1 more | +21 | 0 replies | |
| 2/10 | ARM: PMU: move CPU PMU platform device handling and init into perfarch/ arch/ arch/ | +80 | 0 replies | |
| 3/10 | ARM: perf: use cpumask_t to record active IRQsarch/ | +31 | 0 replies | |
| 4/10 | ARM: perf: use u32 instead of unsigned long for PMNC registerarch/ | +6 | 0 replies | |
| 5/10 | ARM: perf: use integers for ARMv7 event indicesarch/ | +6 | 0 replies | |
| 6/10 | ARM: perf: index ARMv7 event counters starting from zeroarch/ | +88 | 0 replies | |
| 7/10 | ARM: perf: index Xscale and ARMv6 event counters starting from zeroarch/ arch/ | +5 | 0 replies | |
| 8/10 | ARM: perf: index PMU registers from zeroarch/ | +3 | 0 replies | |
| 9/10 | ARM: perf: allow armpmu to implement mode exclusionarch/ | +25 | 0 replies | |
| 10/10 | ARM: perf: add mode exclusion for Cortex-A15 PMUarch/ | +49 | 1 reply | |
| 10/10 | ARM: perf: add mode exclusion for Cortex-A15 PMU | +0 | 0 replies |
Reviews trailers per patch
None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jamie Iles | Jean Pihet |
|---|---|---|
| Series | A-b | R-b |
| 1/10 | ||
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | ||
| 6/10 | ||
| 7/10 | ||
| 8/10 | ||
| 9/10 | ||
| 10/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] ARM: perf: updates for 3.2
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.
Once again, all feedback is welcome.
Will
Mark Rutland (1):
ARM: perf: de-const struct arm_pmu
Will Deacon (9):
ARM: PMU: move CPU PMU platform device handling and init into perf
ARM: perf: use cpumask_t to record active IRQs
ARM: perf: use u32 instead of unsigned long for PMNC register
ARM: perf: use integers for ARMv7 event indices
ARM: perf: index ARMv7 event counters starting from zero
ARM: perf: index Xscale and ARMv6 event counters starting from zero
ARM: perf: index PMU registers from zero
ARM: perf: allow armpmu to implement mode exclusion
ARM: perf: add mode exclusion for Cortex-A15 PMU
arch/arm/include/asm/pmu.h | 39 +--- arch/arm/kernel/perf_event.c | 176 ++++++++++++------- arch/arm/kernel/perf_event_v6.c | 16 +- arch/arm/kernel/perf_event_v7.c | 327 ++++++++++++++++------------------- arch/arm/kernel/perf_event_xscale.c | 18 +- arch/arm/kernel/pmu.c | 181 +------------------ 6 files changed, 302 insertions(+), 455 deletions(-)