Skip to content

DMA: Freescale: driver cleanups and enhancements

[email protected] linuxppc-dev lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyIn review
  2. v48 patches 15 repliesApplied
  3. v3 posting 2/20 of 8 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/28 patches12 repliesSuperseded
v28 patches1 replySuperseded
v17 patches10 repliesSuperseded

Changes in v5 from the cover letter

- since previous 5 of 8 patches have been merged by Vinod, this iteration oly inludes the last 3 patches of v4.
- patches order is changed for being reviewed and merged easier.
- remove the .prepare functions, and use the suspend_late and resume_early in the suspend-and-resume patch.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsavedrivers/dma/fsldma.c+10 -150 replies
2/3DMA: Freescale: add suspend resume functions for DMA driverdrivers/dma/fsldma.c drivers/dma/fsldma.h+92 -00 replies
3/3DMA: Freescale: change descriptor release process for supporting async_txdrivers/dma/fsldma.c drivers/dma/fsldma.h+159 -550 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/3] DMA: Freescale: driver cleanups and enhancements

From: Hongbo Zhang <[email protected]>

Hi Dan,
Please have a look at this 3/3 as Vinod mentioned.

Hi Vinod Koul,
Please have a look at the v5 patch set.

v4 -> v5 changes:
- since previous 5 of 8 patches have been merged by Vinod, this iteration oly inludes the last 3 patches of v4.
- patches order is changed for being reviewed and merged easier.
- remove the .prepare functions, and use the suspend_late and resume_early in the suspend-and-resume patch.

v3 -> v4 changes:
- Fixed a typo in [2/8] commit message.
- There was a potential double call of list_del() when apply [4/8] only, although this defect is removed again in later [6/8]. This version eliminates this problem by updating [4/8] and [6/8] slightly.
- Updated [8/8] to use register access method introduced by [2/8]

v2 -> v3 change:
Only add "chan->pm_state = RUNNING" for patch[8/8].

v1 -> v2 change:
The only one change is introducing a new patch[1/7] to remove the unnecessary macro FSL_DMA_LD_DEBUG, thus the total patches number is 8 now (was 7)

v1 notes:
Note that patch 2~6 had beed sent out for upstream before, but were together with other storage patches at that time, that was not easy for being reviewed and merged, so I send them separately this time.

Hongbo Zhang (3):
DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave
DMA: Freescale: add suspend resume functions for DMA driver
DMA: Freescale: change descriptor release process for supporting
async_tx

 drivers/dma/fsldma.c |  297 ++++++++++++++++++++++++++++++++++++++------------
 drivers/dma/fsldma.h |   32 +++++-
 2 files changed, 260 insertions(+), 69 deletions(-)
Signature · 1 line
1.7.9.5