[Qemu-devel] [PATCH v2 0/3] target/ppc: add hash MMU support for the POWER9 PowerNV machine

Cédric Le Goater posted 3 patches 7 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180216084504.24958-1-clg@kaod.org
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x failed
There is a newer version of this series
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(-)
[Qemu-devel] [PATCH v2 0/3] target/ppc: add hash MMU support for the POWER9 PowerNV machine
Posted by Cédric Le Goater 7 years, 8 months ago
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