More fully implement ARM PMUv3
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest13 patches 19 repliesIn review
- v421 patches 7 repliesSuperseded
- v322 patches 53 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 13 patches | 18 replies | Superseded | |
| v1 | 13 patches | 3 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | target/arm: Reorganize PMCCNTR accessestarget/ target/ | +73 | 4 replies | |
| 2/13 | target/arm: Filter cycle counter based on PMCCFILTR_EL0target/ target/ target/ | +129 | 1 reply | |
| 3/13 | target/arm: Allow AArch32 access for PMCCFILTRtarget/ | +26 | 1 reply | |
| 4/13 | target/arm: Add ARM_FEATURE_V7VE for v7 Virtualization Extensionstarget/ target/ target/ | +19 | 1 reply | |
| 5/13 | target/arm: Remove redundant DIV detection for KVMtarget/ | +1 | 1 reply | |
| 6/13 | target/arm: Implement PMOVSSETtarget/ | +28 | 2 replies | |
| 7/13 | target/arm: Add array for supported PMU events, generate PMCEID[01]target/ target/ target/ +1 more | +60 | 2 replies | |
| 8/13 | target/arm: Finish implementation of PM[X]EVCNTR and PM[X]EVTYPERtarget/ target/ | +209 | 2 replies | |
| 9/13 | target/arm: PMU: Add instruction and cycle eventstarget/ | +43 | 1 reply | |
| 10/13 | target/arm: PMU: Set PMCR.N to 4target/ | +3 | 0 replies | |
| 11/13 | target/arm: Implement PMSWINCtarget/ | +37 | 0 replies | |
| 12/13 | target/arm: Mark PMINTENSET accesses as possibly doing IOtarget/ | +1 | 2 replies | |
| 13/13 | target/arm: Send interrupts on PMU counter overflowtarget/ target/ target/ | +141 | 1 reply |
Reviews trailers per patch
6 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Peter Maydell |
|---|---|
| 1/13 | |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | R-b |
| 5/13 | R-b |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | R-b |
| 10/13 | |
| 11/13 | |
| 12/13 | R-b |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-arm] [PATCH v5 00/13] More fully implement ARM PMUv3
The ARM PMU implementation currently contains a basic cycle counter, but it is often useful to gather counts of other events and filter them based on execution mode. These patches flesh out the implementations of various PMU registers including PM[X]EVCNTR and PM[X]EVTYPER, add a struct definition to represent arbitrary counter types, implement mode filtering, send interrupts on counter overflow, and add instruction, cycle, and software increment events.
Since v4 I've added improved V7VE handling with Peter's direction, fixed up a few patch staging issues, and fixed a bug causing cycle counter overflow to be checked every instruction.
-Aaron
Aaron Lindsay (13):
target/arm: Reorganize PMCCNTR accesses
target/arm: Filter cycle counter based on PMCCFILTR_EL0 target/arm: Allow AArch32 access for PMCCFILTR target/arm: Add ARM_FEATURE_V7VE for v7 Virtualization Extensions target/arm: Remove redundant DIV detection for KVM target/arm: Implement PMOVSSET
target/arm: Add array for supported PMU events, generate PMCEID[01] target/arm: Finish implementation of PM[X]EVCNTR and PM[X]EVTYPER target/arm: PMU: Add instruction and cycle events target/arm: PMU: Set PMCR.N to 4
target/arm: Implement PMSWINC
target/arm: Mark PMINTENSET accesses as possibly doing IO target/arm: Send interrupts on PMU counter overflow
target/arm/cpu.c | 49 +++- target/arm/cpu.h | 71 +++++- target/arm/cpu64.c | 2 - target/arm/helper.c | 702 +++++++++++++++++++++++++++++++++++++++++++++------- target/arm/kvm32.c | 27 +- 5 files changed, 720 insertions(+), 131 deletions(-)
Signature · 3 lines
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.