]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: allow userland to request a virtual GICv3
authorAndre Przywara <andre.przywara@arm.com>
Tue, 3 Jun 2014 08:26:30 +0000 (10:26 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Jan 2015 17:25:33 +0000 (18:25 +0100)
commit02d61811262a98e4fa9ccc5320971a478b31699f
tree2d1829a9ab353944b705149a05f53e75eccd77b0
parent878df8a2d40e873b60b48cbe781fdbf3c8bb67c2
arm/arm64: KVM: allow userland to request a virtual GICv3

With all of the GICv3 code in place now we allow userland to ask the
kernel for using a virtual GICv3 in the guest.
Also we provide the necessary support for guests setting the memory
addresses for the virtual distributor and redistributors.
This requires some userland code to make use of that feature and
explicitly ask for a virtual GICv3.
Document that KVM_CREATE_IRQCHIP only works for GICv2, but is
considered legacy and using KVM_CREATE_DEVICE is preferred.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Documentation/virtual/kvm/api.txt
Documentation/virtual/kvm/devices/arm-vgic.txt
arch/arm64/include/uapi/asm/kvm.h
include/kvm/arm_vgic.h
virt/kvm/arm/vgic-v3-emul.c
virt/kvm/arm/vgic.c