Skip to content

dmaengine: dw-axi_dmac: bug fix clean up and more features

Jisheng Zhang dmaengine lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 0 repliesNew
  2. v211 patches 0 repliesSuperseded
  3. v111 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- fix typo
- add reason why we need to runtime resume before reading reg in commit msg

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11dmaengine: dw-axi-dmac: fix reading register when runtime suspendeddrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+11 -40 replies
2/11dmaengine: dw-axi-dmac: remove unnecessary devm_free_irq() callingdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+0 -20 replies
3/11dmaengine: dw-axi-dmac: remove unnecessary axi_dma_enable() callingdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+0 -20 replies
4/11dmaengine: dw-axi-dmac: remove redundant axi_dma_disable() callingdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+0 -10 replies
5/11dmaengine: dw-axi-dmac: delay irq getting until request_irqdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+4 -40 replies
6/11dmaengine: dw-axi-dmac: move ch irq handling into common routinedrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+19 -110 replies
7/11dmaengine: dw-axi-dmac: support per channel irqdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+41 -70 replies
8/11dmaengine: dw-axi-dmac: support dma-channel-maskdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+20 -00 replies
9/11dmaengine: dw-axi-dmac: try best to get residue when tx is runningdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+12 -30 replies
10/11dmaengine: dw-axi-dmac: move dma_chan_tx_status()drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+42 -420 replies
11/11dmaengine: dw-axi-dmac: support polled modedrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+11 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/11] dmaengine: dw-axi_dmac: bug fix clean up and more features

This series first fix a bug related with runtime pm. Then do three clean up. After that, we add three new features: per channel irq support, dma-channel-mask support and polled mode support.

Since v3:
- rebase on the latest rc1

Since v2
- fix typo
- add reason why we need to runtime resume before reading reg in commit msg

Hi Vinod,

I still kept patch2 in v2, because I think the irq has been disabled from the dw-axi-dma side, so the irq won't be fired any more. If you prefer to keep the devm_free_irq() just ignore patch2.

Thanks a lot.

Jisheng Zhang (11):
dmaengine: dw-axi-dmac: fix reading register when runtime suspended
dmaengine: dw-axi-dmac: remove unnecessary devm_free_irq() calling
dmaengine: dw-axi-dmac: remove unnecessary axi_dma_enable() calling
dmaengine: dw-axi-dmac: remove redundant axi_dma_disable() calling
dmaengine: dw-axi-dmac: delay irq getting until request_irq
dmaengine: dw-axi-dmac: move ch irq handling into common routine
dmaengine: dw-axi-dmac: support per channel irq
dmaengine: dw-axi-dmac: support dma-channel-mask
dmaengine: dw-axi-dmac: try best to get residue when tx is running
dmaengine: dw-axi-dmac: move dma_chan_tx_status()
dmaengine: dw-axi-dmac: support polled mode

 .../dma/dw-axi-dmac/dw-axi-dmac-platform.c    | 207 ++++++++++++------
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h         |   4 +
 2 files changed, 147 insertions(+), 64 deletions(-)
Signature · 1 line
2.40.0