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.
The full tree can be found here :
https://github.com/legoater/qemu powernv-2.12
Thanks,
C.
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 | 17 +++++++++++++++-
target/ppc/mmu-book3s-v3.h | 8 +-------
target/ppc/mmu-hash64.c | 48 ++++++++++++++++++++++++++++++++++++---------
target/ppc/mmu-hash64.h | 41 ++++++++++++++++++++++++++++++++++++--
target/ppc/mmu_helper.c | 32 ++++++++++++++++++++++++++++--
target/ppc/translate.c | 3 +++
target/ppc/translate_init.c | 20 ++++++++++++++++++-
11 files changed, 165 insertions(+), 24 deletions(-)
--
2.13.6