KVM: arm/arm64: vgic-new: Add GICv3 world switch backend
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 30 Nov 2015 13:09:53 +0000 (13:09 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:48 +0000 (15:39 +0200)
commit59529f69f5048e50dcde3434661981c01f8208b4
treec3482bd96679aab30e60e973cf708f7ff83aa9fc
parent140b086dd19771410915a924db2e635c2b51a0f4
KVM: arm/arm64: vgic-new: Add GICv3 world switch backend

As the GICv3 virtual interface registers differ from their GICv2
siblings, we need different handlers for processing maintenance
interrupts and reading/writing to the LRs.
Implement the respective handler functions and connect them to
existing code to be called if the host is using a GICv3.

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-v3.h
virt/kvm/arm/vgic/vgic-v3.c [new file with mode: 0644]
virt/kvm/arm/vgic/vgic.c
virt/kvm/arm/vgic/vgic.h