]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/gic-v5: Skip deactivate for forwarded PPI interrupts
authorSascha Bischoff <Sascha.Bischoff@arm.com>
Fri, 27 Jun 2025 10:09:01 +0000 (10:09 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 8 Jul 2025 21:40:58 +0000 (14:40 -0700)
commit244e9a89ca765cc2395fc7a83833fb79731299fc
treebecc690af493244a2c435b2e2643d5168859ddf3
parent53bb952a625fd3247647c7a28366ce990a579415
irqchip/gic-v5: Skip deactivate for forwarded PPI interrupts

If a PPI interrupt is forwarded to a guest, skip the deactivate and
only EOI. Rely on the guest deactivating both the virtual and physical
interrupts (due to ICH_LRx_EL2.HW being set) later on as part of
handling the injected interrupt. This mimics the behaviour seen on
native GICv3.

This is part of adding support for the GICv3 compatibility mode on a
GICv5 host.

Reviewed-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Co-authored-by: Timothy Hayes <timothy.hayes@arm.com>
Signed-off-by: Timothy Hayes <timothy.hayes@arm.com>
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Link: https://lore.kernel.org/r/20250627100847.1022515-2-sascha.bischoff@arm.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
drivers/irqchip/irq-gic-v5.c