public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] New PAPR hypercall plus individual hypercall enables, v2
@ 2014-05-31  7:21 Paul Mackerras
  2014-05-31  7:21 ` [PATCH 1/3] KVM: PPC: Book3S: Controls for in-kernel PAPR hypercall handling Paul Mackerras
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Paul Mackerras @ 2014-05-31  7:21 UTC (permalink / raw)
  To: Alexander Graf; +Cc: kvm-ppc, kvm

This patch series adds a way for userspace to control which PAPR
hypercalls get handled by kernel handlers vs. being sent up to
userspace, and then adds an implementation of a new hypercall,
H_SET_MODE.

This version makes the KVM_CAP_PPC_ENABLE_HCALL capability a VM
capability rather than a vcpu capability, and checks that the hcall
numbers in the default-enabled list have an in-kernel implementation.

The series is against the queue branch of the kvm tree.  I would like
these patches to go into 3.16 if possible.

Paul.

 Documentation/virtual/kvm/api.txt       |  23 ++++++
 arch/powerpc/include/asm/hvcall.h       |   6 ++
 arch/powerpc/include/asm/kvm_book3s.h   |   4 +
 arch/powerpc/include/asm/kvm_host.h     |   2 +
 arch/powerpc/include/asm/kvm_ppc.h      |   2 +-
 arch/powerpc/kernel/asm-offsets.c       |   1 +
 arch/powerpc/kvm/book3s.c               |   5 ++
 arch/powerpc/kvm/book3s_hv.c            | 130 +++++++++++++++++++++++++++++++-
 arch/powerpc/kvm/book3s_hv_builtin.c    |  13 ++++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S |  12 +++
 arch/powerpc/kvm/book3s_pr.c            |   8 ++
 arch/powerpc/kvm/book3s_pr_papr.c       |  62 +++++++++++++++
 arch/powerpc/kvm/powerpc.c              |  47 ++++++++++++
 include/uapi/linux/kvm.h                |   1 +
 14 files changed, 314 insertions(+), 2 deletions(-)

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

end of thread, other threads:[~2014-06-01 10:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-31  7:21 [PATCH 0/3] New PAPR hypercall plus individual hypercall enables, v2 Paul Mackerras
2014-05-31  7:21 ` [PATCH 1/3] KVM: PPC: Book3S: Controls for in-kernel PAPR hypercall handling Paul Mackerras
2014-06-01  9:55   ` Alexander Graf
2014-05-31  7:21 ` [PATCH 2/3] KVM: PPC: Book3S: Allow only implemented hcalls to be enabled or disabled Paul Mackerras
2014-05-31  7:21 ` [PATCH 3/3] KVM: PPC: Book3S HV: Add H_SET_MODE hcall handling Paul Mackerras
2014-06-01 10:01 ` [PATCH 0/3] New PAPR hypercall plus individual hypercall enables, v2 Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox