RE: [PATCH 4/4] target/riscv: Apply modularized matching conditions for icount trigger

2024-02-21 Thread 張哲嘉
..@gmail.com; zhiwei_...@linux.alibaba.com > Subject: Re: [PATCH 4/4] target/riscv: Apply modularized matching conditions > for icount trigger > > > > On 2/19/24 00:25, Alvin Chang wrote: > > We have implemented trigger_common_match(), which checks if the > > enabled privilege

Re: [PATCH 4/4] target/riscv: Apply modularized matching conditions for icount trigger

2024-02-21 Thread Daniel Henrique Barboza
On 2/19/24 00:25, Alvin Chang wrote: We have implemented trigger_common_match(), which checks if the enabled privilege levels of the trigger match CPU's current privilege level. We can invoke trigger_common_match() to check the privilege levels of the type 3 triggers. Signed-off-by: Alvin Cha

[PATCH 4/4] target/riscv: Apply modularized matching conditions for icount trigger

2024-02-18 Thread Alvin Chang via
We have implemented trigger_common_match(), which checks if the enabled privilege levels of the trigger match CPU's current privilege level. We can invoke trigger_common_match() to check the privilege levels of the type 3 triggers. Signed-off-by: Alvin Chang --- target/riscv/debug.c | 2 +- 1 fi