From: David Hildenbrand Date: Thu, 28 Sep 2017 20:37:03 +0000 (+0200) Subject: s390x/tcg: flush the tlb on SIGP SET PREFIX X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b376a5545a73c4ae5d19741afa7b2074d31a3a3f;p=qmiga%2Fqemu.git s390x/tcg: flush the tlb on SIGP SET PREFIX Thanks to Aurelien Jarno for doing this in his prototype. We can flush the whole TLB as this should happen really rarely. Signed-off-by: David Hildenbrand Message-Id: <20170928203708.9376-26-david@redhat.com> Reviewed-by: Richard Henderson Signed-off-by: Cornelia Huck --- diff --git a/target/s390x/sigp.c b/target/s390x/sigp.c index d70f5cb0ba..c5a5dac911 100644 --- a/target/s390x/sigp.c +++ b/target/s390x/sigp.c @@ -287,6 +287,7 @@ static void sigp_set_prefix(CPUState *cs, run_on_cpu_data arg) } cpu->env.psa = addr; + tlb_flush(cs); cpu_synchronize_post_init(cs); si->cc = SIGP_CC_ORDER_CODE_ACCEPTED; }