Re: [PATCH 2/4] target/riscv: Apply modularized matching conditions for breakpoint

2024-02-22 Thread Daniel Henrique Barboza
; liwei1...@gmail.com; zhiwei_...@linux.alibaba.com Subject: Re: [PATCH 2/4] target/riscv: Apply modularized matching conditions for breakpoint 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&#

RE: [PATCH 2/4] target/riscv: Apply modularized matching conditions for breakpoint

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

Re: [PATCH 2/4] target/riscv: Apply modularized matching conditions for breakpoint

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. Remove the related code in riscv_cpu_debug_check_breakpoint() and invoke trigger_common_match() to check the privile

[PATCH 2/4] target/riscv: Apply modularized matching conditions for breakpoint

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. Remove the related code in riscv_cpu_debug_check_breakpoint() and invoke trigger_common_match() to check the privilege levels of the type 2 and type 6 trigger