mbox series

[0/2] target/riscv: Support scontext-based trigger matching

Message ID 20250226143914.769112-1-florian.lugou@provenrun.com (mailing list archive)
Headers show
Series target/riscv: Support scontext-based trigger matching | expand

Message

Florian Lugou Feb. 26, 2025, 2:39 p.m. UTC
Hi,

These 2 patches allow scontext-based trigger matching as specified by the Sdtrig
extension. Patch 1 allows access to the scontext CSR and patch 2 enforces
scontext matching as specified by the textra CSRs.

Florian Lugou (2):
  target/riscv: Add scontext CSR handling
  target/riscv: Support matching scontext in Sdtrig's textra CSRs

 target/riscv/cpu.h      |  1 +
 target/riscv/cpu_bits.h |  5 +++
 target/riscv/csr.c      | 36 +++++++++++++++++++
 target/riscv/debug.c    | 76 +++++++++++++++++++++++++++++------------
 target/riscv/debug.h    |  3 ++
 5 files changed, 100 insertions(+), 21 deletions(-)