summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-06-09 16:21:55 +0200
committerRichard Henderson <rth@twiddle.net>2017-06-13 10:53:07 -0700
commit465aec461726d5157d458acee94584f8cdfbe4b7 (patch)
tree09bc8fa551e7cae4f086ecc4b710a3a53048d537 /target
parent3f0602927b120a480b35dcf58cf6f95435b3ae91 (diff)
downloadqemu-465aec461726d5157d458acee94584f8cdfbe4b7.zip
target/s390x: correctly indicate PER nullification
Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20170609142156.18767-2-david@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target')
-rw-r--r--target/s390x/misc_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/s390x/misc_helper.c b/target/s390x/misc_helper.c
index edcdf17db6..d6eda832eb 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));