Skip to content

kvm: direct msix injection

Michael S. Tsirkin kvm 2 versions – Applied

Status from this message: Applied to queue. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 13 repliesApplied
  2. v3 RFC2 patches 14 repliesSuperseded

Changes from v2 from the cover letter

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.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2kvm: add kvm_set_irq_inatomicinclude/linux/kvm_host.h virt/kvm/irq_comm.c+72 -120 replies
2/2kvm: deliver msi interrupts from irq handlervirt/kvm/assigned-dev.c+26 -109 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAlex Williamson
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 0/2] kvm: direct msix injection

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: add kvm_set_irq_inatomic
kvm: deliver msi interrupts from irq handler

 include/linux/kvm_host.h |  1 +
 virt/kvm/assigned-dev.c  | 36 +++++++++++++++------
 virt/kvm/irq_comm.c      | 83 +++++++++++++++++++++++++++++++++++++++++-------
 3 files changed, 98 insertions(+), 22 deletions(-)
Signature · 1 line
MST