summaryrefslogtreecommitdiffstats
path: root/target/s390x
diff options
context:
space:
mode:
authorDavid Hildenbrand2017-06-09 16:21:55 +0200
committerRichard Henderson2017-06-13 19:53:07 +0200
commit465aec461726d5157d458acee94584f8cdfbe4b7 (patch)
tree09bc8fa551e7cae4f086ecc4b710a3a53048d537 /target/s390x
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170613'... (diff)
downloadqemu-465aec461726d5157d458acee94584f8cdfbe4b7.tar.gz
qemu-465aec461726d5157d458acee94584f8cdfbe4b7.tar.xz
qemu-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/s390x')
-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));