target/ppc: changed ppc_hash64_xlate to use mmu_idx
authorBruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Mon, 28 Jun 2021 13:36:10 +0000 (10:36 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jul 2021 00:38:19 +0000 (10:38 +1000)
commit03695a9870662ddaeef2e4f2129df31beb6e73bd
tree1a61784910852e9bee041d2489166453e85aada5
parent3f9f76d5bb27c3700ae1d5336e8921f842caad2e
target/ppc: changed ppc_hash64_xlate to use mmu_idx

Changed hash64 address translation to use the supplied mmu_idx instead
of using the one stored in the msr, for parity purposes (other book3s
MMUs already use it).

Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210628133610.1143-4-bruno.larsen@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu-hash64.c
target/ppc/mmu-hash64.h
target/ppc/mmu_helper.c