Thanks to visit codestin.com Credit goes to github.com
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 13b0a28 commit e7ea8e4Copy full SHA for e7ea8e4
drivers/irqchip/irq-gic-v3.c
@@ -621,6 +621,10 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs
621
622
irqnr = gic_read_iar();
623
624
+ /* Check for special IDs first */
625
+ if ((irqnr >= 1020 && irqnr <= 1023))
626
+ return;
627
+
628
if (gic_supports_nmi() &&
629
unlikely(gic_read_rpr() == GICD_INT_NMI_PRI)) {
630
gic_handle_nmi(irqnr, regs);
@@ -632,10 +636,6 @@ static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs
632
636
gic_arch_enable_irqs();
633
637
}
634
638
635
- /* Check for special IDs first */
- if ((irqnr >= 1020 && irqnr <= 1023))
- return;
-
639
/* Treat anything but SGIs in a uniform way */
640
if (likely(irqnr > 15)) {
641
int err;
0 commit comments