PMUv3 event handling improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arm64: perf: Reject stand-alone CHAIN events for PMUv3arch/ drivers/ include/ | +15 | 1 reply | |
| 1/6 | arm64: perf: Reject stand-alone CHAIN events for PMUv3 | +0 | 0 replies | |
| 2/6 | arm64: perf: Terminate PMU assignment statements with semicolonsarch/ | +10 | 0 replies | |
| 3/6 | arm64: perf: Add support for Armv8.1 PMCEID register formatarch/ include/ | +21 | 0 replies | |
| 4/6 | arm64: perf: Remove duplicate generic cache eventsarch/ | +0 | 0 replies | |
| 5/6 | arm64: perf: Move event definitions into perf_event.harch/ arch/ | +155 | 1 reply | |
| 5/6 | arm64: perf: Move event definitions into perf_event.h | +0 | 0 replies | |
| 6/6 | arm64: perf: Hook up new eventsarch/ | +24 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Suzuki K Poulose |
|---|---|
| 1/6 | R-b |
| 1/6 | R-b |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] PMUv3 event handling improvements
Hi all,
Following on-list discussion with Ganapat [1], I found and fixed a few issues with the arm64 PMUv3 code:
- We don't reject standalone CHAIN events requested in a 32-bit perf event
- We don't interpret the upper 32 bits of the PMCEID registers for 8.1 events
- We have duplicate cache events for read and write, which is very confusing
- Our events are straddled between arm_pmu.c and arm_pmu.h and aren't in numerical order
- We don't advertise a bunch fo new events that have been added since v8.0
This series addresses all of these problems.
Cheers,
Will
[1] http://lkml.kernel.org/r/CAKTKpr6SQUc9EgdYL2N32a=szUmSs82Mbb4y89htbVQhTPp2rQ at mail.gmail.com
--->8
Will Deacon (6):
arm64: perf: Reject stand-alone CHAIN events for PMUv3
arm64: perf: Terminate PMU assignment statements with semicolons
arm64: perf: Add support for Armv8.1 PMCEID register format
arm64: perf: Remove duplicate generic cache events
arm64: perf: Move event definitions into perf_event.h
arm64: perf: Hook up new events
arch/arm64/include/asm/perf_event.h | 164 ++++++++++++++++++++++++-- arch/arm64/kernel/perf_event.c | 225 ++++++++++-------------------------- drivers/perf/arm_pmu.c | 8 +- include/linux/perf/arm_pmu.h | 5 +- 4 files changed, 225 insertions(+), 177 deletions(-)
Signature · 1 line
2.1.4