dmaengine: dw: Fix sys freeze and XFER-bit set error for UARTs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Changelog RFC from the cover letter
- Add a new patch:
[PATCH 2/2] dmaengine: dw: Fix XFER bit set, but channel not idle error fixing the "XFER bit set, but channel not idle" error.
- Instead of just dropping the dwc_scan_descriptors() method invocation calculate the residue in the Tx-status getter.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dmaengine: dw: Prevent tx-status calling DMA-desc callbackdrivers/ | +50 | 2 replies | |
| 2/2 | dmaengine: dw: Fix XFER bit set, but channel not idle errordrivers/ | +25 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| Series | T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] dmaengine: dw: Fix sys freeze and XFER-bit set error for UARTs
The main goal of the series is to fix the DW DMAC driver to be working better with the serial 8250 device driver implementation. In particular it was discovered that there is a random system freeze (caused by a deadlock) and an occasional "BUG: XFER bit set, but channel not idle" error printed to the log when the DW APB UART interface is used in conjunction with the DW DMA controller. Although I guess the problem can be found for any 8250 device using DW DMAC for the Tx/Rx-transfers execution. Anyway this short series contains two patches fixing these bugs. Please see the respective patches log for details.
Changelog RFC:
- Add a new patch:
[PATCH 2/2] dmaengine: dw: Fix XFER bit set, but channel not idle error fixing the "XFER bit set, but channel not idle" error.
- Instead of just dropping the dwc_scan_descriptors() method invocation calculate the residue in the Tx-status getter.
base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b
Serge Semin (2):
dmaengine: dw: Prevent tx-status calling DMA-desc callback
dmaengine: dw: Fix XFER bit set, but channel not idle error
drivers/dma/dw/core.c | 144 ++++++++++++++++++++++-------------------- 1 file changed, 75 insertions(+), 69 deletions(-)
Signature · 1 line
2.43.0