Andrew Liu
fbe543b412
Fix a potential issue in mpc52xx uart driver
...
mpc52xx_uart_int and __uart_put_char both try to acquire the
port->lock. Therefore the function sequence of:
mpc52xx_uart_int--> ...-->flush_to_ldisc-->...-->__uart_put_char
can potentially trigger a deadlock. To avoid this deadlock a fix
similar to that found in the 8250.c serial driver is applied. The
deadlock is avoided by releasing the lock before pushing a buffer
and reacquiring it when completed.
Signed-off-by: Andrew Liu <shengping.liu@windriver.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2008-05-01 11:59:12 -06:00
..
2008-04-17 01:01:36 -05:00
2007-10-17 08:42:52 -07:00
2007-05-11 17:19:02 +01:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-04-28 08:58:29 -07:00
2008-03-04 16:35:09 -08:00
2008-04-28 08:58:30 -07:00
2008-02-04 13:14:06 +00:00
2008-02-07 08:42:33 -08:00
2008-04-28 08:58:30 -07:00
2007-06-05 19:39:49 +01:00
2008-04-17 20:05:39 +02:00
2008-04-28 08:58:30 -07:00
2008-04-25 04:36:47 +08:00
2008-04-28 08:58:28 -07:00
2007-11-14 18:45:46 -08:00
2008-04-28 08:58:16 -07:00
2008-02-07 08:42:24 -08:00
2008-01-24 20:40:09 -08:00
2008-02-03 14:47:38 +02:00
2008-04-19 17:17:34 +01:00
2007-11-29 09:24:53 -08:00
2008-04-28 17:14:28 +01:00
2008-04-17 20:05:38 +02:00
2008-03-04 16:35:16 -08:00
2007-10-16 09:43:04 -07:00
2008-04-28 17:14:28 +01:00
2008-04-15 19:35:40 -07:00
2008-04-18 22:16:32 -04:00
2008-05-01 11:59:12 -06:00
2008-04-15 19:35:40 -07:00
2008-02-03 17:29:25 +02:00
2008-04-15 19:35:40 -07:00
2008-04-24 13:32:46 -05:00
2007-09-22 14:49:21 +10:00
2008-04-15 19:35:40 -07:00
2008-04-15 19:35:40 -07:00
2008-04-15 19:35:40 -07:00
2008-04-15 19:35:40 -07:00
2007-09-11 17:21:19 -07:00
2008-04-15 19:35:40 -07:00
2008-04-28 08:58:30 -07:00
2008-02-05 09:44:08 -08:00
2007-05-30 13:15:19 +01:00
2007-10-30 08:06:55 -07:00
2008-04-18 09:50:07 -07:00
2008-04-18 09:50:07 -07:00
2007-07-16 09:05:53 -07:00
2007-12-29 01:19:49 -08:00
2007-12-12 07:36:34 -08:00
2007-12-12 07:36:34 -08:00
2007-12-12 07:36:34 -08:00
2007-12-12 07:36:34 -08:00
2008-04-26 23:10:19 -07:00
2007-05-09 13:49:04 -07:00
2008-04-15 19:35:40 -07:00
2008-04-17 01:01:38 -05:00
2008-04-28 08:58:30 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00