mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 21:33:40 +08:00
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 <david@redhat.com> Message-Id: <20170928203708.9376-26-david@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
parent
b1ab5f6068
commit
b376a5545a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user