KVM: arm/arm64: vgic-new: Add CTLR, TYPER and IIDR handlers
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 26 Apr 2016 10:06:47 +0000 (11:06 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:50 +0000 (15:39 +0200)
commit2b0cda8789654bfcebca397daebc37aff081bd75
tree9b10872dc1723f5719fbf32717973e3971241112
parentfb848db39661a1243f6ae939ef7e9251a765b972
KVM: arm/arm64: vgic-new: Add CTLR, TYPER and IIDR handlers

Those three registers are v2 emulation specific, so their implementation
lives entirely in vgic-mmio-v2.c. Also they are handled in one function,
as their implementation is pretty simple.
When the guest enables the distributor, we kick all VCPUs to get
potentially pending interrupts serviced.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
include/linux/irqchip/arm-gic.h
virt/kvm/arm/vgic/vgic-mmio-v2.c
virt/kvm/arm/vgic/vgic.c
virt/kvm/arm/vgic/vgic.h