[#5226] KGDB hangs in smc91x poll handler if switch cpu 3 times on bf561 SMP kernel.
Submitted By: Sonic Zhang
2009-06-10 04:16:17 Close Date
Medium High Assignee:
Closed Fixed In Release:
Found In Release:
BF561 Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: KGDB hangs in smc91x poll handler if switch cpu 3 times on bf561 SMP kernel.
KGDB hangs in smc91x poll handler on bf561 SMP kernel.
gdb> info thread
gdb> thread 3
gdb> thread 2
kernel hangs here. No dump.
--- Sonic Zhang 2009-06-10 04:42:59
A low priority ethernet interrupt is incorrectly triggered between 2 consequent
high priority IPI messages, which creates a deadlock in disable_irq() invoked in
smc91x net poll controller by the second IPI handler. The second IPI message is
queued within the first IPI handler. They should be handled in first IPI
handler, but current IPI handler doesn't circle all messges, which may increase
in this loop, in the queue properly before return.
--- Mingquan Pan 2009-06-11 05:53:53
It is ok now with switching threads serveral times back and forth. So close.
File Name File Type File Size Posted By
No Files Were Found