Re: [PATCH v2] target/riscv: Implement optional CSR mcontext of debug Sdtrig extension

2024-01-21 Thread Alistair Francis
On Tue, Dec 19, 2023 at 10:34 PM Alvin Chang via wrote: > > The debug Sdtrig extension defines an CSR "mcontext". This commit > implements its predicate and read/write operations into CSR table. > Its value is reset as 0 when the trigger module is reset. > > Signed-off-by: Alvin Chang Reviewed-b

RE: [PATCH v2] target/riscv: Implement optional CSR mcontext of debug Sdtrig extension

2024-01-09 Thread 張哲嘉
...@linux.alibaba.com > Subject: Re: [PATCH v2] target/riscv: Implement optional CSR mcontext of > debug Sdtrig extension > > > On 12/19/23 09:32, Alvin Chang wrote: > > The debug Sdtrig extension defines an CSR "mcontext". This commit > > implements its predicate

Re: [PATCH v2] target/riscv: Implement optional CSR mcontext of debug Sdtrig extension

2024-01-09 Thread Daniel Henrique Barboza
On 12/19/23 09:32, Alvin Chang wrote: The debug Sdtrig extension defines an CSR "mcontext". This commit implements its predicate and read/write operations into CSR table. Its value is reset as 0 when the trigger module is reset. Signed-off-by: Alvin Chang --- The patch per se LGTM: Reviewe

RE: [PATCH v2] target/riscv: Implement optional CSR mcontext of debug Sdtrig extension

2024-01-08 Thread 張哲嘉
.@ventanamicro.com; > zhiwei_...@linux.alibaba.com; Alvin Che-Chia Chang(張哲嘉) > > Subject: [PATCH v2] target/riscv: Implement optional CSR mcontext of debug > Sdtrig extension > > The debug Sdtrig extension defines an CSR "mcontext". This commit > implements its predicat

[PATCH v2] target/riscv: Implement optional CSR mcontext of debug Sdtrig extension

2023-12-19 Thread Alvin Chang via
The debug Sdtrig extension defines an CSR "mcontext". This commit implements its predicate and read/write operations into CSR table. Its value is reset as 0 when the trigger module is reset. Signed-off-by: Alvin Chang --- Changes from v1: Remove dedicated cfg, always implement mcontext. target/