Skip to content

RFC KVM: PPC: In-kernel PAPR interrupt controller emulation

Paul Mackerras kvm kvm-ppc 1 version In review

Get series with b4
b4 am 20121105031806.GA22409@drongo

Versions newest first

  1. v1 RFC Latest9 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9KVM: PPC: Remove unused argument to kvmppc_core_dequeue_externalarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s.c arch/powerpc/kvm/booke.c +1 more+4 -70 replies
2/9KVM: PPC: Book3S: Add infrastructure to implement kernel-side RTAS callsDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/hvcall.h arch/powerpc/include/asm/kvm_host.h +8 more+252 -20 replies
3/9KVM: PPC: Book3S: Add kernel emulation for the XICS interrupt controllerDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/kvm_host.h +11 more+1315 -30 replies
4/9KVM: PPC: Book3S HV: Speed up wakeups of CPUs on HV KVMarch/powerpc/include/asm/kvm_book3s_asm.h arch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kernel/asm-offsets.c +4 more+163 -240 replies
5/9KVM: PPC: Book3S HV: Add support for real mode ICP in XICS emulationarch/powerpc/include/uapi/asm/kvm.h arch/powerpc/kvm/Makefile arch/powerpc/kvm/book3s_hv_rm_xics.c +2 more+572 -1010 replies
6/9KVM: PPC: Book3S HV: Improve real-mode handling of external interruptsarch/powerpc/include/asm/reg.h arch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_hv_rmhandlers.S+81 -650 replies
7/9KVM: PPC: Book3S: Add support for ibm,int-on/off RTAS callsarch/powerpc/include/asm/kvm_ppc.h arch/powerpc/kvm/book3s_rtas.c arch/powerpc/kvm/book3s_xics.c +1 more+114 -160 replies
8/9KVM: PPC: Book3S: Facilities to save/restore XICS presentation ctrler statearch/powerpc/include/asm/kvm_ppc.h arch/powerpc/include/uapi/asm/kvm.h arch/powerpc/kvm/book3s.c +1 more+121 -00 replies
9/9KVM: PPC: Book 3S: Facilities to save/restore XICS source controller stateDocumentation/virtual/kvm/api.txt arch/powerpc/kvm/book3s_xics.c arch/powerpc/kvm/powerpc.c +1 more+161 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/9] KVM: PPC: In-kernel PAPR interrupt controller emulation

This series implements in-kernel emulation of the XICS interrupt controller specified in the PAPR specification and used by pseries guests. Since the XICS is organized a bit differently to the interrupt controllers used on x86 machines, I have defined some new ioctls for setting up the XICS and for saving and restoring its state. It may be possible to use some of the currently x86-specific ioctls instead.

Paul.