Skip to content

irqfd enhancements

Gregory Haskins kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 8 repliesIn review
  2. v12 patches 8 repliesSuperseded

Changes in v2 from the cover letter

*) dropped original cleanup which relied on the user registering
MSI based GSIs or we may crash at runtime. Instead, we now check at registration whether the GSI supports lockless operation and dynamically adapt to either the original deferred path for lock-based injections, or direct for lockless.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: export lockless GSI attributeinclude/linux/kvm_host.h virt/kvm/irq_comm.c+21 -08 replies
2/2KVM: Directly inject interrupts if they support lockless operationvirt/kvm/eventfd.c+27 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [KVM PATCH v2 0/2] irqfd enhancements

(Applies to kvm.git/master:11b06403)

The following patches are cleanups/enhancements for IRQFD now that we have lockless interrupt injection. For more details, please see the patch headers.

These patches pass checkpatch, and are fully tested. Please consider for merging. They are an enhancement only, so there is no urgency to push to mainline until a suitable merge window presents itself.

Kind Regards,
-Greg

[ Change log:

v2:
*) dropped original cleanup which relied on the user registering
MSI based GSIs or we may crash at runtime. Instead, we now check at registration whether the GSI supports lockless operation and dynamically adapt to either the original deferred path for lock-based injections, or direct for lockless.

v1:
*) original release
]

---

Gregory Haskins (2):
KVM: Directly inject interrupts if they support lockless operation
KVM: export lockless GSI attribute

 include/linux/kvm_host.h |    2 ++
 virt/kvm/eventfd.c       |   31 +++++++++++++++++++++++++++----
 virt/kvm/irq_comm.c      |   19 +++++++++++++++++++
 3 files changed, 48 insertions(+), 4 deletions(-)
Signature · 1 line
Signature