On 11/28/2017 08:33 PM, David Hildenbrand wrote: > + S390CPU *cpu = s390_env_get_cpu(env); > + > +#ifdef CONFIG_TCG > + if (tcg_enabled() && ra) { > + cpu_restore_state(CPU(cpu), ra); > + } > +#endif
FWIW, I have a patch queued for 2.12 that removes the RA != 0 check protecting calls to cpu_restore_state. That condition is already handled inside and we don't need to duplicate it. Otherwise, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~