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

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

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