]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - virt/kvm/arm/vgic/vgic-v3.c
KVM: arm/arm64: vgic-new: vgic_init: implement vgic_init
authorEric Auger <eric.auger@linaro.org>
Mon, 21 Dec 2015 17:09:38 +0000 (18:09 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:40:06 +0000 (15:40 +0200)
commitad275b8bb1e659b14120174d87e3c1fdc22e9978
tree78bbd8ed5653836ccd931323819ec1f57b793573
parent5e6431da8f3a04759ac8d77b7c98eec0de580343
KVM: arm/arm64: vgic-new: vgic_init: implement vgic_init

This patch allocates and initializes the data structures used
to model the vgic distributor and virtual cpu interfaces. At that
stage the number of IRQs and number of virtual CPUs is frozen.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/vgic/vgic.h
virt/kvm/arm/vgic/vgic-init.c
virt/kvm/arm/vgic/vgic-v2.c
virt/kvm/arm/vgic/vgic-v3.c
virt/kvm/arm/vgic/vgic.c
virt/kvm/arm/vgic/vgic.h