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

2025-01-28 Thread Alistair Francis
On Wed, Jan 22, 2025 at 3:08 AM 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 c

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

2025-01-21 Thread Richard Henderson
On 1/21/25 09:06, 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 v3 2/2] target/riscv: throw debug exception before page fault

2025-01-21 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