Re: [PATCH 2/2] target/riscv: Add textra matching condition for the triggers

2024-07-09 Thread Alistair Francis
On Thu, Jul 4, 2024 at 2:03 PM Alvin Chang via wrote: > > According to RISC-V Debug specification, the optional textra32 and > textra64 trigger CSRs can be used to configure additional matching > conditions for the triggers. For example, if the textra.MHSELECT field > is set to 4 (mcontext), this

[PATCH 2/2] target/riscv: Add textra matching condition for the triggers

2024-07-03 Thread Alvin Chang via
According to RISC-V Debug specification, the optional textra32 and textra64 trigger CSRs can be used to configure additional matching conditions for the triggers. For example, if the textra.MHSELECT field is set to 4 (mcontext), this trigger will only match or fire if the low bits of mcontext/hcont