]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cc4d231f4a5dd0d0bb9a20f249b02b1bc2db48b
tree4f4db678e56aff1dd7953e2936054b455db8355e
parent684bd9ba27053806be452be022140ff92a877c9a
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