forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit1beaeac
committed
genirq: Make legacy autoprobing work again
Meelis reported the following warning on a quad P3 HP NetServer museum piece:WARNING: CPU: 3 PID: 258 at kernel/irq/chip.c:244 __irq_startup+0x80/0x100EIP: __irq_startup+0x80/0x100irq_startup+0x7e/0x170probe_irq_on+0x128/0x2b0parport_irq_probe.constprop.18+0x8d/0x1af [parport_pc]parport_pc_probe_port+0xf11/0x1260 [parport_pc]parport_pc_init+0x78a/0xf10 [parport_pc]parport_parse_param.constprop.16+0xf0/0xf0 [parport_pc]do_one_initcall+0x45/0x1e0This is caused by the rewrite of the irq activation/startup sequence whichmissed to convert a callsite in the irq legacy auto probing code.To fix this irq_activate_and_startup() needs to gain a return value so thepending logic can work proper.Fixes:c942cee ("genirq: Separate activation and startup")Reported-by: Meelis Roos <mroos@linux.ee>Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Tested-by: Meelis Roos <mroos@linux.ee>Cc: stable@vger.kernel.orgLink:https://lkml.kernel.org/r/alpine.DEB.2.20.1801301935410.1797@nanos1 parent8de50dc commit1beaeac
3 files changed
+5
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 |
| - | |
| 74 | + | |
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
294 | 294 |
| |
295 | 295 |
| |
296 | 296 |
| |
297 |
| - | |
| 297 | + | |
298 | 298 |
| |
299 | 299 |
| |
300 |
| - | |
301 |
| - | |
| 300 | + | |
| 301 | + | |
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
|
0 commit comments
Comments
(0)