target/ppc: Flush the TLB locally when the LPIDR is written
commitc4dae9cd37f5c6c7a6aa741f985f5abb57a6bb3f
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Feb 2019 17:00:26 +0000 (15 18:00 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Feb 2019 22:21:25 +0000 (26 09:21 +1100)
tree05a5df8c960018365817becfd6609635453e83b1
parent74c4912f097bab98a8b0f8ec2bee1db269505c14
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>
target/ppc/helper.h
target/ppc/misc_helper.c
target/ppc/translate_init.inc.c