target/ppc: Introduce ppc_xlate
commit51806b545834e0902dd2d17d1f66c7a2d83422f3
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 21 Jun 2021 12:51:13 +0000 (21 09:51 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jul 2021 00:38:19 +0000 (9 10:38 +1000)
treea463ae487db0915126f8150429b83710b29e45fa
parentaf44a1423691b6c93327fccfef20a5c5cbf8e517
target/ppc: Introduce ppc_xlate

Create one common dispatch for all of the ppc_*_xlate functions.
Use ppc64_v3_radix to directly dispatch between ppc_radix64_xlate
and ppc_hash64_xlate.

Remove the separate *_handle_mmu_fault and *_get_phys_page_debug
functions, using common code for ppc_cpu_tlb_fill and
ppc_cpu_get_phys_page_debug.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210621125115.67717-9-bruno.larsen@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu-book3s-v3.c
target/ppc/mmu-book3s-v3.h
target/ppc/mmu-hash32.c
target/ppc/mmu-hash32.h
target/ppc/mmu-hash64.c
target/ppc/mmu-hash64.h
target/ppc/mmu-radix64.c
target/ppc/mmu-radix64.h
target/ppc/mmu_helper.c