|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [PATCH v1 for-2.12 01/15] s390x/tcg: introduce and use program_interrupt_ra() |
| Date: | Wed, 29 Nov 2017 17:16:44 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
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 <address@hidden>
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |