[PATCH] mpx5200_uart: drop port lock across tty_flip_buffer() call

Daniel Schnell daniel.schnell at marel.com
Thu Jul 26 19:25:05 EST 2007


Thomas Gleixner wrote:

> On Wed, 2007-07-25 at 13:42 -0600, Grant Likely wrote:
>> On 7/25/07, Thomas Gleixner <tglx at linutronix.de> wrote:
>>> The port lock needs to be dropped across the tty_flip_buffer call,
>>> as it would lead to a deadlock with the spin_lock(&port->lock) in
>>> uart_start() 
>>> 
>>> Uncovered by lockdep / preempt-rt
>>> 
>>> Signed-off-by: Thomas Gleixner <tglx at linutronix.de>

While you are at it 8°> ... the mpc5200-fec driver has serious problems with preempt-rt, similar to what the IBM emac had ....


Best regards,

Daniel Schnell.


More information about the Linuxppc-embedded mailing list