]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: GICv4.1: Add direct injection capability to SGI registers
authorMarc Zyngier <maz@kernel.org>
Wed, 4 Mar 2020 20:33:25 +0000 (20:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 24 Mar 2020 12:15:51 +0000 (12:15 +0000)
commitff4df7ce30685a1eb704438837927e429bf0b691
treece12ed1b7205dba44da2dd44af8b59b64cc6cb6d
parent2396c53411f2229a3f0e87ec25cda3d632666937
KVM: arm64: GICv4.1: Add direct injection capability to SGI registers

Most of the GICv3 emulation code that deals with SGIs now has to be
aware of the v4.1 capabilities in order to benefit from it.

Add such support, keyed on the interrupt having the hw flag set and
being a SGI.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20200304203330.4967-19-maz@kernel.org
virt/kvm/arm/vgic/vgic-mmio-v3.c
virt/kvm/arm/vgic/vgic-mmio.c