diff options
author | Marc Zyngier <maz@kernel.org> | 2020-03-04 23:33:26 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-03-24 15:15:51 +0300 |
commit | bacf2c60548befa8a31c2f19ef65bf2177fda33f (patch) | |
tree | 0b87440d4d1ad3b4eabefb1688e027f42d05f03b /virt/kvm/arm/vgic/vgic.h | |
parent | ef1820be47773012d7526abb8c79befcc1d7b607 (diff) | |
download | linux-bacf2c60548befa8a31c2f19ef65bf2177fda33f.tar.xz |
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
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
-rw-r--r-- | virt/kvm/arm/vgic/vgic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic.h b/virt/kvm/arm/vgic/vgic.h index c7fefd6b1c80..769e4802645e 100644 --- a/virt/kvm/arm/vgic/vgic.h +++ b/virt/kvm/arm/vgic/vgic.h @@ -316,5 +316,6 @@ void vgic_its_invalidate_cache(struct kvm *kvm); bool vgic_supports_direct_msis(struct kvm *kvm); int vgic_v4_init(struct kvm *kvm); void vgic_v4_teardown(struct kvm *kvm); +void vgic_v4_configure_vsgis(struct kvm *kvm); #endif |