All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] virtio-pci: polling mode support
@ 2011-11-02 19:02 ` Michael S. Tsirkin
  0 siblings, 0 replies; 14+ 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,
	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] 14+ messages in thread

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] " Rusty Russell

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.