We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c0affe commit 3f72d37Copy full SHA for 3f72d37
drivers/irqchip/irq-gic-v3.c
@@ -648,6 +648,10 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs
648
649
irqnr = gic_read_iar();
650
651
+ /* Check for special IDs first */
652
+ if ((irqnr >= 1020 && irqnr <= 1023))
653
+ return;
654
+
655
if (gic_supports_nmi() &&
656
unlikely(gic_read_rpr() == GICD_INT_NMI_PRI)) {
657
gic_handle_nmi(irqnr, regs);
@@ -659,10 +663,6 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs
659
663
gic_arch_enable_irqs();
660
664
}
661
665
662
- /* Check for special IDs first */
- if ((irqnr >= 1020 && irqnr <= 1023))
- return;
-
666
if (static_branch_likely(&supports_deactivate_key))
667
gic_write_eoir(irqnr);
668
else
0 commit comments