From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:39289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsMBB-0000S1-OX for qemu-devel@nongnu.org; Sat, 09 Feb 2019 01:31:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsMBA-0007JS-U3 for qemu-devel@nongnu.org; Sat, 09 Feb 2019 01:31:57 -0500 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:42644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsMBA-0007IS-Mt for qemu-devel@nongnu.org; Sat, 09 Feb 2019 01:31:56 -0500 Received: by mail-pg1-x544.google.com with SMTP id d72so2536690pga.9 for ; Fri, 08 Feb 2019 22:31:56 -0800 (PST) From: Richard Henderson Date: Fri, 8 Feb 2019 22:31:50 -0800 Message-Id: <20190209063152.9490-1-richard.henderson@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, thuth@redhat.com Changes since v1: * Move more of hw/s390x/tod.h to a new header. * Use time2tod. r~ Richard Henderson (2): target/s390x: Split out s390-tod.h This is a non-privileged instruction that was only implemented for system mode. However, the stck instruction is used by glibc, so this was causing SIGILL for programs run under debian stretch. include/hw/s390x/tod.h | 16 +--------------- target/s390x/helper.h | 2 +- target/s390x/s390-tod.h | 29 +++++++++++++++++++++++++++++ target/s390x/misc_helper.c | 34 ++++++++++++++++++++++------------ target/s390x/translate.c | 2 ++ target/s390x/insn-data.def | 11 ++++++----- 6 files changed, 61 insertions(+), 33 deletions(-) create mode 100644 target/s390x/s390-tod.h -- 2.17.2