serial: qcom-geni: fix console shutdown hang
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | serial: qcom-geni: fix console shutdown hangdrivers/ | +4 | 1 reply | |
| 2/4 | serial: qcom-geni: fix DMA mapping leak on shutdowndrivers/ | +1 | 1 reply | |
| 3/4 | serial: qcom-geni: fix mapping of empty DMA bufferdrivers/ | +3 | 2 replies | |
| 4/4 | serial: qcom-geni: drop bogus uart_write_wakeup()drivers/ | +0 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Douglas Anderson | Srinivas Kandagatla | Andrew Halaney |
|---|---|---|---|
| Series | R-b T-b | R-b T-b | |
| 1/4 | R-b | ||
| 2/4 | R-b | ||
| 3/4 | R-b | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/4] serial: qcom-geni: fix console shutdown hang
This series fixes some of the fallout after a recent series adding support for DMA transfers to the Qualcomm geni serial driver.
Most importantly it fixes a hang during reboot when using a serial console and the getty is stopped during reboot.
Doug just posted an equivalent fix here:
https://lore.kernel.org/lkml/20230307073155.1.Iaab0159b8d268060a0e131ebb27125af4750ef99@changeid
but the commit message only mentions the regression with respect to kgdb, which is not as widely used serial consoles generally, so I figured I'd post my version for completeness.
Either version of that fix should address the immediate regression, but fixing the underlying problems which have been there since the driver was first merged is going to be a bit more involved.
The rest of the series fixes a few bugs in the new DMA support that I found while investigating the console regression.
Johan
Johan Hovold (4):
serial: qcom-geni: fix console shutdown hang
serial: qcom-geni: fix DMA mapping leak on shutdown
serial: qcom-geni: fix mapping of empty DMA buffer
serial: qcom-geni: drop bogus uart_write_wakeup()
drivers/tty/serial/qcom_geni_serial.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.39.2