Skip to content

RISC-V: Add preliminary textra trigger CSR functions

Alvin Chang via qemu-devel qemu-riscv 4 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesApplied
  2. v32 patches 7 repliesApplied
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Simplify the comparison between mcontext and textra.MHVALUE

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv: Preliminary textra trigger CSR writting supporttarget/riscv/cpu_bits.h target/riscv/debug.c+73 -60 replies
2/2target/riscv: Add textra matching condition for the triggerstarget/riscv/debug.c target/riscv/debug.h+47 -13 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] RISC-V: Add preliminary textra trigger CSR functions

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 v3:
- Simplify the comparison between mcontext and textra.MHVALUE

Changes from v2:
- Remove redundant log

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    | 114 +++++++++++++++++++++++++++++++++++++---
 target/riscv/debug.h    |   3 ++
 3 files changed, 120 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1