Skip to content

target-arm: Extend PMCCNTR for ARMv8

Alistair Francis qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 9 repliesIn review
  2. v17 patches 13 repliesSuperseded

Changes in v2 from the cover letter

-Fix some typos identified by Christopher Covington -Convert the CCNT_ENABLED macro to the arm_ccnt_enabled
function

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7target-arm: Make the ARM PMCCNTR register 64-bittarget-arm/cpu.h target-arm/helper.c+10 -110 replies
2/7target-arm: Implement PMCCNTR_EL0 and related registerstarget-arm/cpu.h target-arm/helper.c+40 -03 replies
3/7target-arm: Add arm_ccnt_enabled functiontarget-arm/helper.c+40 -02 replies
4/7target-arm: Implement pmccntr_sync functiontarget-arm/cpu.h target-arm/helper.c+30 -00 replies
5/7target-arm: Remove old code and replace with new functionstarget-arm/helper.c+4 -232 replies
6/7target-arm: Implement pmccfiltr_write functiontarget-arm/helper.c+9 -00 replies
7/7target-arm: Call the pmccntr_sync function when swapping ELstarget-arm/helper-a64.c target-arm/helper.c target-arm/op_helper.c+18 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/7] target-arm: Extend PMCCNTR for ARMv8

This patch series continues on from my original PMCCNTR patch work to extend the counter to be 64-bit and support for the PMCCFILTR_EL0 register which allows the counter to be disabled based on the current EL

V2:
-Fix some typos identified by Christopher Covington -Convert the CCNT_ENABLED macro to the arm_ccnt_enabled
function

Alistair Francis (7):
target-arm: Make the ARM PMCCNTR register 64-bit
target-arm: Implement PMCCNTR_EL0 and related registers
target-arm: Add arm_ccnt_enabled function
target-arm: Implement pmccntr_sync function
target-arm: Remove old code and replace with new functions
target-arm: Implement pmccfiltr_write function
target-arm: Call the pmccntr_sync function when swapping ELs

 target-arm/cpu.h        |   14 ++++-
 target-arm/helper-a64.c |    5 ++
 target-arm/helper.c     |  150 ++++++++++++++++++++++++++++++++++++++---------
 target-arm/op_helper.c  |    6 ++
 4 files changed, 146 insertions(+), 29 deletions(-)