KVM: arm/arm64: vgic: Allow HW irq to be encoded in LR
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 Jun 2015 14:37:26 +0000 (15:37 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Aug 2015 10:28:24 +0000 (11:28 +0100)
commitfb182cf84568cc33ab41121bc8cc999f7aacbd47
tree4f4db678e56aff1dd7953e2936054b455db8355e
parent32d2d8010cd7080a0f1712f1084b92657858428e
KVM: arm/arm64: vgic: Allow HW irq to be encoded in LR

Now that struct vgic_lr supports the LR_HW bit and carries a hwirq
field, we can encode that information into the list registers.

This patch provides implementations for both GICv2 and GICv3.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/linux/irqchip/arm-gic-v3.h
include/linux/irqchip/arm-gic.h
virt/kvm/arm/vgic-v2.c
virt/kvm/arm/vgic-v3.c