linux/virt/kvm/arm/vgic
Marc Zyngier 958e8e14fd KVM: arm64: vgic-v4: Initialize GICv4.1 even in the absence of a virtual ITS
KVM now expects to be able to use HW-accelerated delivery of vSGIs
as soon as the guest has enabled thm. Unfortunately, we only
initialize the GICv4 context if we have a virtual ITS exposed to
the guest.

Fix it by always initializing the GICv4.1 context if it is
available on the host.

Fixes: 2291ff2f2a ("KVM: arm64: GICv4.1: Plumb SGI implementation selection in the distributor")
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
2020-04-30 12:50:23 +01:00
..
trace.h KVM: arm/arm64: vgic: Use the appropriate TRACE_INCLUDE_PATH 2019-09-11 16:36:19 +01:00
vgic-debug.c KVM: arm64: GICv4.1: Expose HW-based SGIs in debugfs 2020-03-24 12:15:52 +00:00
vgic-init.c KVM: arm64: vgic-v4: Initialize GICv4.1 even in the absence of a virtual ITS 2020-04-30 12:50:23 +01:00
vgic-irqfd.c KVM: arm/arm64: vgic-irqfd: Implement kvm_arch_set_irq_inatomic 2019-08-18 18:38:54 +01:00
vgic-its.c KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi() 2020-04-23 16:26:56 +01:00
vgic-kvm-device.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
vgic-mmio-v2.c KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending bits 2020-04-23 16:26:31 +01:00
vgic-mmio-v3.c KVM: arm64: vgic-v4: Initialize GICv4.1 even in the absence of a virtual ITS 2020-04-30 12:50:23 +01:00
vgic-mmio.c KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending bits 2020-04-23 16:26:31 +01:00
vgic-mmio.h KVM: arm: vgic-v2: Only use the virtual state when userspace accesses pending bits 2020-04-23 16:26:31 +01:00
vgic-v2.c * s390: ioctl hardening, selftests 2019-09-18 09:49:13 -07:00
vgic-v3.c KVM: arm64: GICv4.1: Plumb SGI implementation selection in the distributor 2020-03-24 12:15:51 +00:00
vgic-v4.c KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts 2020-03-24 12:15:51 +00:00
vgic.c KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/put 2019-10-28 16:20:58 +00:00
vgic.h KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts 2020-03-24 12:15:51 +00:00