mbox series

[v11,0/2] More fully implement ARM PMUv3

Message ID 20190123213227.17077-1-aaron@os.amperecomputing.com (mailing list archive)
Headers show
Series More fully implement ARM PMUv3 | expand

Message

Aaron Lindsay Jan. 23, 2019, 9:32 p.m. UTC
Most of this patchset to implement the PMU has been merged already, but
the interrupt-on-overflow behavior had some additional review comments.
In addition to improving the overflow detection and bit-clearing logic,
I split the previous patch [1] into two to (hopefully) make it more
digestable.

There is also a separate bugfix for one of the the already-merged
patches which I already sent out separately as "target/arm: Don't clear
supported PMU events when initializing PMCEID1" [2].

[1] - https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg02242.html
[2] - https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg05996.html

Aaron Lindsay (2):
  target/arm: Send interrupts on PMU counter overflow
  target/arm: Add a timer to predict PMU counter overflow

 target/arm/cpu.c    |  12 ++++
 target/arm/cpu.h    |  10 ++++
 target/arm/helper.c | 133 ++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 143 insertions(+), 12 deletions(-)