All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] Cleanups to handling of hash MMU
@ 2017-02-23  2:09 David Gibson
  2017-02-23  2:09 ` [Qemu-devel] [PATCH 1/6] pseries: Minor cleanups to HPT management hypercalls David Gibson
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: David Gibson @ 2017-02-23  2:09 UTC (permalink / raw)
  To: qemu-ppc, aik, sjitindarsingh
  Cc: qemu-devel, agraf, thuth, lvivier, mdroth, paulus, David Gibson

This series has an assortment of cleanups to the handling of the hash
based MMU for 64-bit ppc machines.  In particular it better handles
the case of "external" hash table - this is used on the pseries
machine type, which being a paravirtualized platform has the hashed
page table - along with other hypervisor resources - outside the
direct reach of the guest OS.  This series integrates the handling of
the external HPT with the externalized handling of hypercalls via the
"virtual hypervisor" mechanism.

These cleanups are expected to make integrating the new MMU model for
POWER9 easier; in particular dealing with both the new POWER9 radix
MMU and also the POWER9 legacy hash compatibility mode.

This series is based on my current ppc-for-2.9 branch, which I've just
sent a pull request for.

David Gibson (6):
  pseries: Minor cleanups to HPT management hypercalls
  target/ppc: Merge cpu_ppc_set_vhyp() with cpu_ppc_set_papr()
  target/ppc: SDR1 is a hypervisor resource
  target/ppc: Cleanup HPTE accessors for 64-bit hash MMU
  target/ppc: Eliminate htab_base and htab_mask variables
  target/ppc: Manage external HPT via virtual hypervisor

 hw/ppc/spapr.c              |  58 +++++++++++++++
 hw/ppc/spapr_cpu_core.c     |  20 ++++-
 hw/ppc/spapr_hcall.c        |  89 +++++++++++-----------
 target/ppc/cpu.h            |  24 +++---
 target/ppc/kvm.c            |  27 +++----
 target/ppc/kvm_ppc.h        |  43 +++++------
 target/ppc/machine.c        |   5 +-
 target/ppc/misc_helper.c    |   8 +-
 target/ppc/mmu-hash32.c     |  14 ++--
 target/ppc/mmu-hash32.h     |  32 ++++----
 target/ppc/mmu-hash64.c     | 177 ++++++++++++++++++--------------------------
 target/ppc/mmu-hash64.h     |  66 +++++++++--------
 target/ppc/mmu_helper.c     |  34 +++++----
 target/ppc/translate_init.c |  30 +++++---
 14 files changed, 332 insertions(+), 295 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2017-02-27  5:07 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23  2:09 [Qemu-devel] [PATCH 0/6] Cleanups to handling of hash MMU David Gibson
2017-02-23  2:09 ` [Qemu-devel] [PATCH 1/6] pseries: Minor cleanups to HPT management hypercalls David Gibson
2017-02-23  4:08   ` Suraj Jitindar Singh
2017-02-23  2:09 ` [Qemu-devel] [PATCH 2/6] target/ppc: Merge cpu_ppc_set_vhyp() with cpu_ppc_set_papr() David Gibson
2017-02-23  4:27   ` Suraj Jitindar Singh
2017-02-23  2:09 ` [Qemu-devel] [PATCH 3/6] target/ppc: SDR1 is a hypervisor resource David Gibson
2017-02-23  4:32   ` Suraj Jitindar Singh
2017-02-23  5:11     ` David Gibson
2017-02-23  2:09 ` [Qemu-devel] [PATCH 4/6] target/ppc: Cleanup HPTE accessors for 64-bit hash MMU David Gibson
2017-02-23  5:02   ` Alexey Kardashevskiy
2017-02-23  5:23     ` David Gibson
2017-02-27  5:06     ` David Gibson
2017-02-23  5:37   ` Suraj Jitindar Singh
2017-02-24  5:25     ` David Gibson
2017-02-23  2:09 ` [Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables David Gibson
2017-02-23  5:43   ` Alexey Kardashevskiy
2017-02-24  5:30     ` David Gibson
2017-02-23  5:52   ` Suraj Jitindar Singh
2017-02-24  3:45     ` David Gibson
2017-02-24  5:34     ` David Gibson
2017-02-23  2:09 ` [Qemu-devel] [PATCH 6/6] target/ppc: Manage external HPT via virtual hypervisor David Gibson
2017-02-23  6:20   ` Suraj Jitindar Singh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.