KVM: arm/arm64: vgic: Add vgic_{get,set}_phys_irq_active
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 Jun 2015 15:13:30 +0000 (16:13 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Aug 2015 10:28:26 +0000 (11:28 +0100)
commit6e84e0e0677281b4e7fc634c7e9d085fbcf41b10
tree8d1708365fb784ea8466703efabf6628bd0bc16b
parent08fd6461e8752d2db233c1f237fa5771bcefc63f
KVM: arm/arm64: vgic: Add vgic_{get,set}_phys_irq_active

In order to control the active state of an interrupt, introduce
a pair of accessors allowing the state to be set/queried.

This only affects the logical state, and the HW state will only be
applied at world-switch time.

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c