linux/virt/kvm/arm/vgic
Vladimir Murzin acda5430be ARM: KVM: Support vgic-v3
This patch allows to build and use vgic-v3 in 32-bit mode.

Unfortunately, it can not be split in several steps without extra
stubs to keep patches independent and bisectable.  For instance,
virt/kvm/arm/vgic/vgic-v3.c uses function from vgic-v3-sr.c, handling
access to GICv3 cpu interface from the guest requires vgic_v3.vgic_sre
to be already defined.

It is how support has been done:

* handle SGI requests from the guest

* report configured SRE on access to GICv3 cpu interface from the guest

* required vgic-v3 macros are provided via uapi.h

* static keys are used to select GIC backend

* to make vgic-v3 build KVM_ARM_VGIC_V3 guard is removed along with
  the static inlines

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-09-22 13:22:21 +02:00
..
vgic-init.c arm64: KVM: Use static keys for selecting the GIC backend 2016-09-22 13:21:35 +02:00
vgic-irqfd.c KVM: arm: vgic: Drop build compatibility hack for older kernel versions 2016-09-08 12:53:00 +02:00
vgic-its.c KVM: arm64: ITS: avoid re-mapping LPIs 2016-08-16 19:27:22 +02:00
vgic-kvm-device.c ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-mmio-v2.c KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS 2016-07-18 18:15:15 +01:00
vgic-mmio-v3.c KVM: arm: vgic: Support 64-bit data manipulation on 32-bit host systems 2016-09-22 13:21:59 +02:00
vgic-mmio.c ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-mmio.h ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00
vgic-v2.c arm64: KVM: vgic-v2: Enable GICV access from HYP if access from guest is unsafe 2016-09-08 12:53:00 +02:00
vgic-v3.c KVM: arm64: ITS: move ITS registration into first VCPU run 2016-08-15 23:00:21 +02:00
vgic.c arm64: KVM: Use static keys for selecting the GIC backend 2016-09-22 13:21:35 +02:00
vgic.h ARM: KVM: Support vgic-v3 2016-09-22 13:22:21 +02:00