Hello, This adds support for the Hash Page Table MMU mode on POWER9 PowerNV machines. The Radix Tree mode support for the host is still to be done but we are getting close.
Thanks, C. Changes since v1: - introduced ppc64_v3_get_patbe0() - renamed ppc64_radix() in ppc64_v3_radix() - renamed partition table definitions to match ISA - moved definitions under mmu-book3s-v3.h Cédric Le Goater (3): target/ppc: add basic support for PTCR on POWER9 target/ppc: add hash MMU support on POWER9 for PowerNV only target/ppc: generalize check on radix when in HV mode hw/ppc/spapr_hcall.c | 5 +++-- target/ppc/cpu.h | 2 ++ target/ppc/helper.h | 1 + target/ppc/misc_helper.c | 12 ++++++++++++ target/ppc/mmu-book3s-v3.c | 16 ++++++++++++++- target/ppc/mmu-book3s-v3.h | 22 +++++++++++++-------- target/ppc/mmu-hash64.c | 48 ++++++++++++++++++++++++++++++++++++--------- target/ppc/mmu-hash64.h | 34 ++++++++++++++++++++++++++++++-- target/ppc/mmu_helper.c | 32 ++++++++++++++++++++++++++++-- target/ppc/translate.c | 3 +++ target/ppc/translate_init.c | 20 ++++++++++++++++++- 11 files changed, 170 insertions(+), 25 deletions(-) -- 2.13.6