KVM: arm64: add active register handling to GICv3 emulation as well
authorAndre Przywara <andre.przywara@arm.com>
Thu, 23 Apr 2015 19:01:53 +0000 (20:01 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 9 Jun 2015 17:05:17 +0000 (18:05 +0100)
commitc11b532910f71246e0d5b580e3694ee3b7ddf54c
treefa022ff8d5ef9c61ca748a93eb0433928e8f9c3b
parenta5f56ba3b4ec8d2ad80da4c447d47e37e2b504fb
KVM: arm64: add active register handling to GICv3 emulation as well

Commit 47a98b15ba7c ("arm/arm64: KVM: support for un-queuing active
IRQs") introduced handling of the GICD_I[SC]ACTIVER registers,
but only for the GICv2 emulation. For the sake of completeness and
as this is a pre-requisite for save/restore of the GICv3 distributor
state, we should also emulate their handling in the distributor and
redistributor frames of an emulated GICv3.

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic-v3-emul.c