From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwXcL-0003Ui-0J for qemu-devel@nongnu.org; Tue, 18 Oct 2016 12:51:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwXcG-0001vU-Sx for qemu-devel@nongnu.org; Tue, 18 Oct 2016 12:51:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47886) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwXcG-0001vK-Nb for qemu-devel@nongnu.org; Tue, 18 Oct 2016 12:51:52 -0400 References: <1476808936-11735-1-git-send-email-rth@twiddle.net> From: Thomas Huth Message-ID: Date: Tue, 18 Oct 2016 18:51:48 +0200 MIME-Version: 1.0 In-Reply-To: <1476808936-11735-1-git-send-email-rth@twiddle.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: Fix s390x safe-syscall for z900 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , qemu-devel@nongnu.org Cc: riku.voipio@iki.fi On 18.10.2016 18:42, Richard Henderson wrote: > The LT instruction was added in the extended immediate facility > introduced with the z9-109 processor. > > Reported-by: Michael Tokarev > Fixes: c9bc3437a905b660561a26cd4ecc64579843267b > Signed-off-by: Richard Henderson > --- > linux-user/host/s390x/safe-syscall.inc.S | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/linux-user/host/s390x/safe-syscall.inc.S b/linux-user/host/s390x/safe-syscall.inc.S > index f1b446a..61d75dc 100644 > --- a/linux-user/host/s390x/safe-syscall.inc.S > +++ b/linux-user/host/s390x/safe-syscall.inc.S > @@ -72,7 +72,8 @@ safe_syscall_base: > */ > safe_syscall_start: > /* if signal_pending is non-zero, don't do the call */ > - lt %r0,0(%r8) > + l %r0,0(%r8) > + ltr %r0,%r0 > jne 2f > svc 0 > safe_syscall_end: Reviewed-by: Thomas Huth