Skip to content
Permalink
Browse files

fix guess_arm_irq_hints

in aarch64, irqbalance will guess irq's class and type according to
irq's name, but it did't work properly now, a irq's name will be
matched twice and class will always be IRQ_OTHER. such as a nic
interrupt, the debug log will be:
	IRQ eth3-tx0 (109) guessed as class 5
	IRQ eth3-tx0 (109) guessed as class 0
irq's class should be IRQ_GBETH but is IRQ_OTHER.
  • Loading branch information...
Pyxisha committed Aug 29, 2019
1 parent b6c6a2a commit e4c249868cb33620691b77c570ea3b4064e4389f
Showing with 1 addition and 0 deletions.
  1. +1 −0 procinterrupts.c
@@ -137,6 +137,7 @@ static void guess_arm_irq_hints(char *name, struct irq_info *info)
if (matches[i].refine_match)
matches[i].refine_match(name, info);
log(TO_ALL, LOG_DEBUG, "IRQ %s(%d) guessed as class %d\n", name, info->irq,info->class);
break;
}
}

0 comments on commit e4c2498

Please sign in to comment.
You can’t perform that action at this time.