]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic: Be tolerant to the lack of maintenance interrupt masking
authorMarc Zyngier <maz@kernel.org>
Sun, 28 Feb 2021 11:09:59 +0000 (11:09 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 1 Jun 2021 09:45:59 +0000 (10:45 +0100)
commit89e40c37c142199686289363f249a5e7d35b8e6d
tree88e24c9b60a2ab6890ed296fe012faba2a0f33bd
parent8f9fd62d949d92c897a504715d362f3104fabcb5
KVM: arm64: vgic: Be tolerant to the lack of maintenance interrupt masking

As it turns out, not all the interrupt controllers are able to
expose a vGIC maintenance interrupt that can be independently
enabled/disabled.

And to be fair, it doesn't really matter as all we require is
for the interrupt to kick us out of guest mode out way or another.

To that effect, add gic_kvm_info.no_maint_irq_mask for an interrupt
controller to advertise the lack of masking.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/vgic/vgic-init.c
include/linux/irqchip/arm-vgic-info.h