From patchwork Fri Nov 30 19:22:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 152587 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4029399ljp; Fri, 30 Nov 2018 11:24:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vdtra69khtJU57puOMfSQwfeiNtezyVKJ9Bgy6PSe7JbZPY6Qjr5DGrfLsWgCAyIbCIpHt X-Received: by 2002:a25:6706:: with SMTP id b6mr165819ybc.433.1543605872162; Fri, 30 Nov 2018 11:24:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543605872; cv=none; d=google.com; s=arc-20160816; b=KSkmrFAW7wFPBu3+yupobhFRffuedDZ+WIdOIjoxfh4aG9Mm8Zvc4WOv0xFMpAWOf5 j5Olsy1aouO//jcqOfG1W4g1p3VmRYWjUPHFu65DGUIQWJscIDlAwALmElnfqQUQDzBO jGuFQ+daTX8dpxEtC34/17NwTb2uVi2bS+AvZus2toFUDaqnEPI9R5UYbei51hMy7Zbs twUK39xpdA/Wr40N3oiakMDOqOqTaFNQcR0R6l0cNMDphwe61wvXQ8PTY+mxO4LJZuEE 9k6RVtG+BxFGE/XKFug1VJq9XMds6l7MRIS6WRmce1R1A/3I0mTQOOnxALXRp+yx31C4 Hgow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :dkim-signature; bh=m9oa7hO4RGSRpGTB6sKkeugqrpwTd7iTNXnhnpY17zY=; b=dRbLp0WA8RU3YLGjUpqYjBy9mAmP2s2n2zQYKFhYi+KVK/7plL3OZihprdSoiq2EfM 4nU7r4iTZS35Iez6u6lTZT92BPiFxeSzo5rKiXC3icoyxcQ5moHKD6O5NRJ7iip94xGB 1kXPV1g8aprfocSiKpxM/jBeebkjdfiEiw70yxyd3cctSOkX5ux5V3wdNMW09Kitc+3+ IP6TNoZcpxgLjNq1Dw9HTMpZNbmJKWA/QjNVqyTMs2Nm6IVynFFHYCe7INchcriPaUPs Ftyl+yHdsCwC382c73o/xVNoZicfdmapJ8gpvszXPDZeTS71SVKhEZncAZ8yXyMOHB7x EIgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VsEkQ34N; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b195-v6si3620031ywb.444.2018.11.30.11.24.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 30 Nov 2018 11:24:32 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VsEkQ34N; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:34343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSoOt-0001uu-KH for patch@linaro.org; Fri, 30 Nov 2018 14:24:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSoMs-0007iX-10 for qemu-devel@nongnu.org; Fri, 30 Nov 2018 14:22:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSoMm-00082g-Hy for qemu-devel@nongnu.org; Fri, 30 Nov 2018 14:22:25 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:32868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSoMm-00082Q-3L for qemu-devel@nongnu.org; Fri, 30 Nov 2018 14:22:20 -0500 Received: by mail-pl1-x644.google.com with SMTP id z23so3275028plo.0 for ; Fri, 30 Nov 2018 11:22:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=m9oa7hO4RGSRpGTB6sKkeugqrpwTd7iTNXnhnpY17zY=; b=VsEkQ34NbSbD7OgXi+MP96DA9FPcmELkG69tugRYOXcVRZzvfKWOyyFVOQyvdpM9ev eFp5v82WctTvfYjTVVKr151N6O39DMQQ70idXoPAh452BC+kx3rWqSC9bso4SFEr4iRb vQkPChtmfYwXijJkrdXzH9Z1I3YzOZKy+YNfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=m9oa7hO4RGSRpGTB6sKkeugqrpwTd7iTNXnhnpY17zY=; b=F0hZ8DqYwCiq68WokbvBv2ImhHZk8tx9A6Gc9mJcsg/1xFhQJpVcEiuHaxN+SvMLj4 ad4GbYbyHf38oASMProkX6d8+FmMqYmvcGKLwySXk0jr7UWqftKnmSLf54dadzvv/O1b 0kxlGNgYKbQAO2xYGuocXApFBmI0M0cpdLgFpN5/jUmlcbNyUMHebqGgUoGHWFmox9/J KZdKJYGcj+Xk24SbWQVk5qZIYAa55n8sX7C+kBmfPm82LCWrE0DzBKhims3i2ek07Frz xj0PM5GBFzYb/+Cj004WcGvHv8PhHUBsIJPw7pStUVUl9ugOkGQ58jd2+RW+d+S2TidS Ti0Q== X-Gm-Message-State: AA+aEWarBgQFPKO5KvFnm77Cfdpj97Ld4KsU9e2htec5r74+4RpBzHPy S+VtqWTwZe8M/poZJjV2V8+qF+YlRlY= X-Received: by 2002:a17:902:f091:: with SMTP id go17mr7033715plb.235.1543605738707; Fri, 30 Nov 2018 11:22:18 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-170-180.tukw.qwest.net. [97.113.170.180]) by smtp.gmail.com with ESMTPSA id b185sm12941494pga.85.2018.11.30.11.22.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Nov 2018 11:22:17 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 30 Nov 2018 11:22:14 -0800 Message-Id: <20181130192216.26987-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH for-4.0 0/2] target/s390x: Implement STCK et al for CONFIG_USER_ONLY X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-s390x@nongnu.org, cohuck@redhat.com, david@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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. r~ Richard Henderson (2): target/s390x: Move TOD_UNIX_EPOCH to cpu.h target/s390x: Implement STCK et al for CONFIG_USER_ONLY include/hw/s390x/tod.h | 3 --- target/s390x/cpu.h | 3 +++ target/s390x/helper.h | 2 +- target/s390x/misc_helper.c | 13 ++++++++++++- target/s390x/translate.c | 2 ++ target/s390x/insn-data.def | 11 ++++++----- 6 files changed, 24 insertions(+), 10 deletions(-) -- 2.17.2