Skip to content

KVM: PPC: sPAPR: Enable magic page mapping

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4linux-headers: include psci.hscripts/update-linux-headers.sh+2 -12 replies
2/4linux-headers: update linux headers to kvm/nextlinux-headers/asm-arm/kvm.h linux-headers/asm-arm64/kvm.h linux-headers/asm-mips/kvm.h +4 more+156 -100 replies
3/4KVM: PPC: Expose fixup hcall capabilitytarget-ppc/kvm.c target-ppc/kvm_ppc.h+13 -00 replies
4/4PPC: spapr: Expose /hypervisor node in device treehw/ppc/spapr.c+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] KVM: PPC: sPAPR: Enable magic page mapping

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
Signature · 1 line
1.8.1.4