aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/translate.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2017-06-01 00:01:02 +0200
committerRichard Henderson <rth@twiddle.net>2017-06-06 14:34:32 -0700
commit1f58720c5fd033e4e2de1d047020b43a3cb3aa1b (patch)
treeed90553858175dfd9ace0b06a18bd35d9b807464 /target/s390x/translate.c
parent8a4719f527484a7b9940e1c93690b01dc5ca5144 (diff)
target/s390x: implement local-TLB-clearing in IPTE
And at the same time make IPTE SMP aware. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Message-Id: <20170531220129.27724-4-aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/s390x/translate.c')
-rw-r--r--target/s390x/translate.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index 67ddf1b809..0a1b3b3d07 100644
--- a/target/s390x/translate.c
+++ b/target/s390x/translate.c
@@ -2357,8 +2357,12 @@ static ExitStatus op_ipm(DisasContext *s, DisasOps *o)
#ifndef CONFIG_USER_ONLY
static ExitStatus op_ipte(DisasContext *s, DisasOps *o)
{
+ TCGv_i32 m4;
+
check_privileged(s);
- gen_helper_ipte(cpu_env, o->in1, o->in2);
+ m4 = tcg_const_i32(get_field(s->fields, m4));
+ gen_helper_ipte(cpu_env, o->in1, o->in2, m4);
+ tcg_temp_free_i32(m4);
return NO_EXIT;
}