linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] KVM: arm/arm64: Rework arch timer IRQ interface
@ 2016-04-15 14:04 Andre Przywara
  2016-04-15 14:04 ` [PATCH 1/7] KVM: arm/arm64: remove unneeded map parameter for vgic_update_irq_pending() Andre Przywara
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Andre Przywara @ 2016-04-15 14:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

currently the VGIC uses a linked list of irq_phys_map entries to store
mappings between virtual interrupts and mapped physical interrupts.
The virtual arch timer (as so far the only user of this feature) uses
a pointer to an allocated list entry to talk to the VGIC on several
occassions when handling mapped IRQs.
This is not only unneeded, but also exposes the (private) implementation
details of storing this mapping to other parts of the code, which will
cause issues with the new VGIC implementation.
So this series makes the irq_phys_map private to the VGIC
implementation, which improves abstraction and allows the new VGIC to
come without nasty hacks.

Based on 4.6-rc3.

Cheers,
Andre.

Andre Przywara (6):
  KVM: arm/arm64: remove unneeded map parameter for vgic_update_irq_pending()
  KVM: arm/arm64: directly pass virtual IRQ number on injecting mapped IRQ
  KVM: arm/arm64: directly pass virtual IRQ number on kvm_vgic_map_is_active()
  KVM: arm/arm64: directly pass virtual IRQ number on kvm_vgic_unmap_phys_irq()
  KVM: arm/arm64: remove irq_phys_map from the arch timer
  KVM: arm/arm64: remove irq_phys_map pointer from kvm_vgic_map_phys_irq()

Christoffer Dall (1):
  KVM: arm/arm64: Remove the IRQ field from struct irq_phys_map

 include/kvm/arm_arch_timer.h |  4 +--
 include/kvm/arm_vgic.h       | 10 +++----
 virt/kvm/arm/arch_timer.c    | 40 ++++++++++++++++++--------
 virt/kvm/arm/vgic.c          | 67 +++++++++++++++-----------------------------
 4 files changed, 58 insertions(+), 63 deletions(-)

-- 
2.7.3

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

end of thread, other threads:[~2016-04-25 10:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 14:04 [PATCH 0/7] KVM: arm/arm64: Rework arch timer IRQ interface Andre Przywara
2016-04-15 14:04 ` [PATCH 1/7] KVM: arm/arm64: remove unneeded map parameter for vgic_update_irq_pending() Andre Przywara
2016-04-21 17:08   ` Eric Auger
2016-04-15 14:04 ` [PATCH 2/7] KVM: arm/arm64: directly pass virtual IRQ number on injecting mapped IRQ Andre Przywara
2016-04-21 17:09   ` Eric Auger
2016-04-25 10:13     ` Andre Przywara
2016-04-15 14:04 ` [PATCH 3/7] KVM: arm/arm64: directly pass virtual IRQ number on kvm_vgic_map_is_active() Andre Przywara
2016-04-21 17:09   ` Eric Auger
2016-04-15 14:04 ` [PATCH 4/7] KVM: arm/arm64: directly pass virtual IRQ number on kvm_vgic_unmap_phys_irq() Andre Przywara
2016-04-21 17:41   ` Eric Auger
2016-04-15 14:04 ` [PATCH 5/7] KVM: arm/arm64: Remove the IRQ field from struct irq_phys_map Andre Przywara
2016-04-21 17:41   ` Eric Auger
2016-04-21 18:32     ` Christoffer Dall
2016-04-25 10:49       ` Andre Przywara
2016-04-25 10:25     ` Andre Przywara
2016-04-15 14:04 ` [PATCH 6/7] KVM: arm/arm64: remove irq_phys_map from the arch timer Andre Przywara
2016-04-21 17:56   ` Eric Auger
2016-04-25 10:29     ` Andre Przywara
2016-04-15 14:04 ` [PATCH 7/7] KVM: arm/arm64: remove irq_phys_map pointer from kvm_vgic_map_phys_irq() Andre Przywara
2016-04-21 18:04   ` Eric Auger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).