Re: [PATCH 3/4] target/riscv: Apply modularized matching conditions for watchpoint

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_watchpoint() and invoke trigger_common_match() to check the privile

[PATCH 3/4] target/riscv: Apply modularized matching conditions for watchpoint

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_watchpoint() and invoke trigger_common_match() to check the privilege levels of the type 2 and type 6 trigger