RE: [PATCH v3 0/4] RISC-V: Modularize common match conditions for trigger

2024-02-26 Thread 張哲嘉
b...@ventanamicro.com; zhiwei_...@linux.alibaba.com > Subject: Re: [PATCH v3 0/4] RISC-V: Modularize common match conditions for > trigger > > [EXTERNAL MAIL 外部信件] > > On Mon, Feb 26, 2024 at 5:10 PM Alvin Chang via > wrote: > > > > According to latest RISC-V Debug

Re: [PATCH v3 0/4] RISC-V: Modularize common match conditions for trigger

2024-02-26 Thread Alistair Francis
On Mon, Feb 26, 2024 at 5:10 PM Alvin Chang via wrote: > > According to latest RISC-V Debug specification version 1.0 [1], the The issue here is that we really only support the "debug" spec. That's the 0.13 version of the spec. We do also support bits of the 1.0 spec, but those should be

[PATCH v3 0/4] RISC-V: Modularize common match conditions for trigger

2024-02-25 Thread Alvin Chang via
According to latest RISC-V Debug specification version 1.0 [1], the enabled privilege levels of the trigger is common match conditions for all the types of the trigger. This series modularize the code for checking the privilege levels of type 2/3/6 triggers by implementing functions