qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Assorted fixes for PMU
@ 2024-04-29 19:28 Atish Patra
  2024-04-29 19:28 ` [PATCH 1/3] target/riscv: Save counter values during countinhibit update Atish Patra
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Atish Patra @ 2024-04-29 19:28 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel
  Cc: Atish Patra, palmer, liwei1518, zhiwei_liu, bin.meng, dbarboza,
	alistair.francis

This series contains few miscallenous fixes related to hpmcounters
and related code. The first patch fixes an issue with cycle/instret
counters overcouting while the remaining two are more for specification
compliance.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
---
Atish Patra (3):
      target/riscv: Save counter values during countinhibit update
      target/riscv: Enforce WARL behavior for scounteren/hcounteren
      target/riscv: Fix the predicate functions for mhpmeventhX CSRs

 target/riscv/cpu.h     |   1 -
 target/riscv/csr.c     | 111 ++++++++++++++++++++++++++++++-------------------
 target/riscv/machine.c |   1 -
 3 files changed, 68 insertions(+), 45 deletions(-)
---
base-commit: 1642f979a71a5667a05070be2df82f48bd43ad7a
change-id: 20240428-countinhibit_fix-c6a1c11f4375
--
Regards,
Atish patra



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-05-14 16:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 19:28 [PATCH 0/3] Assorted fixes for PMU Atish Patra
2024-04-29 19:28 ` [PATCH 1/3] target/riscv: Save counter values during countinhibit update Atish Patra
2024-04-30 18:00   ` Daniel Henrique Barboza
2024-05-02 12:39     ` Andrew Jones
2024-05-09 20:26       ` Atish Kumar Patra
2024-05-10  8:33         ` Andrew Jones
2024-05-14  6:22   ` Alistair Francis
2024-04-29 19:28 ` [PATCH 2/3] target/riscv: Enforce WARL behavior for scounteren/hcounteren Atish Patra
2024-04-30 18:02   ` Daniel Henrique Barboza
2024-05-14  6:23   ` Alistair Francis
2024-04-29 19:28 ` [PATCH 3/3] target/riscv: Fix the predicate functions for mhpmeventhX CSRs Atish Patra
2024-05-14  6:29 ` [PATCH 0/3] Assorted fixes for PMU Alistair Francis
2024-05-14  7:15   ` Atish Kumar Patra
2024-05-14 10:18     ` Alistair Francis
2024-05-14 16:51       ` Atish Patra
2024-05-14  9:15 ` Peter Maydell
2024-05-14 16:52   ` Atish Patra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).