linux/drivers/tty/hvc
Nicholas Piggin ec97eaad13 tty: hvc: hvc_poll() break hv read loop
Avoid looping with the spinlock held while there is read data
being returned from the hv driver. Instead note if the entire
size returned by tty_buffer_request_room was read, and request
another read poll.

This limits the critical section lengths, and provides more
even service to other consoles in case there is a pathological
condition.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-07-23 20:11:55 +10:00
..
hvc_console.c tty: hvc: hvc_poll() break hv read loop 2018-07-23 20:11:55 +10:00
hvc_console.h tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
hvc_dcc.c tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
hvc_irq.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hvc_iucv.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
hvc_opal.c hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common() 2018-06-03 20:43:34 +10:00
hvc_riscv_sbi.c tty: New RISC-V SBI console driver 2018-03-09 10:19:28 -08:00
hvc_rtas.c tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
hvc_udbg.c tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
hvc_vio.c tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
hvc_xen.c tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
hvcs.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
hvsi_lib.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hvsi.c tty: hvc: Remove redundant license text 2017-11-08 13:08:12 +01:00
Kconfig TTY/Serial driver patches for 4.17-rc1 2018-04-04 18:43:49 -07:00
Makefile TTY/Serial driver patches for 4.17-rc1 2018-04-04 18:43:49 -07:00