KVM: arm64: vgic: Allow registration of a non-maskable maintenance interrupt
authorMarc Zyngier <maz@kernel.org>
Tue, 3 Jan 2023 09:50:21 +0000 (09:50 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 12 Jan 2023 21:13:27 +0000 (21:13 +0000)
commit43c5c868bddcec744396f4e334d3ebfe22dedeaf
tree577808b206d67a55875bf7ced4751e7b72eef74c
parentb7bfaa761d760e72a969d116517eaa12e404c262
KVM: arm64: vgic: Allow registration of a non-maskable maintenance interrupt

Our Apple M1/M2 friends do have a per-CPU maintenance interrupt,
but no mask to make use of it in the standard Linux framework.

Given that KVM directly drives the *source* of the interrupt and
leaves the GIC interrupt always enabled, there is no harm in tolerating
such a setup. It will become useful once we enable NV on M2 HW.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230103095022.3230946-3-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/vgic/vgic-init.c