RE: [PATCH v2 2/2] target/riscv: Support matching scontext in Sdtrig's textra CSRs

2025-06-02 Thread 張哲嘉
g > ; Weiwei Li ; Daniel > Henrique Barboza ; Liu Zhiwei > ; qemu-ri...@nongnu.org > Subject: Re: [PATCH v2 2/2] target/riscv: Support matching scontext in > Sdtrig's > textra CSRs > > [EXTERNAL MAIL] > > On Mon, Mar 3, 2025 at 7:38 PM Florian Lugou > wrote: &

Re: [PATCH v2 2/2] target/riscv: Support matching scontext in Sdtrig's textra CSRs

2025-03-05 Thread Alistair Francis
On Mon, Mar 3, 2025 at 7:38 PM Florian Lugou wrote: > > Support setting textra32.sselect or textra64.sselect to 1 (scontext). > The trigger will only match if the content of scontext matches the value > in svalue, after it is masked as configured in sbytemask. I don't think this matches the 0.13

[PATCH v2 2/2] target/riscv: Support matching scontext in Sdtrig's textra CSRs

2025-03-03 Thread Florian Lugou
Support setting textra32.sselect or textra64.sselect to 1 (scontext). The trigger will only match if the content of scontext matches the value in svalue, after it is masked as configured in sbytemask. Signed-off-by: Florian Lugou --- target/riscv/debug.c | 75 +++-