ppc/hash32: Rework R and C bit updates
commit6e8a65abbbd47a870ddc37484e7c9f183b7a7cce
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 11 Apr 2019 08:00:02 +0000 (11 10:00 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 26 Apr 2019 01:37:57 +0000 (26 11:37 +1000)
treec0e0438bde05f398359d4683ebfb5d1de128efb6
parenta2dd4e83e76ba9c0d432145059dd9e2b2a096e2b
ppc/hash32: Rework R and C bit updates

With MT-TCG, we are now running translation in a racy way, thus
we need to mimic hardware when it comes to updating the R and
C bits, by doing byte stores.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190411080004.8690-5-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu-hash32.c