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
..
2018-06-12 16:19:22 -07:00
2017-11-28 15:32:33 +01:00
2017-11-28 15:32:33 +01:00
2017-11-08 13:08:12 +01:00
2018-04-30 05:14:55 -07:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00
2017-11-08 13:08:12 +01:00