All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] KVM: PPC: sPAPR: Enable magic page mapping
@ 2014-06-04 10:31 Alexander Graf
  2014-06-04 10:31 ` [Qemu-devel] [PATCH 1/4] linux-headers: include psci.h Alexander Graf
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alexander Graf @ 2014-06-04 10:31 UTC (permalink / raw)
  To: qemu-ppc; +Cc: qemu-devel

The magic page allows us to speed up guests significantly on PR KVM. To enable
the magic page the guest needs to be able to issue KVM hypercalls. Information
on how to trigger them comes via device tree.

So far we didn't expose the respective device tree node on the sPAPR machine
type. Unfortunately during testing a number of issues got revealed when the
guest uses our magic page, so we only enable kvm hypercalls when the host kernel
is patched to make this a safe operation.

Alexander Graf (4):
  linux-headers: include psci.h
  linux-headers: update linux headers to kvm/next
  KVM: PPC: Expose fixup hcall capability
  PPC: spapr: Expose /hypervisor node in device tree

 hw/ppc/spapr.c                       | 20 ++++++++
 linux-headers/asm-arm/kvm.h          | 10 ++--
 linux-headers/asm-arm64/kvm.h        | 13 ++++--
 linux-headers/asm-mips/kvm.h         | 35 ++++++++++++++
 linux-headers/asm-powerpc/kvm.h      |  2 +-
 linux-headers/asm-powerpc/kvm_para.h |  6 +++
 linux-headers/linux/kvm.h            | 10 ++++
 linux-headers/linux/psci.h           | 90 ++++++++++++++++++++++++++++++++++++
 scripts/update-linux-headers.sh      |  3 +-
 target-ppc/kvm.c                     |  7 +++
 target-ppc/kvm_ppc.h                 |  6 +++
 11 files changed, 191 insertions(+), 11 deletions(-)
 create mode 100644 linux-headers/linux/psci.h

-- 
1.8.1.4

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

end of thread, other threads:[~2014-06-04 13:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 10:31 [Qemu-devel] [PATCH 0/4] KVM: PPC: sPAPR: Enable magic page mapping Alexander Graf
2014-06-04 10:31 ` [Qemu-devel] [PATCH 1/4] linux-headers: include psci.h Alexander Graf
2014-06-04 13:07   ` Peter Maydell
2014-06-04 13:35     ` Alexander Graf
2014-06-04 10:31 ` [Qemu-devel] [PATCH 2/4] linux-headers: update linux headers to kvm/next Alexander Graf
2014-06-04 10:31 ` [Qemu-devel] [PATCH 3/4] KVM: PPC: Expose fixup hcall capability Alexander Graf
2014-06-04 10:31 ` [Qemu-devel] [PATCH 4/4] PPC: spapr: Expose /hypervisor node in device tree Alexander Graf

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.