Skip to content

Fixes / cleanups in dw_dmac (affects on few subsystems)

Andy Shevchenko lkml 6 versions – Applied

Status from this message: Applied, thanks

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

Versions newest first · linked by author and title

  1. v7 Latest4 patches 3 repliesApplied
  2. v64 patches 8 repliesSuperseded
  3. v54 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v44 patches1 replySuperseded
v315 patches15 repliesSuperseded
v215 patches1 replySuperseded

Changes in v7 from the cover letter

- leave old data_width property in the Documentation as deprecated
- add Acked-by tags

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/4dmaengine: dw: platform: check nr_masters to be non-zerodrivers/dma/dw/platform.c+10 -100 replies
2/4dmaengine: dw: revisit data_width propertyDocumentation/devicetree/bindings/dma/snps-dma.txt arch/arc/boot/dts/abilis_tb10x.dtsi arch/arm/boot/dts/spear13xx.dtsi +3 more+24 -380 replies
3/4dmaengine: dw: keep entire platform data in struct dw_dmadrivers/dma/dw/core.c drivers/dma/dw/platform.c drivers/dma/dw/regs.h +1 more+20 -210 replies
4/4dmaengine: dw: pass platform data via struct dw_dma_chipdrivers/ata/sata_dwc_460ex.c drivers/dma/dw/core.c drivers/dma/dw/pci.c +3 more+17 -110 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/4
3/4A-b
4/4A-b

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

Read the v7 thread

Cover letter [PATCH v7 0/4] Fixes / cleanups in dw_dmac (affects on few subsystems)

This patch series (v3: http://www.spinics.net/lists/kernel/msg2215303.html)
contains a number of mostly minor fixes and cleanups for the DW DMA driver. A couple of them affect the DT binding so these may need to be updated to maintain compatibility (old format is still supported though). The rest should be relatively straight-forward.

This version has been tested on the following bare metal platforms:
- ATNGW100 (avr32 based platform) with dmatest
- Sam460ex (powerpc 44x based platform) with SATA
- Intel Braswell with UART
- Intel Galileo (Intel Quark based platform) with UART

(SATA driver and Intel Galileo UART support are based on this series and just
published recently for a review)

Vinod, there are few patch sets developed on top of this one, so, the idea is to keep this in an immuutable branch / tag.

Changes since v6:
- leave old data_width property in the Documentation as deprecated
- add Acked-by tags

Changes since v5:
- fixed an issue found by kbuildbot

Changes since v4:
- send proper set of patches
- add changelog

Changes since v3:
- add patch 1 to check value of dma-masters property
- drop the upstreamed patches
- update patch 2 to keep an array for data-width property as well

Changes since v2:
- add patch 1 to fix master selection which was broken for long time
- remove "use field-by-field initialization" patch since like Mans metioned in has mostly no value and even might increase error prone
- rebase on top of recent linux-next
- wide testing on several platforms

Changes since v1:
- zeroing struct dw_dma_slave before use
- fall back to old data_width property if data-width is not found
- append tags for few patches
- correct title of cover letter
- rebase on top of recent linux-next

Andy Shevchenko (4):
dmaengine: dw: platform: check nr_masters to be non-zero
dmaengine: dw: revisit data_width property
dmaengine: dw: keep entire platform data in struct dw_dma
dmaengine: dw: pass platform data via struct dw_dma_chip

 Documentation/devicetree/bindings/dma/snps-dma.txt |  7 +-
 arch/arc/boot/dts/abilis_tb10x.dtsi                |  2 +-
 arch/arm/boot/dts/spear13xx.dtsi                   |  4 +-
 drivers/ata/sata_dwc_460ex.c                       |  2 +-
 drivers/dma/dw/core.c                              | 75 ++++++++--------------
 drivers/dma/dw/pci.c                               |  5 +-
 drivers/dma/dw/platform.c                          | 32 +++++----
 drivers/dma/dw/regs.h                              |  5 +-
 include/linux/dma/dw.h                             |  5 +-
 include/linux/platform_data/dma-dw.h               |  4 +-
 sound/soc/intel/common/sst-firmware.c              |  2 +-
 11 files changed, 67 insertions(+), 76 deletions(-)
Signature · 1 line
2.8.0.rc3