qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] target/ppc: add hash MMU support for the POWER9 PowerNV machine
@ 2018-03-15 13:33 Cédric Le Goater
  2018-03-15 13:33 ` [Qemu-devel] [PATCH v3 1/4] target/ppc: export external HPT via virtual hypervisor Cédric Le Goater
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Cédric Le Goater @ 2018-03-15 13:33 UTC (permalink / raw)
  To: qemu-ppc, qemu-devel, David Gibson
  Cc: Suraj Jitindar Singh, Cédric Le Goater

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 v2:

 - extended PPCVirtualHypervisor interface to export the external HPT
 - added an assert on MMU model in ppc_store_ptcr()
 - reworked ppc_hash64_hpt_reg() to cover only powernv machines. pseries
   machines being handled with cpu->vhyp at the ppc_hash64_hpt_base()
   level.
 - reworked ppc64_v3_radix() to distinguish pseries machine from
   powernv machines


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 (4):
  target/ppc: export external HPT via virtual hypervisor
  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.c              |  8 +++++++
 hw/ppc/spapr_hcall.c        |  5 +++--
 target/ppc/cpu.h            |  3 +++
 target/ppc/helper.h         |  1 +
 target/ppc/misc_helper.c    | 12 +++++++++++
 target/ppc/mmu-book3s-v3.c  | 23 ++++++++++++++++++--
 target/ppc/mmu-book3s-v3.h  | 15 ++++++++++++-
 target/ppc/mmu-hash64.c     | 52 +++++++++++++++++++++++++++++++++++++--------
 target/ppc/mmu-hash64.h     | 39 ++++++++++++++++++++++++++++++++--
 target/ppc/mmu_helper.c     | 33 ++++++++++++++++++++++++++--
 target/ppc/translate.c      |  3 +++
 target/ppc/translate_init.c | 18 ++++++++++++++++
 12 files changed, 194 insertions(+), 18 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-04-05  4:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 13:33 [Qemu-devel] [PATCH v3 0/4] target/ppc: add hash MMU support for the POWER9 PowerNV machine Cédric Le Goater
2018-03-15 13:33 ` [Qemu-devel] [PATCH v3 1/4] target/ppc: export external HPT via virtual hypervisor Cédric Le Goater
2018-03-17  4:15   ` David Gibson
2018-03-17  8:55     ` [Qemu-devel] [Qemu-ppc] " Cédric Le Goater
2018-03-21  3:17       ` David Gibson
2018-03-15 13:34 ` [Qemu-devel] [PATCH v3 2/4] target/ppc: add basic support for PTCR on POWER9 Cédric Le Goater
2018-03-21  3:19   ` David Gibson
2018-03-15 13:34 ` [Qemu-devel] [PATCH v3 3/4] target/ppc: add hash MMU support on POWER9 for PowerNV only Cédric Le Goater
2018-03-23  8:24   ` David Gibson
2018-03-23  8:54     ` Cédric Le Goater
2018-03-15 13:34 ` [Qemu-devel] [PATCH v3 4/4] target/ppc: generalize check on radix when in HV mode Cédric Le Goater
2018-04-05  4:37   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).