[PULL,1/3] target/s390x: correctly indicate PER nullification
diff mbox

Message ID 20170613202659.1920-2-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson June 13, 2017, 8:26 p.m. UTC
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(+)

Patch
diff mbox

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));