Skip to content

Commit a9cda7c

Browse files
committed
Merge tag 'irq_urgent_for_v6.12_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq fix from Borislav Petkov: - Make sure GICv3 controller interrupt activation doesn't race with a concurrent deactivation due to propagation delays of the register write * tag 'irq_urgent_for_v6.12_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: irqchip/gic-v3: Force propagation of the active state with a read-back
2 parents 28e4319 + 464cb98 commit a9cda7c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/irqchip/irq-gic-v3.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,13 @@ static int gic_irq_set_irqchip_state(struct irq_data *d,
524524
}
525525

526526
gic_poke_irq(d, reg);
527+
528+
/*
529+
* Force read-back to guarantee that the active state has taken
530+
* effect, and won't race with a guest-driven deactivation.
531+
*/
532+
if (reg == GICD_ISACTIVER)
533+
gic_peek_irq(d, reg);
527534
return 0;
528535
}
529536

0 commit comments

Comments
 (0)