From patchwork Tue Jun 13 20:26:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 9784633 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E533F60244 for ; Tue, 13 Jun 2017 20:38:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D720228584 for ; Tue, 13 Jun 2017 20:38:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9530274D1; Tue, 13 Jun 2017 20:38:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5968F274D1 for ; Tue, 13 Jun 2017 20:38:28 +0000 (UTC) Received: from localhost ([::1]:45125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKsa3-0004Pj-FD for patchwork-qemu-devel@patchwork.kernel.org; Tue, 13 Jun 2017 16:38:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKsP8-00037G-BJ for qemu-devel@nongnu.org; Tue, 13 Jun 2017 16:27:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKsP6-00043b-E9 for qemu-devel@nongnu.org; Tue, 13 Jun 2017 16:27:10 -0400 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]:34797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dKsP6-000431-9P for qemu-devel@nongnu.org; Tue, 13 Jun 2017 16:27:08 -0400 Received: by mail-qt0-x241.google.com with SMTP id o21so37629583qtb.1 for ; Tue, 13 Jun 2017 13:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=h/TlhAxpS0unkw8gJJTKPoJMV/b4BT5V7/xlK1/TmK0=; b=TMpL9kX/WrSM2Ef9kzL3x0WVk5d7+ZVs7xG42wKtLTW/kqv9efQGrG9AYo4vvqdV3z WG+zEBRHC6Gt+wT7lNUTofBNnTajUKC1opc8KTZnBZaMWL4Fp5nL5LcTKw0xM3dALM2Y x+2NNNS4QStMl58ti3v/SlDgRqUtw2emKDBT1KP1UJmvfuwNfR0J/B0EArcV2zFrUOWh m7J6jtLthnppOjQkm81T5qOKbCbERIlfGeM3+VcRPtIsto9EUTuw/fzModN40PfNdK6U 8sfKZ54TBdkTQ/wnCUfT390VgiSCX64qVUNNhJwD7A+TMVpYw4oO50VibRobgSfkGnQw 4cJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=h/TlhAxpS0unkw8gJJTKPoJMV/b4BT5V7/xlK1/TmK0=; b=NXX2fRCEX8kfFx98Zdx1cvAh4HlbApYc/QOW3zt4ixAzvxajA4J7lICQi9M+Vp+Fr4 c9OeCiKoBN/qiR/pxbo4maDY7PAGhwfp7uPzFtRdAyCKWtfy6uyPsrDEvy5jpI4zKpG4 m48g4XuwzEOO3dJvZOu5+yWtiNJckFUmPdV0Rz4ZPkuw/TGpLINw7jsesjxWY1ewAcsu vFUzlIH2y4OzaxAsXtnRWXmhmtK/8+rFG9zErEa8hfy/qoYaAAjPDls4UZMd6opo9MJW iE/9V0jktgRd5RPos1F4JqkFTIxBKx/AwZ7SkfLqVLNJ/g7LGE2/KkK6GjNinbXJ+5Yw hf2A== X-Gm-Message-State: AKS2vOyCXcq8OqfXyicK+osc9igB6ErjzTLNpBmGKCZFeupwVmLsHE6J NcX7osiZrfpapSTmqm4= X-Received: by 10.55.170.202 with SMTP id t193mr2347927qke.190.1497385626073; Tue, 13 Jun 2017 13:27:06 -0700 (PDT) Received: from bigtime.twiddle.net.com (97-113-165-157.tukw.qwest.net. [97.113.165.157]) by smtp.gmail.com with ESMTPSA id j65sm9528787qkf.38.2017.06.13.13.27.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jun 2017 13:27:05 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 13 Jun 2017 13:26:57 -0700 Message-Id: <20170613202659.1920-2-rth@twiddle.net> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170613202659.1920-1-rth@twiddle.net> References: <20170613202659.1920-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::241 Subject: [Qemu-devel] [PULL 1/3] target/s390x: correctly indicate PER nullification 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: peter.maydell@linaro.org, David Hildenbrand Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: David Hildenbrand Signed-off-by: David Hildenbrand Message-Id: <20170609142156.18767-2-david@redhat.com> Signed-off-by: Richard Henderson --- target/s390x/misc_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/s390x/misc_helper.c b/target/s390x/misc_helper.c index edcdf17..d6eda83 100644 --- a/target/s390x/misc_helper.c +++ b/target/s390x/misc_helper.c @@ -668,6 +668,7 @@ void HELPER(per_ifetch)(CPUS390XState *env, uint64_t addr) if (env->cregs[9] & PER_CR9_EVENT_NULLIFICATION) { CPUState *cs = CPU(s390_env_get_cpu(env)); + env->per_perc_atmid |= PER_CODE_EVENT_NULLIFICATION; env->int_pgm_code = PGM_PER; env->int_pgm_ilen = get_ilen(cpu_ldub_code(env, addr));