qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Minor mhpmevent related fixes
@ 2025-02-06  9:58 Atish Patra
  2025-02-06  9:58 ` [PATCH v2 1/2] target/riscv: Fix the hpmevent mask Atish Patra
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Atish Patra @ 2025-02-06  9:58 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel
  Cc: Atish Patra, liwei1518, zhiwei_liu, bin.meng, dbarboza,
	alistair.francis

Here are two small fixes around mhpmevent encoding and reset value.
The first patch is picked from the platform specific event encoding
series[1].

[1] https://lore.kernel.org/qemu-devel/20241009-pmu_event_machine-v1-0-dcbd7a60e3ba@rivosinc.com/

Signed-off-by: Atish Patra <atishp@rivosinc.com>
---
Changes in v2:
- Replace GENMASK_ULL with MAKE_64BIT_MASK
- Applied RB/AB tags.
- Link to v1: https://lore.kernel.org/r/20250115-pmu_minor_fixes-v1-0-c32388defb02@rivosinc.com

---
Atish Patra (2):
      target/riscv: Fix the hpmevent mask
      target/riscv: Mask out upper sscofpmf bits during validation

 target/riscv/cpu_bits.h | 5 ++---
 target/riscv/pmu.c      | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
---
base-commit: 3f26a7a370c11c7dff68dabcccc19c4e0de901e4
change-id: 20250115-pmu_minor_fixes-7a2b8e3658e4
--
Regards,
Atish patra



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

end of thread, other threads:[~2025-02-10  2:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06  9:58 [PATCH v2 0/2] Minor mhpmevent related fixes Atish Patra
2025-02-06  9:58 ` [PATCH v2 1/2] target/riscv: Fix the hpmevent mask Atish Patra
2025-02-10  1:22   ` Alistair Francis
2025-02-06  9:58 ` [PATCH v2 2/2] target/riscv: Mask out upper sscofpmf bits during validation Atish Patra
2025-02-10  2:54 ` [PATCH v2 0/2] Minor mhpmevent related fixes Alistair Francis

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).