All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Handle forwarded level-triggered interrupts
@ 2017-08-29  9:38 ` Christoffer Dall
  0 siblings, 0 replies; 36+ messages in thread
From: Christoffer Dall @ 2017-08-29  9:38 UTC (permalink / raw)
  To: kvmarm, Eric Auger, Marc Zyngier
  Cc: Andre Przywara, kvm, linux-arm-kernel, Christoffer Dall

This series illustrates an alternative approach to Eric Auger's direct EOI
setup patches [1] in terms of the KVM VGIC support.

The idea is to maintain existing semantics for the VGIC for mapped
level-triggered IRQs and think support for the timer into it.

Patch 1 is stolen from Eric's series and is necessary for these patches
to compile as well.  Patch 2 includes the core support for mapped
level-triggered interrupts.  Patch 3 moves some code around for patch 4.
Patch 4 implements an optimization for the timer.  The last two patches
could be deferred until the timer optimization series.

This series is untested (hence the RFC tag) and I'm looking for
feedback from the VGIC guys (you know who you are) on the approach and
whether we know up-front that this breaks for some reason.

I'll be happy to test and debug further if we agree on the overall
approach.

Based on v4.13-rc7.

Thanks,
-Christoffer

[1]: https://lists.cs.columbia.edu/pipermail/kvmarm/2017-June/026072.html

Christoffer Dall (3):
  KVM: arm/arm64: vgic: Support level-triggered mapped interrupts
  KVM: arm/arm64: Rearrange kvm_vgic_[un]map_phys code in vgic.c
  KVM: arm/arm64: Provide a vgic interrupt line level sample function

Eric Auger (1):
  KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq

 include/kvm/arm_vgic.h      | 19 +++++++++++--
 virt/kvm/arm/arch_timer.c   | 38 ++++++++++---------------
 virt/kvm/arm/vgic/vgic-v2.c | 29 +++++++++++++++++++
 virt/kvm/arm/vgic/vgic-v3.c | 29 +++++++++++++++++++
 virt/kvm/arm/vgic/vgic.c    | 68 +++++++++++++++++++++++++++++++++++++--------
 virt/kvm/arm/vgic/vgic.h    |  7 +++++
 6 files changed, 153 insertions(+), 37 deletions(-)

-- 
2.9.0

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

end of thread, other threads:[~2017-09-02 20:41 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29  9:38 [RFC PATCH 0/4] Handle forwarded level-triggered interrupts Christoffer Dall
2017-08-29  9:38 ` Christoffer Dall
2017-08-29  9:38 ` [RFC PATCH 1/4] KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq Christoffer Dall
2017-08-29  9:38   ` Christoffer Dall
2017-09-02 11:13   ` Marc Zyngier
2017-09-02 11:13     ` Marc Zyngier
2017-08-29  9:39 ` [RFC PATCH 2/4] KVM: arm/arm64: vgic: Support level-triggered mapped interrupts Christoffer Dall
2017-08-29  9:39   ` Christoffer Dall
2017-08-30  8:19   ` Auger Eric
2017-08-30  8:19     ` Auger Eric
2017-08-30  9:20     ` Christoffer Dall
2017-08-30  9:20       ` Christoffer Dall
2017-08-30 10:13       ` Auger Eric
2017-08-30 10:13         ` Auger Eric
2017-08-30 12:03         ` Christoffer Dall
2017-08-30 12:03           ` Christoffer Dall
2017-08-30 12:57           ` Auger Eric
2017-08-30 12:57             ` Auger Eric
2017-09-02 10:52   ` Marc Zyngier
2017-09-02 10:52     ` Marc Zyngier
2017-09-02 20:37     ` Christoffer Dall
2017-09-02 20:37       ` Christoffer Dall
2017-09-02 11:04   ` Marc Zyngier
2017-09-02 11:04     ` Marc Zyngier
2017-09-02 20:23     ` Christoffer Dall
2017-09-02 20:23       ` Christoffer Dall
2017-08-29  9:39 ` [RFC PATCH 3/4] KVM: arm/arm64: Rearrange kvm_vgic_[un]map_phys code in vgic.c Christoffer Dall
2017-08-29  9:39   ` Christoffer Dall
2017-09-02 11:14   ` Marc Zyngier
2017-09-02 11:14     ` Marc Zyngier
2017-08-29  9:39 ` [RFC PATCH 4/4] KVM: arm/arm64: Provide a vgic interrupt line level sample function Christoffer Dall
2017-08-29  9:39   ` Christoffer Dall
2017-09-02 11:20   ` Marc Zyngier
2017-09-02 11:20     ` Marc Zyngier
2017-09-02 20:41     ` Christoffer Dall
2017-09-02 20:41       ` Christoffer Dall

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.