qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, David Hildenbrand <david@redhat.com>
Subject: [Qemu-devel] [PULL 1/3] target/s390x: correctly indicate PER nullification
Date: Tue, 13 Jun 2017 13:26:57 -0700	[thread overview]
Message-ID: <20170613202659.1920-2-rth@twiddle.net> (raw)
In-Reply-To: <20170613202659.1920-1-rth@twiddle.net>

From: David Hildenbrand <david@redhat.com>

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170609142156.18767-2-david@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 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));
 
-- 
2.9.4

  reply	other threads:[~2017-06-13 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-13 20:26 [Qemu-devel] [PULL 0/3] Queued s390x tcg patches Richard Henderson
2017-06-13 20:26 ` Richard Henderson [this message]
2017-06-13 20:26 ` [Qemu-devel] [PULL 2/3] target/s390x: rework PGM interrupt psw.addr handling Richard Henderson
2017-06-13 20:26 ` [Qemu-devel] [PULL 3/3] s390x/cpumodel: wire up cpu type + id for TCG Richard Henderson
2017-06-13 20:46 ` [Qemu-devel] [PULL 0/3] Queued s390x tcg patches no-reply
2017-06-15 15:33 ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170613202659.1920-2-rth@twiddle.net \
    --to=rth@twiddle.net \
    --cc=david@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).