All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] qemu: irqfds for s390x
@ 2014-02-25 17:25 ` Cornelia Huck
  0 siblings, 0 replies; 21+ messages in thread
From: Cornelia Huck @ 2014-02-25 17:25 UTC (permalink / raw)
  To: kvm, linux-s390, qemu-devel
  Cc: borntraeger, agraf, pbonzini, gleb, Cornelia Huck

Hi,

here's the companion patchset to "KVM: irqfds for s390", based on
Christian's s390-next branch.

Patch 1 adds support for adapter interrupts to virtio-ccw. This has been
posted before, modulo some fixes.

Patch 2 grabs the interfaces introduced by the kernel patchset. Will be
replaced by a normal headers update.

Patch 3 introduces simple wrappers for enabling capabilities. We can convert
existing users later on.

Patch 4 registers an I/O adapter when we enable adapter interrupts for a
device. We just have one virtio-ccw adapter for one interruption subclass.

Patch 5 adds reference counting for indicators. This is needed because we
want to map and pin indicator pages and drop them again when the last user
is gone.

Patch 6 finally enables irqfds via irq routing on s390x/virtio-ccw. We've
done most of the work in qemu already, so the kernel basically only needs
to write to the correct memory location and inject an interrupt.

A git branch with the patches is available at

https://github.com/cohuck/qemu.git s390x-irqfd


Cornelia Huck (6):
  s390x/virtio-ccw: Adapter interrupt support.
  linux-headers: add new interfaces
  kvm: add kvm_enable_cap_{vm,vcpu}
  s390x: Add I/O adapter registration.
  s390x/virtio-ccw: reference-counted indicators
  s390x/virtio-ccw: Wire up irq routing and irqfds.

 hw/intc/s390_flic.c          |   66 +++++++++
 hw/s390x/css.c               |   61 ++++++++
 hw/s390x/css.h               |    6 +
 hw/s390x/virtio-ccw.c        |  325 +++++++++++++++++++++++++++++++++++++++---
 hw/s390x/virtio-ccw.h        |   18 ++-
 include/hw/s390x/adapter.h   |   23 +++
 include/qemu/typedefs.h      |    1 +
 include/sysemu/kvm.h         |    6 +
 kvm-all.c                    |   57 +++++++-
 kvm-stub.c                   |    5 +
 linux-headers/asm-s390/kvm.h |   22 +++
 linux-headers/linux/kvm.h    |   16 +++
 target-s390x/cpu.h           |   33 +++++
 target-s390x/ioinst.h        |    2 +
 target-s390x/kvm.c           |   13 +-
 trace-events                 |    1 +
 16 files changed, 627 insertions(+), 28 deletions(-)
 create mode 100644 include/hw/s390x/adapter.h

-- 
1.7.9.5

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

end of thread, other threads:[~2014-03-04  9:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-25 17:25 [PATCH 0/6] qemu: irqfds for s390x Cornelia Huck
2014-02-25 17:25 ` [Qemu-devel] " Cornelia Huck
2014-02-25 17:25 ` [PATCH 1/6] s390x/virtio-ccw: Adapter interrupt support Cornelia Huck
2014-02-25 17:25   ` [Qemu-devel] " Cornelia Huck
2014-03-04  9:05   ` Cornelia Huck
2014-03-04  9:20     ` Christian Borntraeger
2014-03-04  9:20       ` Christian Borntraeger
2014-02-25 17:25 ` [PATCH 2/6] linux-headers: add new interfaces Cornelia Huck
2014-02-25 17:25   ` [Qemu-devel] " Cornelia Huck
2014-02-25 17:25 ` [PATCH 3/6] kvm: add kvm_enable_cap_{vm,vcpu} Cornelia Huck
2014-02-25 17:25   ` [Qemu-devel] " Cornelia Huck
2014-02-25 17:25 ` [PATCH 4/6] s390x: Add I/O adapter registration Cornelia Huck
2014-02-25 17:25   ` [Qemu-devel] " Cornelia Huck
2014-02-26  8:29   ` Christian Borntraeger
2014-02-26  8:29     ` [Qemu-devel] " Christian Borntraeger
2014-02-26  8:37     ` Cornelia Huck
2014-02-26  8:37       ` [Qemu-devel] " Cornelia Huck
2014-02-25 17:25 ` [PATCH 5/6] s390x/virtio-ccw: reference-counted indicators Cornelia Huck
2014-02-25 17:25   ` [Qemu-devel] " Cornelia Huck
2014-02-25 17:25 ` [PATCH 6/6] s390x/virtio-ccw: Wire up irq routing and irqfds Cornelia Huck
2014-02-25 17:25   ` [Qemu-devel] " Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.