]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9157ca5bb90ef745c1ae651004f87d8ad18db687
tree8d1708365fb784ea8466703efabf6628bd0bc16b
parent6e195e181acf16d80908464c3ba8004e3731d892
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