diff options
author | Benjamin Herrenschmidt | 2019-02-15 18:00:26 +0100 |
---|---|---|
committer | David Gibson | 2019-02-25 23:21:25 +0100 |
commit | c4dae9cd37f5c6c7a6aa741f985f5abb57a6bb3f (patch) | |
tree | 05a5df8c960018365817becfd6609635453e83b1 /target/ppc/helper.h | |
parent | target/ppc: Fix synchronization of mttcg with broadcast TLB flushes (diff) | |
download | qemu-c4dae9cd37f5c6c7a6aa741f985f5abb57a6bb3f.tar.gz qemu-c4dae9cd37f5c6c7a6aa741f985f5abb57a6bb3f.tar.xz qemu-c4dae9cd37f5c6c7a6aa741f985f5abb57a6bb3f.zip |
target/ppc: Flush the TLB locally when the LPIDR is written
Our TCG TLB only tags whether it's a HV vs a guest access, so it must
be flushed when the LPIDR is changed.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190215170029.15641-10-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/helper.h')
-rw-r--r-- | target/ppc/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ppc/helper.h b/target/ppc/helper.h index 18910d18a4..638a6e99c4 100644 --- a/target/ppc/helper.h +++ b/target/ppc/helper.h @@ -689,6 +689,7 @@ DEF_HELPER_2(store_ptcr, void, env, tl) #endif DEF_HELPER_2(store_sdr1, void, env, tl) DEF_HELPER_2(store_pidr, void, env, tl) +DEF_HELPER_2(store_lpidr, void, env, tl) DEF_HELPER_FLAGS_2(store_tbl, TCG_CALL_NO_RWG, void, env, tl) DEF_HELPER_FLAGS_2(store_tbu, TCG_CALL_NO_RWG, void, env, tl) DEF_HELPER_FLAGS_2(store_atbl, TCG_CALL_NO_RWG, void, env, tl) |