qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] target/arm: Fix bugs in recent PMU changes
@ 2022-09-23 12:34 Peter Maydell
  2022-09-23 12:34 ` [PATCH 1/3] target/arm: Mark registers which call pmu_op_start() as ARM_CP_IO Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Maydell @ 2022-09-23 12:34 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: Thomas Huth

This patchset fixes some bugs in the recent changes I made
to the Arm PMU emualtion as part of implementing FEAT_PMUv3p5.

The important patch here is the first one, which fixes a crash
when in icount mode if the guest touched MDCR_EL3, MDCR_EL2,
PMCNTENSET_EL0 or PMCNTENCLR_EL0. The other two are more minor,
things which I noticed while I was looking at the code.

thanks
-- PMM

Peter Maydell (3):
  target/arm: Mark registers which call pmu_op_start() as ARM_CP_IO
  target/arm: Make writes to MDCR_EL3 use PMU start/finish calls
  target/arm: Update SDCR_VALID_MASK to include SCCD

 target/arm/cpu.h    |  8 +++++++-
 target/arm/helper.c | 30 ++++++++++++++++++++----------
 2 files changed, 27 insertions(+), 11 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2022-09-28 14:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23 12:34 [PATCH 0/3] target/arm: Fix bugs in recent PMU changes Peter Maydell
2022-09-23 12:34 ` [PATCH 1/3] target/arm: Mark registers which call pmu_op_start() as ARM_CP_IO Peter Maydell
2022-09-28 12:11   ` Richard Henderson
2022-09-23 12:34 ` [PATCH 2/3] target/arm: Make writes to MDCR_EL3 use PMU start/finish calls Peter Maydell
2022-09-28 12:15   ` Richard Henderson
2022-09-23 12:34 ` [PATCH 3/3] target/arm: Update SDCR_VALID_MASK to include SCCD Peter Maydell
2022-09-28 12:16   ` Richard Henderson

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