qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: kvm@vger.kernel.org, linux-s390@vger.kernel.org, qemu-devel@nongnu.org
Cc: gleb@kernel.org, borntraeger@de.ibm.com,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	agraf@suse.de, pbonzini@redhat.com
Subject: [Qemu-devel] [PATCH 0/6] qemu: irqfds for s390x
Date: Tue, 25 Feb 2014 18:25:14 +0100	[thread overview]
Message-ID: <1393349120-18228-1-git-send-email-cornelia.huck@de.ibm.com> (raw)

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

             reply	other threads:[~2014-02-25 17:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 17:25 Cornelia Huck [this message]
2014-02-25 17:25 ` [Qemu-devel] [PATCH 1/6] s390x/virtio-ccw: Adapter interrupt support Cornelia Huck
2014-03-04  9:05   ` Cornelia Huck
2014-03-04  9:20     ` Christian Borntraeger
2014-02-25 17:25 ` [Qemu-devel] [PATCH 2/6] linux-headers: add new interfaces Cornelia Huck
2014-02-25 17:25 ` [Qemu-devel] [PATCH 3/6] kvm: add kvm_enable_cap_{vm,vcpu} Cornelia Huck
2014-02-25 17:25 ` [Qemu-devel] [PATCH 4/6] s390x: Add I/O adapter registration Cornelia Huck
2014-02-26  8:29   ` Christian Borntraeger
2014-02-26  8:37     ` Cornelia Huck
2014-02-25 17:25 ` [Qemu-devel] [PATCH 5/6] s390x/virtio-ccw: reference-counted indicators Cornelia Huck
2014-02-25 17:25 ` [Qemu-devel] [PATCH 6/6] s390x/virtio-ccw: Wire up irq routing and irqfds Cornelia Huck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393349120-18228-1-git-send-email-cornelia.huck@de.ibm.com \
    --to=cornelia.huck@de.ibm.com \
    --cc=agraf@suse.de \
    --cc=borntraeger@de.ibm.com \
    --cc=gleb@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).