Re: [PATCH v2 2/2] target/riscv: throw debug exception before page fault

2025-01-21 Thread Daniel Henrique Barboza
On 1/21/25 12:47 PM, Richard Henderson wrote: On 1/20/25 12:49, Daniel Henrique Barboza wrote: In the RISC-V privileged ISA section 3.1.15 table 15, it is determined that a debug exception that is triggered from a load/store has a higher priority than a possible fault that this access might t

Re: [PATCH v2 2/2] target/riscv: throw debug exception before page fault

2025-01-21 Thread Richard Henderson
On 1/20/25 12:49, Daniel Henrique Barboza wrote: In the RISC-V privileged ISA section 3.1.15 table 15, it is determined that a debug exception that is triggered from a load/store has a higher priority than a possible fault that this access might trigger. This is not the case ATM as shown in [1].

[PATCH v2 2/2] target/riscv: throw debug exception before page fault

2025-01-20 Thread Daniel Henrique Barboza
In the RISC-V privileged ISA section 3.1.15 table 15, it is determined that a debug exception that is triggered from a load/store has a higher priority than a possible fault that this access might trigger. This is not the case ATM as shown in [1]. Adding a breakpoint in an address that deliberatel