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>
Showing
- include/linux/irqchip/arm-gic.h 1 addition, 0 deletionsinclude/linux/irqchip/arm-gic.h
- virt/kvm/arm/vgic/vgic-v2.c 176 additions, 0 deletionsvirt/kvm/arm/vgic/vgic-v2.c
- virt/kvm/arm/vgic/vgic.c 6 additions, 0 deletionsvirt/kvm/arm/vgic/vgic.c
- virt/kvm/arm/vgic/vgic.h 6 additions, 0 deletionsvirt/kvm/arm/vgic/vgic.h
virt/kvm/arm/vgic/vgic-v2.c
0 → 100644
Please register or sign in to comment