From: Rusty Russell <rusty@rustcorp.com.au>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, Jan Kiszka <jan.kiszka@siemens.com>,
Alexander Graf <agraf@suse.de>,
virtualization@lists.linux-foundation.org,
Blue Swirl <blauwirbel@gmail.com>,
Stefan Weil <weil@mail.berlios.de>, Avi Kivity <avi@redhat.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support
Date: Thu, 03 Nov 2011 11:26:23 +1030 [thread overview]
Message-ID: <878vnyt45k.fsf@rustcorp.com.au> (raw)
In-Reply-To: <cover.1320259840.git.mst@redhat.com>
On Wed, 2 Nov 2011 21:02:42 +0200, "Michael S. Tsirkin" <mst@redhat.com> wrote:
> MSIX spec requires that device can be operated with
> all vectors masked, by polling.
>
> So the following patchset (lightly tested) adds this
> ability: when driver reads ISR, the device
> recalls a pending notification, and returns
> pending status in the ISR register.
>
> The polling driver can operate as follows:
> - map all VQs and config to the same vector
> - poll ISR to get status - this also flushes VQ updates to memory
> - handle config change or VQ event depending on ISR
>
> Comments?
This seems sane to me...
Cheers,
Rusty.
prev parent reply other threads:[~2011-11-03 3:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 19:02 [PATCH RFC 0/2] virtio-pci: polling mode support Michael S. Tsirkin
2011-11-02 19:02 ` [Qemu-devel] " Michael S. Tsirkin
2011-11-02 20:11 ` [PATCH (repost) RFC 1/2] virtio: ISR bit constants Michael S. Tsirkin
2011-11-02 20:11 ` [Qemu-devel] " Michael S. Tsirkin
2011-11-02 20:11 ` [PATCH (repost) RFC 2/2] virtio-pci: recall and return msix notifications on ISR read Michael S. Tsirkin
2011-11-02 20:11 ` [Qemu-devel] " Michael S. Tsirkin
2011-11-03 11:42 ` Jan Kiszka
2011-11-03 11:42 ` [Qemu-devel] " Jan Kiszka
2011-11-03 12:07 ` Michael S. Tsirkin
2011-11-03 12:07 ` [Qemu-devel] " Michael S. Tsirkin
2011-11-03 16:52 ` Jan Kiszka
2011-11-03 16:52 ` [Qemu-devel] " Jan Kiszka
2011-11-03 0:56 ` [PATCH RFC 0/2] virtio-pci: polling mode support Rusty Russell
2011-11-03 0:56 ` Rusty Russell [this message]
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=878vnyt45k.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=agraf@suse.de \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=blauwirbel@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=virtualization@lists.linux-foundation.org \
--cc=weil@mail.berlios.de \
/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 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.