From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:34474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3Ybi-0004fS-7w for qemu-devel@nongnu.org; Tue, 12 Mar 2019 00:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3Ybh-0004HZ-Cd for qemu-devel@nongnu.org; Tue, 12 Mar 2019 00:01:38 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:35302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3Ybh-0004GV-2U for qemu-devel@nongnu.org; Tue, 12 Mar 2019 00:01:37 -0400 Received: by mail-pg1-x541.google.com with SMTP id e17so793276pgd.2 for ; Mon, 11 Mar 2019 21:01:36 -0700 (PDT) From: Richard Henderson References: <20190311191602.25796-1-svens@stackframe.org> <20190311191602.25796-12-svens@stackframe.org> <60efee59-c608-d796-884a-c9cb1ff9a98c@linaro.org> Message-ID: <3e69c18b-b1a1-4cb8-45fe-6e7574544ab6@linaro.org> Date: Mon, 11 Mar 2019 21:01:32 -0700 MIME-Version: 1.0 In-Reply-To: <60efee59-c608-d796-884a-c9cb1ff9a98c@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 11/11] target/hppa: call eval_interrupt() after ssm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sven Schnelle Cc: qemu-devel@nongnu.org, Richard Henderson On 3/11/19 8:28 PM, Richard Henderson wrote: > On 3/11/19 12:16 PM, Sven Schnelle wrote: >> HP-UX (all versions) is losing timer interrupts, which leads to >> hangs. Pressing a key on the console fixes this, so it looks like >> QEMU is just looping trough TBs without checking for interrupts. >> Further investion showed that this happens when interrupts are >> triggered, without PSW_I enabled. Calling eval_interrupt() after >> PSW_I is set seems to fix this. >> >> Signed-off-by: Sven Schnelle >> --- >> target/hppa/cpu.h | 1 + >> target/hppa/int_helper.c | 2 +- >> target/hppa/op_helper.c | 6 ++++++ >> 3 files changed, 8 insertions(+), 1 deletion(-) > > The correct fix is to exit to the main loop. ... except what we're already doing that. So I don't see what can be changed to help. This doesn't seem to make a difference. r~