KVM: arm/arm64: GICv4: Add property field and per-VM predicate
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Oct 2017 14:28:37 +0000 (15:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Nov 2017 08:06:45 +0000 (09:06 +0100)
commite7c48059248e013772d8da69351ac8b262d8fce2
treeb0d66dccf94acd24b5ed91b53554c91afe77510d
parent08c9fd04211754a34dddbb1471d6265a717ef7fd
KVM: arm/arm64: GICv4: Add property field and per-VM predicate

Add a new has_gicv4 field in the global VGIC state that indicates
whether the HW is GICv4 capable, as a per-VM predicate indicating
if there is a possibility for a VM to support direct injection
(the above being true and the VM having an ITS).

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic/vgic-mmio-v3.c
virt/kvm/arm/vgic/vgic.h