LSR flag preservation improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 1 replyIn review
- v36 patches 4 repliesSuperseded
- v26 patches 10 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 2 replies | Superseded |
Changes in v4 from the cover letter
- Tweak comments
- Fix URL link to earlier discussion & improve changelog
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | serial: 8250: Store to lsr_save_flags after lsr readdrivers/ | +2 | 1 reply | |
| 2/6 | serial: 8250: Create serial_lsr_in()drivers/ drivers/ drivers/ | +25 | 0 replies | |
| 3/6 | serial: 8250: Get preserved flags using serial_lsr_in()drivers/ | +1 | 0 replies | |
| 4/6 | serial: 8250: Adjust misleading LSR related commentdrivers/ | +5 | 0 replies | |
| 5/6 | serial: 8250_dw: Use serial_lsr_in() in dw8250_handle_irq()drivers/ | +2 | 0 replies | |
| 6/6 | serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()drivers/ | +3 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] LSR flag preservation improvements
Improve LSR flag preservation. Not all devices preserve all LSR flags on read. Therefore, the non-permanent flags must be stored until consumed. 8250_port has handled this for some of the reads (but not all). Drivers not so much but it's unclear to me which of the devices actually clear flags on read so this series only does per driver fixes for DW.
I've just put Uwe as Co-dev-by and SoB according to Andy's suggestion in order to allow forward progress (Uwe indicated he's OK with any sensible combination of tags anyway). I agree with Uwe's position though that it would be nice to be able to record Acked-by in some (probably quite rare) cases even if the person is already SoB but I don't want to keep dragging this issue on and on over a single line patch :-).
v2:
- Added more patches
v3:
- Fix Uwe's email and convert it to Co-developed-by
v4:
- Tweak comments
- Fix URL link to earlier discussion & improve changelog
Ilpo Järvinen (6):
serial: 8250: Store to lsr_save_flags after lsr read
serial: 8250: Create serial_lsr_in()
serial: 8250: Get preserved flags using serial_lsr_in()
serial: 8250: Adjust misleading LSR related comment
serial: 8250_dw: Use serial_lsr_in() in dw8250_handle_irq()
serial: 8250_dw: Store LSR into lsr_saved_flags in
dw8250_tx_wait_empty()
drivers/tty/serial/8250/8250.h | 20 ++++++++++++++++++++ drivers/tty/serial/8250/8250_core.c | 3 +-- drivers/tty/serial/8250/8250_dw.c | 7 +++++-- drivers/tty/serial/8250/8250_port.c | 23 ++++++++++------------- 4 files changed, 36 insertions(+), 17 deletions(-)
Signature · 1 line
2.30.2