qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] RISC-V: Add preliminary textra trigger CSR functions
@ 2024-07-04  4:01 Alvin Chang via
  2024-07-04  4:01 ` [PATCH 1/2] target/riscv: Preliminary textra trigger CSR writting support Alvin Chang via
  2024-07-04  4:02 ` [PATCH 2/2] target/riscv: Add textra matching condition for the triggers Alvin Chang via
  0 siblings, 2 replies; 5+ messages in thread
From: Alvin Chang via @ 2024-07-04  4:01 UTC (permalink / raw)
  To: qemu-riscv, qemu-devel
  Cc: alistair.francis, bin.meng, liwei1518, dbarboza, zhiwei_liu,
	Alvin Chang

According to RISC-V Debug specification, the optional textra32 and textra64
trigger CSRs can be used to configure additional matching conditions for the
triggers.

This series support to write MHVALUE and MHSELECT fields into textra32 and
textra64 trigger CSRs. Besides, the additional matching condition between
textra.MHVALUE and mcontext CSR is also implemented.

Alvin Chang (2):
  target/riscv: Preliminary textra trigger CSR writting support
  target/riscv: Add textra matching condition for the triggers

 target/riscv/cpu_bits.h |  10 +++
 target/riscv/debug.c    | 144 ++++++++++++++++++++++++++++++++++++++--
 target/riscv/debug.h    |   3 +
 3 files changed, 150 insertions(+), 7 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2024-07-10  1:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04  4:01 [PATCH 0/2] RISC-V: Add preliminary textra trigger CSR functions Alvin Chang via
2024-07-04  4:01 ` [PATCH 1/2] target/riscv: Preliminary textra trigger CSR writting support Alvin Chang via
2024-07-10  1:22   ` Alistair Francis
2024-07-04  4:02 ` [PATCH 2/2] target/riscv: Add textra matching condition for the triggers Alvin Chang via
2024-07-10  1:29   ` 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).