30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From e4c249868cb33620691b77c570ea3b4064e4389f Mon Sep 17 00:00:00 2001
|
|
From: Pyxisha <xiashuang1@huawei.com>
|
|
Date: Thu, 29 Aug 2019 14:31:25 +0800
|
|
Subject: [PATCH 10/53] 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.
|
|
|
|
---
|
|
procinterrupts.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/procinterrupts.c b/procinterrupts.c
|
|
index 2088c58..3898b10 100644
|
|
--- a/procinterrupts.c
|
|
+++ b/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;
|
|
}
|
|
}
|
|
|
|
--
|
|
2.23.0
|
|
|