Re: [PATCH 1/2] target/riscv: Use cpu_loop_exit_restore directly from mmu faults

2022-04-07 Thread Alistair Francis
On Fri, Apr 1, 2022 at 11:01 PM Richard Henderson wrote: > > The riscv_raise_exception function stores its argument into > exception_index and then exits to the main loop. When we > have already set exception_index, we can just exit directly. > > Signed-off-by: Richard Henderson Reviewed-by: Al

[PATCH 1/2] target/riscv: Use cpu_loop_exit_restore directly from mmu faults

2022-04-01 Thread Richard Henderson
The riscv_raise_exception function stores its argument into exception_index and then exits to the main loop. When we have already set exception_index, we can just exit directly. Signed-off-by: Richard Henderson --- target/riscv/cpu_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletio