]> Git Repo - qemu.git/commitdiff
s390x/tcg: flush the tlb on SIGP SET PREFIX
authorDavid Hildenbrand <[email protected]>
Thu, 28 Sep 2017 20:37:03 +0000 (22:37 +0200)
committerCornelia Huck <[email protected]>
Fri, 20 Oct 2017 11:32:10 +0000 (13:32 +0200)
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 <[email protected]>
Message-Id: <20170928203708[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target/s390x/sigp.c

index d70f5cb0baecec12a20aa8537c1637ef96524223..c5a5dac9117f51dc06b809bf6bfe4b420f009251 100644 (file)
@@ -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;
 }
This page took 0.028343 seconds and 4 git commands to generate.