linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* imx serial chars lost issue
@ 2022-10-03 11:08 Francesco Dolcini
  2022-10-26  3:06 ` Fabio Estevam
  2022-10-26  6:56 ` Uwe Kleine-König
  0 siblings, 2 replies; 8+ messages in thread
From: Francesco Dolcini @ 2022-10-03 11:08 UTC (permalink / raw)
  To: linux-serial, Fugang Duan, Uwe Kleine-König
  Cc: Shawn Guo, Johan Hovold, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team

Hello all,
recently I have been experiencing an issue with the imx uart on i.MX6ULL
SoC, on the tty console (no flow control, 1152008n1), chars after the 32nd
are lost when typing "fast" (copy/paste or writing to the uart using
automated tools).

This was tested on Linux 6.0, however it does not look like a brand new
regression, kernel 5.4 was somehow subject to the same issue, although
it was way more difficult to trigger it.

While I do understand that without flow control this is something that
cannot be prevented, it is pretty fishy that is always the chars after
the 32nd.

I guess that might be happening is that the FIFO is emptied only by a
timer or when it is full, instead of emptying it when half-full, and the
CPU might not be fast enough leading to an overflow and the chars lost.

Any idea?

Francesco


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

end of thread, other threads:[~2022-10-26 19:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-03 11:08 imx serial chars lost issue Francesco Dolcini
2022-10-26  3:06 ` Fabio Estevam
2022-10-26  7:32   ` Francesco Dolcini
2022-10-26  8:09     ` Lucas Stach
2022-10-26 19:18     ` Sergey Organov
2022-10-26  6:56 ` Uwe Kleine-König
2022-10-26  7:58   ` Francesco Dolcini
2022-10-26 19:36     ` Sergey Organov

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).