linux/drivers/serial
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
..
cpm_uart [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms. 2008-04-17 01:01:36 -05:00
jsm
8250_accent.c
8250_acorn.c
8250_boca.c
8250_early.c 8250_early: coding style 2008-02-08 09:22:25 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c 8250_gsc: coding style 2008-02-08 09:22:25 -08:00
8250_hp300.c 8250_hp300: coding style 2008-02-08 09:22:25 -08:00
8250_hub6.c 8250_hub6: codding style 2008-02-08 09:22:25 -08:00
8250_mca.c
8250_pci.c serial: silence section mismatch warnings in 8250_pci 2008-04-28 08:58:29 -07:00
8250_pnp.c serial: add PNP ID GVC0303 for Archtek 3334BRV ISA modem 2008-03-04 16:35:09 -08:00
8250.c serial 8250: tighten test for using backup timer 2008-04-28 08:58:30 -07:00
8250.h
21285.c
68328serial.c Char: char/serial, remove SERIAL_TYPE_NORMAL redefines 2008-02-07 08:42:33 -08:00
68328serial.h
68360serial.c serial: use time_before, time_before_eq, etc 2008-04-28 08:58:30 -07:00
amba-pl010.c
amba-pl011.c kgdb: kgdboc pl011 I/O module 2008-04-17 20:05:39 +02:00
atmel_serial.c atmel_serial: remove duplicated macro definition 2008-04-28 08:58:30 -07:00
bfin_5xx.c Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer. 2008-04-25 04:36:47 +08:00
clps711x.c
crisv10.c crisv10: prepare for BKL push down 2008-04-28 08:58:28 -07:00
crisv10.h
dz.c dz: test after postfix decrement fails in dz_console_putchar() 2008-04-28 08:58:16 -07:00
dz.h dz: clean up and improve the setup of termios settings 2008-02-07 08:42:24 -08:00
icom.c
icom.h
imx.c Merge branch 'merge-fixes' into devel 2008-04-19 17:17:34 +01:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig [MIPS] Alchemy: move UART platform code to its proper place 2008-04-28 17:14:28 +01:00
kgdboc.c kgdb: fix kgdboc dynamic module configuration 2008-04-17 20:05:38 +02:00
m32r_sio_reg.h
m32r_sio.c drivers/serial/m32r_sio.c: correct use of ! and & 2008-03-04 16:35:16 -08:00
m32r_sio.h
Makefile [MIPS] Alchemy: move UART platform code to its proper place 2008-04-28 17:14:28 +01:00
mcf.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
mcfserial.c drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
mcfserial.h
mpc52xx_uart.c Fix a potential issue in mpc52xx uart driver 2008-05-01 11:59:12 -06:00
mpsc.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
mux.c
netx-serial.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
of_serial.c [POWERPC] Xilinx: of_serial support for Xilinx uart 16550. 2008-04-24 13:32:46 -05:00
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
pxa.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
s3c2410.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
sa1100.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
sb1250-duart.c
sc26xx.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
serial_core.c uart_get_baud_rate: stop mangling termios 2008-04-28 08:58:30 -07:00
serial_cs.c
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
sh-sci.h sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c sparc: sunzilog.c remove unused argument 2008-04-26 23:10:19 -07:00
sunzilog.h
uartlite.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
ucc_uart.c [POWERPC] QE: UCC nodes cleanup 2008-04-17 01:01:38 -05:00
v850e_uart.c
vr41xx_siu.c serial: add vr41xx_siu_early_setup() for serial console 2008-04-28 08:58:30 -07:00
zs.c
zs.h