]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce6ab08e239d8535abd5201ed8d9de69f5d229e6
tree90c53aef39980fca19e84de6f070f65e41cf626d
parentc6cf5c88be3bad0071e725d5abca2055de209b7d
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