Qipan Li
326707ed88
serial: sirf: fix system hung on console log output
...
A corner case exists in the current driver. if an app opens the console
device, and before writing to console device, and there are huge kernel
ogs to print out, system will hang on
sirfsoc_uart_console_putchar:
while (rd_regl(port, ureg->sirfsoc_tx_fifo_status) &
ufifo_st->ff_full(port->line))
cpu_relax();
as in sirfsoc_uart_startup(), the driver assigns tx_fifo_op to 0 will stop
TX FIFO, this loop will be endless.
Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-01 06:51:37 +09:00
..
hvc
Merge 4.1-rc4 into tty-next
2015-05-18 14:08:58 -07:00
ipwireless
serial
serial: sirf: fix system hung on console log output
2015-06-01 06:51:37 +09:00
vt
vt: Don't check KD_GRAPHICS when binding/unbinding
2015-05-10 19:29:51 +02:00
amiserial.c
tty: amiserial.c: move assignment out of if () block
2015-05-10 19:04:16 +02:00
bfin_jtag_comm.c
cyclades.c
tty: remove buf parameter from tty_name()
2015-05-06 22:26:57 +02:00
ehv_bytechan.c
goldfish.c
isicom.c
Kconfig
Makefile
metag_da.c
mips_ejtag_fdc.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
tty: Spelling s/reseved/reserved/
2015-05-24 13:06:08 -07:00
n_hdlc.c
pty: Fix input race when closing
2015-05-10 19:26:37 +02:00
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
Merge 4.1-rc4 into tty-next
2015-05-18 14:08:58 -07:00
nozomi.c
drivers/tty/nozomi.c: rename CONFIG_MAGIC
2015-05-10 19:19:06 +02:00
pty.c
pty: Fix input race when closing
2015-05-10 19:26:37 +02:00
rocket.c
rocket.h
tty: rocket: fix comment of ROCKET_SPD_HI
2015-05-24 12:49:16 -07:00
rocket_int.h
synclink.c
tty: synclink.c: move assignment out of if () block
2015-05-10 19:04:18 +02:00
synclink_gt.c
tty: synclink_gt.c: move assignment out of if () block
2015-05-10 19:04:18 +02:00
synclinkmp.c
tty: synclinkmp.c: move assignment out of if () block
2015-05-10 19:04:18 +02:00
sysrq.c
tty: remove platform_sysrq_reset_seq
2015-05-24 13:06:08 -07:00
tty_audit.c
tty_buffer.c
Merge 4.1-rc4 into tty-next
2015-05-18 14:08:58 -07:00
tty_io.c
tty: remove buf parameter from tty_name()
2015-05-06 22:26:57 +02:00
tty_ioctl.c
tty: remove buf parameter from tty_name()
2015-05-06 22:26:57 +02:00
tty_ldisc.c
tty: remove buf parameter from tty_name()
2015-05-06 22:26:57 +02:00
tty_ldsem.c
tty: tty_ldsem.c: move assignment out of if () block
2015-05-10 19:04:18 +02:00
tty_mutex.c
tty_port.c