Skip to content

KVM: PPC: BookE: Add EPR user space support v3

Alexander Graf kvm kvm-ppc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

v1 -> v2 from the cover letter

- do an explicit requests check rather than play with return values
- rework update_epr logic
- add documentation for ENABLE_CAP on EPR cap

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: PPC: BookE: Allow irq deliveries to inject requestsarch/powerpc/kvm/booke.c+5 -00 replies
2/4KVM: PPC: BookE: Emulate mfspr on EPRarch/powerpc/kvm/booke_emulate.c+3 -00 replies
3/4KVM: PPC: BookE: Implement EPR exitDocumentation/virtual/kvm/api.txt arch/powerpc/include/asm/kvm_host.h arch/powerpc/include/asm/kvm_ppc.h +4 more+79 -30 replies
4/4KVM: PPC: BookE: Add EPR ONE_REG syncDocumentation/virtual/kvm/api.txt arch/powerpc/include/uapi/asm/kvm.h arch/powerpc/kvm/booke.c+27 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] KVM: PPC: BookE: Add EPR user space support v3

The FSL MPIC implementation contains a feature called "external proxy facility" which allows for interrupts to be acknowledged in the MPIC as soon as a core accepts its pending external interrupt.

This patch set implements all the necessary pieces to support this from the kernel space side.

v1 -> v2:

- do an explicit requests check rather than play with return values
- rework update_epr logic
- add documentation for ENABLE_CAP on EPR cap

v2 -> v3:

- remove leftover 'allowed==2' logic

Alexander Graf (3):
KVM: PPC: BookE: Emulate mfspr on EPR
KVM: PPC: BookE: Implement EPR exit
KVM: PPC: BookE: Add EPR ONE_REG sync

Mihai Caraman (1):
KVM: PPC: BookE: Allow irq deliveries to inject requests

 Documentation/virtual/kvm/api.txt   |   41 +++++++++++++++++++++++++++++++++-
 arch/powerpc/include/asm/kvm_host.h |    2 +
 arch/powerpc/include/asm/kvm_ppc.h  |    9 +++++++
 arch/powerpc/include/uapi/asm/kvm.h |    6 ++++-
 arch/powerpc/kvm/booke.c            |   40 +++++++++++++++++++++++++++++++++-
 arch/powerpc/kvm/booke_emulate.c    |    3 ++
 arch/powerpc/kvm/powerpc.c          |   10 ++++++++
 include/linux/kvm_host.h            |    1 +
 include/uapi/linux/kvm.h            |    6 +++++
 9 files changed, 114 insertions(+), 4 deletions(-)