]> 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)
commit78a7f90a36b97a94e44b4f70999bb96e1a0539ce
treece12ed1b7205dba44da2dd44af8b59b64cc6cb6d
parent1f18e4654ce566085e92dffe880f6dcbd36fc1f5
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