KVM: arm/arm64: vgic-new: vgic_init: implement kvm_vgic_hyp_init
authorEric Auger <eric.auger@linaro.org>
Tue, 1 Dec 2015 14:02:35 +0000 (15:02 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:40:05 +0000 (15:40 +0200)
commit909777324588b40d431e6e3af0911ee62e0d00e3
tree90c53aef39980fca19e84de6f070f65e41cf626d
parent878c569e45066a76a2a841dab965e6d22c4e187e
KVM: arm/arm64: vgic-new: vgic_init: implement kvm_vgic_hyp_init

Implements kvm_vgic_hyp_init and vgic_probe function.
This uses the new firmware independent VGIC probing to support both ACPI
and DT based systems (code from Marc Zyngier).

The vgic_global struct is enriched with new fields populated
by those functions.

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