Skip to content

dw_dmac: return actual residue value

Andy Shevchenko lkml 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am 1359107283-5274-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesApplied
  2. v34 patches 3 repliesSuperseded
  3. v24 patches 6 repliesSuperseded

Changes in v4 from the cover letter

- split dwc_get_residue() from dwc_tx_status and improve locking there
- patch 1/4 "dw_dmac: remove unnecessary tx_list field in dw_dma_chan" was amended a bit to simplify patch 4/4

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4dw_dmac: remove unnecessary tx_list field in dw_dma_chandrivers/dma/dw_dmac.c drivers/dma/dw_dmac_regs.h+15 -60 replies
2/4dw_dmac: introduce total_len field in struct dw_descdrivers/dma/dw_dmac.c drivers/dma/dw_dmac_regs.h+7 -60 replies
3/4dw_dmac: fill individual length of descriptordrivers/dma/dw_dmac.c+3 -00 replies
4/4dw_dmac: return proper residue valuedrivers/dma/dw_dmac.c drivers/dma/dw_dmac_regs.h+46 -20 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchViresh Kumar
SeriesA-b
1/4A-b
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] dw_dmac: return actual residue value

The patch series is targeted for getting proper residue value.

Since v3:
- split dwc_get_residue() from dwc_tx_status and improve locking there
- patch 1/4 "dw_dmac: remove unnecessary tx_list field in dw_dma_chan" was amended a bit to simplify patch 4/4

Since v2:
- get rid of dwc_update_residue(): for soft LLP mode we assign residue in dwc_do_start() and decrease it at each interrupt. In the middle of transfer we will return that result substracted by amount of sent bytes

Since v1:
- everything is rewritten to address Viresh's and Vinod's comments.

Andy Shevchenko (4):
dw_dmac: remove unnecessary tx_list field in dw_dma_chan
dw_dmac: introduce total_len field in struct dw_desc
dw_dmac: fill individual length of descriptor
dw_dmac: return proper residue value

 drivers/dma/dw_dmac.c      |   82 +++++++++++++++++++++++++++++++++++++-------
 drivers/dma/dw_dmac_regs.h |    3 +-
 2 files changed, 71 insertions(+), 14 deletions(-)
Signature · 1 line
1.7.10.4