Skip to content

RFC chip/vgic adaptations for forwarded irq

Eric Auger kvm kvmarm linux-arm-kernel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest4 patches 8 repliesIn review

Changes in v2 from the cover letter

- change title of the series (formerly "vgic additions for forwarded irq")
- "[RFC 4/4] KVM: arm: vgic: handle irqfd forwarded IRQ injection before vgic readiness" now handled in ARM irqfd series
- add chip.c patch file

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4chip.c: complete the forwarded IRQ in case the handler is not reachedkernel/irq/chip.c+6 -20 replies
2/4KVM: arm: vgic: fix state machine for forwarded IRQvirt/kvm/arm/vgic.c+12 -44 replies
3/4KVM: arm: vgic: add forwarded irq rbtree lockinclude/kvm/arm_vgic.h virt/kvm/arm/vgic.c+42 -150 replies
4/4KVM: arm: vgic: cleanup forwarded IRQs on destroyvirt/kvm/arm/vgic.c+34 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFC v2 0/4] chip/vgic adaptations for forwarded irq

This series proposes some fixes that appeared to be necessary to integrate IRQ forwarding in KVM/VFIO.

- deactivation of the forwarded IRQ in irq_disabled case
- a specific handling of forwarded IRQ into the VGIC state machine.
- deactivation of physical IRQ and unforwarding on vgic destruction
- rb_tree lock in vgic.c

Integrated pieces can be found at
ssh://git.linaro.org/people/eric.auger/linux.git
on branch irqfd_integ_v9

v1 -> v2:
- change title of the series (formerly "vgic additions for forwarded irq")
- "[RFC 4/4] KVM: arm: vgic: handle irqfd forwarded IRQ injection before vgic readiness" now handled in ARM irqfd series
- add chip.c patch file

Eric Auger (4):
chip.c: complete the forwarded IRQ in case the handler is not reached
KVM: arm: vgic: fix state machine for forwarded IRQ
KVM: arm: vgic: add forwarded irq rbtree lock
KVM: arm: vgic: cleanup forwarded IRQs on destroy

 include/kvm/arm_vgic.h |   1 +
 kernel/irq/chip.c      |   8 +++-
 virt/kvm/arm/vgic.c    | 106 ++++++++++++++++++++++++++++++++++++++++---------
 3 files changed, 94 insertions(+), 21 deletions(-)
Signature · 1 line
1.9.1