Skip to content

KVM: s390: add floating irq controller

Jens Freimann kvm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: s390: add and extend interrupt information data structsarch/s390/include/asm/kvm_host.h include/uapi/linux/kvm.h+64 -332 replies
2/2KVM: s390: add floating irq controllerDocumentation/virtual/kvm/devices/s390_flic.txt arch/s390/include/asm/kvm_host.h arch/s390/include/uapi/asm/kvm.h +5 more+304 -513 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckChristian Borntraeger
1/2R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] KVM: s390: add floating irq controller

This series adds a kvm_device that acts as a irq controller for floating interrupts. As a first step it implements functionality to retrieve and inject interrupts for the purpose of migration and for hardening the reset code by allowing user space to explicitly remove all pending floating interrupts.

PFAULT patches will also use this device for enabling/disabling pfault, therefore the pfault patch series will be reworked to use this device.

* Patch 1/2 adds a new data structure to hold interrupt information. The current one (struct kvm_s390_interrupt) does not allow to inject every kind of interrupt, e.g. some data for program interrupts and machine check interruptions were missing.

* Patch 2/2 adds a kvm_device which supports getting/setting currently pending floating interrupts as well as deleting all currently pending interrupts

Jens Freimann (2):
KVM: s390: add and extend interrupt information data structs
KVM: s390: add floating irq controller

 Documentation/virtual/kvm/devices/s390_flic.txt |  36 +++
 arch/s390/include/asm/kvm_host.h                |  35 +--
 arch/s390/include/uapi/asm/kvm.h                |   5 +
 arch/s390/kvm/interrupt.c                       | 304 ++++++++++++++++++++----
 arch/s390/kvm/kvm-s390.c                        |   1 +
 include/linux/kvm_host.h                        |   1 +
 include/uapi/linux/kvm.h                        |  65 +++++
 virt/kvm/kvm_main.c                             |   5 +
 8 files changed, 368 insertions(+), 84 deletions(-)
 create mode 100644 Documentation/virtual/kvm/devices/s390_flic.txt
Signature · 1 line
1.8.3.4