On 8/16/19 1:58 PM, Peter Maydell wrote: > @@ -1729,6 +1729,12 @@ static void handle_sys(DisasContext *s, uint32_t insn, > bool isread, > tcg_temp_free_ptr(tmpptr); > tcg_temp_free_i32(tcg_syn); > tcg_temp_free_i32(tcg_isread); > + } else if (ri->type & ARM_CP_RAISES_EXC) { > + /* > + * The readfn or writefn might raise an exception; > + * synchronize the CPU state in case it does. > + */ > + gen_a64_set_pc_im(s->pc - 4);
This will now need an update for master, but otherwise, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~