serial: xuartps: hardware race condition and cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 0 repliesNew
Changes in v3 from the cover letter
* Do not attempt to disable the transmitter after a transmission (original behaviour around 3.14). These patches no longer touch with the transmitter state at all as requested by S?ren Brinkmann.
* Add Acked-by/Reviewed-by tags from S?ren Brinkmann after addressing his remarks.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | serial: xuartps: fix typo in cdns_uart_startupdrivers/ | +1 | 0 replies | |
| 2/3 | serial: xuartps: reduce hardware TX race conditiondrivers/ | +7 | 0 replies | |
| 3/3 | serial: xuartps: remove unnecessary register writedrivers/ | +0 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | S?ren Brinkmann |
|---|---|
| 1/3 | R-b |
| 2/3 | A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] serial: xuartps: hardware race condition and cleanup
The character transmission in xuartps is racy. If the transmitter is disabled early, the device is confused and produces a desync. Garbage on the remote end can be a visible symptom. The second patch in this series tries to reduce that race condition in accordance with the hardware documentation, but it cannot remove it entirely. The first and third patches are code cleanup.
Changes since v2:
* Do not attempt to disable the transmitter after a transmission (original behaviour around 3.14). These patches no longer touch with the transmitter state at all as requested by S?ren Brinkmann.
* Add Acked-by/Reviewed-by tags from S?ren Brinkmann after addressing his remarks.
Earlier patches/discussion at:
https://www.spinics.net/lists/linux-serial/msg23145.html https://www.spinics.net/lists/linux-serial/msg23156.html https://www.spinics.net/lists/linux-serial/msg23157.html
Helmut Grohne (3):
serial: xuartps: fix typo in cdns_uart_startup
serial: xuartps: reduce hardware TX race condition
serial: xuartps: remove unnecessary register write
drivers/tty/serial/xilinx_uartps.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-)
Signature · 1 line
2.11.0