lib8390: use spin_lock_irqsave for locking
Subsystems (2)
David Miller
maintainerThis change is not correct.
disable_irq is being intentionally used because the reset sequence can take a very long time and we don't want to have cpu interrupts disabled during the entire sequence.
Otherwise slow serial devices will drop characters and stuff like that.
Quoted 9 lines
This change is not correct.
disable_irqis being intentionally used because the reset sequence can take a very long time and we don't want to have cpu interrupts disabled during the entire sequence.Otherwise slow serial devices will drop characters and stuff like that.
Actually, disable_irq is _not_ safe for lib8390 on SMP system. Same CPU or other CPU can call enable_irq.
so lib8390 does not work properly on my SMP system.
Ken.
David Miller
maintainerFrom: Ken Kawasaki <[email protected]>
Date: Mon, 8 Mar 2010 21:24:33 +0900
Quoted 7 lines
Quoted 7 lines
This change is not correct.
disable_irqis being intentionally used because the reset sequence can take a very long time and we don't want to have cpu interrupts disabled during the entire sequence.
Quoted 8 lines
Quoted 2 lines
Otherwise slow serial devices will drop characters and stuff like that.
Actually,
disable_irqis _not_ safe for lib8390 on SMP system. Same CPU or other CPU can callenable_irq.so lib8390 does not work properly on my SMP system.
Then you need to fix that bug, because your patch here, again, is not correct.