qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/hppa: clear the PSW 'N' bit when delivering signals


From: Helge Deller
Subject: Re: [PATCH] target/hppa: clear the PSW 'N' bit when delivering signals
Date: Sat, 16 Sep 2023 18:57:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 9/16/23 18:49, Helge Deller wrote:
The reason for the crash is that the signal handling routine doesn't clear
the 'N' flag in the PSW. If the signal interrupts a thread when the 'N'
flag is set, the flag remains set at the beginning of the signal handler
and the first instruction of the signal handler is skipped.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>

Acked-by: Helge Deller <deller@gmx.de>

FYI, I've queued by both patches in my btlb branch and added backport
to stable request.

Helge



reply via email to

[Prev in Thread] Current Thread [Next in Thread]