]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic: Signal IRQs using their configured group
authorChristoffer Dall <christoffer.dall@arm.com>
Mon, 16 Jul 2018 13:06:22 +0000 (15:06 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Sat, 21 Jul 2018 15:02:26 +0000 (16:02 +0100)
commitc9a6c4a3d326f6b1020c1d2d2cd7ffa1e44f3b5a
tree880ea15f8483cde93928f0836e7f7407e11b08e1
parentb5ffbf95d59d192f606bc9c8c3ba7d2c173eccf6
KVM: arm/arm64: vgic: Signal IRQs using their configured group

Now when we have a group configuration on the struct IRQ, use this state
when populating the LR and signaling interrupts as either group 0 or
group 1 to the VM.  Depending on the model of the emulated GIC, and the
guest's configuration of the VMCR, interrupts may be signaled as IRQs or
FIQs to the VM.

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