Skip to content

Serial: imx: various fixes

Sergey Organov linux-arm-kernel linux-serial 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 0 repliesNew

Changes in v2 from the cover letter

- Removed wrong [PATCH 1/8] serial: imx: fix DTR inversion
- Rebased on top of "tty-next"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5serial: imx: get rid of unbounded busy-waiting loopdrivers/tty/serial/imx.c+1 -40 replies
2/5serial: imx: do not stop Rx/Tx on termios changedrivers/tty/serial/imx.c+0 -30 replies
3/5serial: imx: do not disable individual irqs during termios changedrivers/tty/serial/imx.c+1 -120 replies
4/5serial: imx: fix data breakage on termios changedrivers/tty/serial/imx.c+16 -30 replies
5/5serial: imx: use Tx ready rather than Tx empty irqdrivers/tty/serial/imx.c+9 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Serial: imx: various fixes

The original problem that caused these changes was broken bytes being sent/received at random on RTS/CTS handshake switch (i.e., on setting/clearing termios CRTSCTS bit).

As it went, a few other problems were found and fixed, and then the fix for original issue has been split into multiple patches that seem to make sense by themselves. Thus, the "serial: imx: fix data breakage on termios change", that finally fixes the issue, depends on 2 preceding patches.

The last patch in the series, "serial: imx: use Tx ready rather than Tx empty irq" is independent of the rest and doesn't fix any serious issue, but it should get rid of holes in continuous output, specifically in PIO mode.

Changes in v2:
- Removed wrong [PATCH 1/8] serial: imx: fix DTR inversion
- Rebased on top of "tty-next"

Sergey Organov (5):
serial: imx: get rid of unbounded busy-waiting loop
serial: imx: do not stop Rx/Tx on termios change
serial: imx: do not disable individual irqs during termios change
serial: imx: fix data breakage on termios change
serial: imx: use Tx ready rather than Tx empty irq

 drivers/tty/serial/imx.c | 56 ++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 30 deletions(-)
Signature · 1 line
2.10.0.1.g57b01a3