qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] RISC-V: Add preliminary textra trigger CSR functions
@ 2024-07-10 10:00 Alvin Chang via
  2024-07-10 10:00 ` [PATCH v2 1/2] target/riscv: Preliminary textra trigger CSR writting support Alvin Chang via
  2024-07-10 10:00 ` [PATCH v2 2/2] target/riscv: Add textra matching condition for the triggers Alvin Chang via
  0 siblings, 2 replies; 4+ messages in thread
From: Alvin Chang via @ 2024-07-10 10:00 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.

Changes from v1:
- Log that mhselect only supports 0 or 4 for now
- Simplify writing of tdata3

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    | 138 ++++++++++++++++++++++++++++++++++++++--
 target/riscv/debug.h    |   3 +
 3 files changed, 144 insertions(+), 7 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2024-07-19  9:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 10:00 [PATCH v2 0/2] RISC-V: Add preliminary textra trigger CSR functions Alvin Chang via
2024-07-10 10:00 ` [PATCH v2 1/2] target/riscv: Preliminary textra trigger CSR writting support Alvin Chang via
2024-07-19  9:40   ` Alistair Francis
2024-07-10 10:00 ` [PATCH v2 2/2] target/riscv: Add textra matching condition for the triggers Alvin Chang via

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