]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm/arm64: vgic-new: Add TARGET registers handlers
authorAndre Przywara <andre.przywara@arm.com>
Tue, 1 Dec 2015 12:41:55 +0000 (12:41 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:54 +0000 (15:39 +0200)
commit2c234d6f18267614aaa9b0e9148a7daa6e2b234d
tree86d2f31a34f6832968185a94497cc12ed3e607b1
parent79717e4ac09c7c0c1414a3338fec457d982e9dd8
KVM: arm/arm64: vgic-new: Add TARGET registers handlers

The target register handlers are v2 emulation specific, so their
implementation lives entirely in vgic-mmio-v2.c.
We copy the old VGIC behaviour of assigning an IRQ to the first VCPU
set in the target mask instead of making it possibly pending on
multiple VCPUs.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic/vgic-mmio-v2.c