KVM: arm/arm64: vgic-new: Add acccessor to new struct vgic_irq instance
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 24 Nov 2015 15:51:12 +0000 (16:51 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:45 +0000 (15:39 +0200)
commit64a959d66e47039833e7f3c8d7e50fd4afa078ca
tree593535004b0b0c66314a30b82df3985011d3d027
parentb18b57787f5e469b2825784ae3c522fc14472e97
KVM: arm/arm64: vgic-new: Add acccessor to new struct vgic_irq instance

The new VGIC implementation centers around a struct vgic_irq instance
per virtual IRQ.
Provide a function to retrieve the right instance for a given IRQ
number and (in case of private interrupts) the right VCPU.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic.c [new file with mode: 0644]
virt/kvm/arm/vgic/vgic.h [new file with mode: 0644]