[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 09/30] s390x/tcg: handle WAIT PSWs during int
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2 09/30] s390x/tcg: handle WAIT PSWs during interrupt injection |
Date: |
Fri, 6 Oct 2017 09:37:01 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/28/2017 04:36 PM, David Hildenbrand wrote:
> If we encounter a WAIT PSW, we have to halt immediately. Using
> cpu_loop_exit() at this point feels wrong. Simply leaving
> cs->exception_index set doesn't result in an immediate stop.
>
> This is also necessary to properly handle SIGP STOP interrupts later.
>
> The CPU_INTERRUPT_HALT will be processed immediately and properly set
> the CPU to halted (also resetting cs->exception_index to EXCP_HLT)
>
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
> target/s390x/excp_helper.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: Richard Henderson <address@hidden>
r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v2 09/30] s390x/tcg: handle WAIT PSWs during interrupt injection,
Richard Henderson <=