From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: linux-s390 <linux-s390@vger.kernel.org>,
Alexander Graf <agraf@suse.de>,
qemu-devel <qemu-devel@nongnu.org>, KVM <kvm@vger.kernel.org>,
virtualization@lists.linux-foundation.org
Subject: Re: [Qemu-devel] [RFC PATCH v2] s390/virtio-ccw: Adapter interrupt support.
Date: Tue, 09 Jul 2013 15:27:14 +0200 [thread overview]
Message-ID: <51DC0FB2.50308@de.ibm.com> (raw)
In-Reply-To: <1373369645-3184-2-git-send-email-cornelia.huck@de.ibm.com>
On 09/07/13 13:34, Cornelia Huck wrote:
> Handle the new CCW_CMD_SET_IND_ADAPTER command enabling adapter interrupts
> on guest request. When active, host->guest notifications will be handled
> via global_indicator -> queue indicators instead of queue indicators +
> subchannel I/O interrupt. Indicators for virtqueues may be present at an
> offset.
>
You might want to add why we want adapter interrupts:
- no test subchannel -> less qemu mutex contention
- no test subchannel -> we can implement something like irqfd without moving
most of ccw device mgmt into the kernel
- interrupt coalescing
- the guest common I/O layer already supports adapter interrupts
for all newer hardware
the interesting part of this patch is the guest<->host interface. As far as I
can see, we are able to register
- an isc per device
- an arbitrary summary indicator byte per device
- an arbitrary bit position in guest memory where the queue indicator bits of this
device start
This allows for packing the indicators for all virtqueues of all devices or
spreading them in memory. The layout and amount of coalescing of bits is then
an optimization that can be changed all the time without the need to change
the interface.
> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
next prev parent reply other threads:[~2013-07-09 13:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 11:34 [Qemu-devel] [RFC PATCH v2] qemu: Adapter interrupts for virtio-ccw Cornelia Huck
2013-07-09 11:34 ` [Qemu-devel] [RFC PATCH v2] s390/virtio-ccw: Adapter interrupt support Cornelia Huck
2013-07-09 13:27 ` Christian Borntraeger [this message]
2013-07-09 13:52 ` 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=51DC0FB2.50308@de.ibm.com \
--to=borntraeger@de.ibm.com \
--cc=agraf@suse.de \
--cc=cornelia.huck@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=virtualization@lists.linux-foundation.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).