KVM: arm/arm64: vgic-new: Add GICv2 world switch backend
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 26 Nov 2015 17:19:25 +0000 (17:19 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:48 +0000 (15:39 +0200)
commit140b086dd19771410915a924db2e635c2b51a0f4
treef1e99db1df02f242a00e8c347c84b8864cc26eed
parent0919e84c0fc1fc73525fdcedefab89ea8460f697
KVM: arm/arm64: vgic-new: Add GICv2 world switch backend

Processing maintenance interrupts and accessing the list registers
are dependent on the host's GIC version.
Introduce vgic-v2.c to contain GICv2 specific functions.
Implement the GICv2 specific code for syncing the emulation state
into the VGIC registers.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
include/linux/irqchip/arm-gic.h
virt/kvm/arm/vgic/vgic-v2.c [new file with mode: 0644]
virt/kvm/arm/vgic/vgic.c
virt/kvm/arm/vgic/vgic.h