]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts
authorMarc Zyngier <maz@kernel.org>
Wed, 4 Mar 2020 20:33:26 +0000 (20:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 24 Mar 2020 12:15:51 +0000 (12:15 +0000)
commitf755c11d2a84ffd769862a08f8b75bf17da12e14
tree0b87440d4d1ad3b4eabefb1688e027f42d05f03b
parent78a7f90a36b97a94e44b4f70999bb96e1a0539ce
KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts

In order to let a guest buy in the new, active-less SGIs, we
need to be able to switch between the two modes.

Handle this by stopping all guest activity, transfer the state
from one mode to the other, and resume the guest. Nothing calls
this code so far, but a later patch will plug it into the MMIO
emulation.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20200304203330.4967-20-maz@kernel.org
include/kvm/arm_vgic.h
virt/kvm/arm/vgic/vgic-v4.c
virt/kvm/arm/vgic/vgic.h