qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support
@ 2011-11-02 19:02 Michael S. Tsirkin
  2011-11-02 20:11 ` [Qemu-devel] [PATCH (repost) RFC 1/2] virtio: ISR bit constants Michael S. Tsirkin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michael S. Tsirkin @ 2011-11-02 19:02 UTC (permalink / raw)
  Cc: Anthony Liguori, Michael S. Tsirkin, qemu-devel, Jan Kiszka,
	Rusty Russell, Alexander Graf, virtualization, Blue Swirl,
	Stefan Weil, Avi Kivity, Richard Henderson

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?

-- 
1.7.5.53.gc233e

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

end of thread, other threads:[~2011-11-03 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 19:02 [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support Michael S. Tsirkin
2011-11-02 20:11 ` [Qemu-devel] [PATCH (repost) RFC 1/2] virtio: ISR bit constants Michael S. Tsirkin
2011-11-02 20:11 ` [Qemu-devel] [PATCH (repost) RFC 2/2] virtio-pci: recall and return msix notifications on ISR read Michael S. Tsirkin
2011-11-03 11:42   ` Jan Kiszka
2011-11-03 12:07     ` Michael S. Tsirkin
2011-11-03 16:52       ` Jan Kiszka
2011-11-03  0:56 ` [Qemu-devel] [PATCH RFC 0/2] virtio-pci: polling mode support Rusty Russell

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).