linux_dsm_epyc7002/virt/kvm/arm/vgic
Vladimir Murzin 5a7a8426b2 arm64: KVM: Use static keys for selecting the GIC backend
Currently GIC backend is selected via alternative framework and this
is fine. We are going to introduce vgic-v3 to 32-bit world and there
we don't have patching framework in hand, so we can either check
support for GICv3 every time we need to choose which backend to use or
try to optimise it by using static keys. The later looks quite
promising because we can share logic involved in selecting GIC backend
between architectures if both uses static keys.

This patch moves arm64 from alternative to static keys framework for
selecting GIC backend. For that we embed static key into vgic_global
and enable the key during vgic initialisation based on what has
already been exposed by the host GIC driver.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-09-22 13:21:35 +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 KVM: arm/arm64: Rename vgic_attr_regs_access to vgic_attr_regs_access_v2 2016-09-08 12:53:00 +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: arm64: vgic-its: Make updates to propbaser/pendbaser atomic 2016-08-15 23:00:20 +02:00
vgic-mmio.c KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS 2016-07-18 18:15:15 +01:00
vgic-mmio.h KVM: arm64: vgic-its: Implement basic ITS register handlers 2016-07-18 18:14:36 +01: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 KVM: arm64: ITS: move ITS registration into first VCPU run 2016-08-15 23:00:21 +02:00