[PATCH 0/4] i.MX serial driver fixes

Philippe Gerum rpm at xenomai.org
Fri Mar 29 18:40:59 CET 2019


Another set of changes for the i.MX serial driver, addressing some
issues observed here.

Patch #1 updates the init and configuration code to align with
mainline; it also fixes random lockups caused by the reset probe loop
spinning indefinitely. This was specifically observed when re-opening
the device for multiple runs (first run was generally ok).

Patch #2 is a must-have, the Cobalt interface requires it.

Tested on i.MX6Q. Patch #1 needs further testing by other parties to
make sure it does not introduce regression(s).

Philippe Gerum (4):
  drivers/serial: imx: robustify device setup/cleanup
  drivers/serial: always propagate -EINTR downstream
  drivers/serial: imx: simplify RX loop
  drivers/serial: imx: dismiss noisy IRQ events

 kernel/drivers/serial/rt_imx_uart.c | 130 ++++++++++++++++++----------
 1 file changed, 82 insertions(+), 48 deletions(-)

-- 
2.20.1




More information about the Xenomai mailing list