linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tty: pl011: Avoid spuriously stuck-off interrupts
@ 2018-04-27 10:05 Dave Martin
  2018-04-27 10:05 ` Dave Martin
  2018-04-29 13:18 ` Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Dave Martin @ 2018-04-27 10:05 UTC (permalink / raw)
  To: linux-arm-kernel

This is an update to a previous RFC [1], to fix a problem observed by
the qemu community that causes serial input to hang when booting a
simulated system with data already queued in the UART FIFO [2].

This patch could cause problems for people that are actually relying
on chars queued in the PL011 RX FIFO during boot or while the UART is
closed.  There are no guarantees about such things working in general.
In either case, there is no protection against RX FIFO overflow or
reprogramming of the UART parameters while Linux is not actively
receiving chars.

Cheers
---Dave

[1] [RFC PATCH v4] tty: pl011: Avoid spuriously stuck-off interrupts
http://lists.infradead.org/pipermail/linux-arm-kernel/2018-April/574033.html

[2] [Qemu-devel] [Qemu-arm] [PATCH] pl011: do not put into fifo
before enabled the interruption
https://lists.gnu.org/archive/html/qemu-devel/2018-01/msg06446.html

Dave Martin (1):
  tty: pl011: Avoid spuriously stuck-off interrupts

 drivers/tty/serial/amba-pl011.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-08 12:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27 10:05 [PATCH] tty: pl011: Avoid spuriously stuck-off interrupts Dave Martin
2018-04-27 10:05 ` Dave Martin
2018-05-08 11:01   ` Russell King - ARM Linux
2018-05-08 12:44     ` Dave Martin
2018-04-29 13:18 ` Greg KH
2018-04-30 12:49   ` Dave Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).