Skip to content

serial: mxs-auart: flush_buffer hook and interrupt processing

Marek Vasut linux-arm-kernel linux-serial 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: mxs-auart: implement flush_buffer hook+0 -01 reply
1/3serial: mxs-auart: implement flush_buffer hook+0 -01 reply
3/3serial: mxs-auart: move irq handling to a tasklet+0 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] serial: mxs-auart: flush_buffer hook and interrupt processing

Hi Hector,

Quoted 10 lines

Hello,

This series implement several fixes to the mxs-auart serial driver.

The first patch implements the flush_buffer hook. Currently the driver can be shut down and pending data in the FIFO will be lost.

The second patchs adds a check of the BUSY flag in the tx_empty hook to make sure the UART is not about to fill data into the FIFO.

Quoted 7 lines

The third patch moves the interrupt handling from the ISR out to a tasklet. This was motivated due to different transmission problems with hardware and software flow control at high baudrates whereby transmission was interrupted or data lost.
The problem can be reproduced by setting two AUARTs at 576000/N/8 with CRTSCTS and sending a large file from one port to the other
with 'cat'.

57600 is not that high of a baudrate. Or do you really mean 576000 (576 thousand) ?

Best regards,
Marek Vasut