2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/virt/kvm/arm
Andre Przywara a0675c25d6 arm/arm64: KVM: add virtual GICv3 distributor emulation
With everything separated and prepared, we implement a model of a
GICv3 distributor and redistributors by using the existing framework
to provide handler functions for each register group.

Currently we limit the emulation to a model enforcing a single
security state, with SRE==1 (forcing system register access) and
ARE==1 (allowing more than 8 VCPUs).

We share some of the functions provided for GICv2 emulation, but take
the different ways of addressing (v)CPUs into account.
Save and restore is currently not implemented.

Similar to the split-off of the GICv2 specific code, the new emulation
code goes into a new file (vgic-v3-emul.c).

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2015-01-20 18:25:31 +01:00
..
arch_timer.c arm/arm64: KVM: Require in-kernel vgic for the arch timers 2014-12-15 11:50:42 +01:00
vgic-v2-emul.c arm/arm64: KVM: split GICv2 specific emulation code from vgic.c 2015-01-20 18:25:30 +01:00
vgic-v2.c arm/arm64: KVM: make the maximum number of vCPUs a per-VM value 2015-01-20 18:25:28 +01:00
vgic-v3-emul.c arm/arm64: KVM: add virtual GICv3 distributor emulation 2015-01-20 18:25:31 +01:00
vgic-v3.c arm/arm64: KVM: make the value of ICC_SRE_EL1 a per-VM variable 2015-01-20 18:25:28 +01:00
vgic.c arm/arm64: KVM: add virtual GICv3 distributor emulation 2015-01-20 18:25:31 +01:00
vgic.h arm/arm64: KVM: add virtual GICv3 distributor emulation 2015-01-20 18:25:31 +01:00