All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 RFC 0/2] kvm: direct msix injection
@ 2012-06-11 11:19 Michael S. Tsirkin
  2012-06-11 11:19 ` [PATCHv3 RFC 1/2] kvm: implement kvm_set_msi_inatomic Michael S. Tsirkin
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Michael S. Tsirkin @ 2012-06-11 11:19 UTC (permalink / raw)
  To: kvm; +Cc: Jan Kiszka

We can deliver certain interrupts, notably MSIX,
from atomic context.
Here's an untested patch to do this (compiled only).

Changes from v2:
Don't inject broadcast interrupts directly
Changes from v1:
Tried to address comments from v1, except unifying
with kvm_set_irq: passing flags to it looks too ugly.
Added a comment.

Jan, you said you can test this?


Michael S. Tsirkin (2):
  kvm: implement kvm_set_msi_inatomic
  kvm: deliver msix interrupts from irq handler

 include/linux/kvm_host.h |  3 ++
 virt/kvm/assigned-dev.c  | 31 ++++++++++++++++++--
 virt/kvm/irq_comm.c      | 75 ++++++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 102 insertions(+), 7 deletions(-)

-- 
MST

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

end of thread, other threads:[~2012-07-09 15:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 11:19 [PATCHv3 RFC 0/2] kvm: direct msix injection Michael S. Tsirkin
2012-06-11 11:19 ` [PATCHv3 RFC 1/2] kvm: implement kvm_set_msi_inatomic Michael S. Tsirkin
2012-06-13 13:01   ` Gleb Natapov
2012-06-13 15:59     ` Michael S. Tsirkin
2012-06-13 16:01       ` Gleb Natapov
2012-06-13 16:12         ` Michael S. Tsirkin
2012-06-14  7:00           ` Gleb Natapov
2012-06-11 11:19 ` [PATCHv3 RFC 2/2] kvm: deliver msix interrupts from irq handler Michael S. Tsirkin
2012-06-12 23:07 ` [PATCHv3 RFC 0/2] kvm: direct msix injection Marcelo Tosatti
2012-06-13  8:39   ` Michael S. Tsirkin
2012-06-13 14:14   ` Avi Kivity
2012-06-25  9:32 ` Jan Kiszka
2012-07-02 17:08   ` Alex Williamson
2012-07-06  3:01     ` Hao, Xudong
2012-07-08 22:55     ` Michael S. Tsirkin
2012-07-09 15:32       ` Jan Kiszka
2012-07-09 15:49         ` Alex Williamson

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.