[PULL REQUEST] dmaengine updates for v5.1-rc1

From: Vinod Koul
Date: Wed Mar 13 2019 - 15:34:48 EST


Hi Linus,

Here is the pull request for dmaengine. Please pull to receive update
mostly on the drivers.

Please note, as reported by SFR, we have a merge conflict in dmatest,
the fix is already in linux-next. Since, you like to see and resolve
conflicts yourself, I have left it for you.

The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c:

Linux 5.0-rc1 (2019-01-06 17:08:20 -0800)

are available in the Git repository at:

git://git.infradead.org/users/vkoul/slave-dma.git tags/dmaengine-5.1-rc1

for you to fetch changes up to feb59d77a46d5df93864471ca926b6701479091b:

Merge branch 'topic/xilinx' into for-linus (2019-03-12 12:05:47 +0530)

----------------------------------------------------------------
dmaengine updates for v5.1-rc1

- dmatest updates for modularizing common struct and code
- remove SG support for VDMA xilinx IP and updates to driver
- Update to dw driver to support Intel iDMA controllers
multi-block support
- tegra updates for proper reporting of residue
- Add Snow Ridge ioatdma device id and support for IOATDMA v3.4
- struct_size() usage and useless LIST_HEAD cleanups in subsystem.
- qDMA controller driver for Layerscape SoCs
- stm32-dma PM Runtime support
- And usual updates to imx-sdma, sprd, Documentation, fsl-edma,
bcm2835, qcom_hidma etc

----------------------------------------------------------------
Aditya Pakki (3):
dmaengine: mv_xor: Fix a missing check in mv_xor_channel_add
dmaengine: qcom_hidma: Check for driver register failure
dmaengine: stm32-mdma: Add a check on read_u32_array

Alexandru Ardelean (3):
dmaengine: dmatest: wrap src & dst data into a struct
dmaengine: dmatest: add short-hand `buf_size` var in dmatest_func()
dmaengine: dmatest: move test data alloc & free into functions

Anders Roxell (1):
dmaengine: imx-dma: fix warning comparison of distinct pointer types

Andrea Merello (6):
dmaengine: xilinx_dma: commonize DMA copy size calculation
dmaengine: xilinx_dma: in axidma slave_sg and dma_cyclic mode align split descriptors
dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property
dmaengine: xilinx_dma: autodetect whether the HW supports scatter-gather
dt-bindings: dmaengine: xilinx_dma: drop include-sg property
dmaengine: xilinx_dma: Drop SG support for VDMA IP

Andy Duan (1):
dmaengine: imx-sdma: pass ->dev to dma_alloc_coherent() API

Andy Shevchenko (8):
dmaengine: dw: Add missed multi-block support for iDMA 32-bit
dmaengine: dw: Remove misleading is_private property
dmaengine: dw: Remove unused internal property
dmaengine: dw: Split DW and iDMA 32-bit operations
dmaengine: dw: Reset DRAIN bit when resume the channel
dmaengine: dw: Don't pollute CTL_LO on iDMA 32-bit
dmaengine: dw: convert to SPDX identifiers
dmaengine: dw-axi-dmac: Fix trivia typo

Angus Ainslie (Purism) (3):
dmaengine: imx-sdma: add clock ratio 1:1 check
dmaengine: imx-sdma: add a test for imx8mq multi sdma devices
dmaengine: imx-sdma: fix consistent dma test failures

Arnd Bergmann (1):
dmaengine: fsl-qdma: add MODULE_LICENSE

Baolin Wang (2):
dt-bindings: dmaengine: sprd: Change channel id to slave id for DMA cell specifier
dmaengine: sprd: Change channel id to slave id for DMA cell specifier

Ben Dooks (5):
dmaengine: tegra: avoid overflow of byte tracking
dmaengine: tegra: make byte counters unsigned int
dmaengine: tegra: fix incorrect case of DMA
dmaengine: tegra: reduce channel name field size
dmaengine: tegra: add tracepoints to driver

Dave Jiang (4):
dmaengine: ioatdma: Add Snow Ridge ioatdma device id
dmaengine: ioatdma: disable DCA enabling on IOATDMA v3.4
dmaengine: ioatdma: add descriptor pre-fetch support for v3.4
dmaengine: ioatdma: support latency tolerance report (LTR) for v3.4

Federico Vaga (1):
Documentation :dmaengine: clarify DMA desc. pointer after submission

Gustavo A. R. Silva (9):
dmaengine: bcm2835: Use struct_size() in kzalloc()
dmaengine: dma-jz4780: Use struct_size() in devm_kzalloc()
dmaengine: st_fdma: use struct_size() in kzalloc()
dmaengine: qcom: bam_dma: use struct_size() in kzalloc()
dmaengine: tegra-apb: Use struct_size() in devm_kzalloc()
dmaengine: fsl-edma: use struct_size() in kzalloc()
dmaengine: tegra210-adma: Use struct_size() in devm_kzalloc()
dmaengine: timb_dma: Use struct_size() in kzalloc()
dmaengine: axi-dmac: Use struct_size() in kzalloc()

John Stultz (1):
Documentation: bindings: dma: Add binding for dma-channel-mask

Julia Lawall (5):
dmaengine: at_hdmac: drop useless LIST_HEAD
dmaengine: dw: drop useless LIST_HEAD
dmaengine: st_fdma: drop useless LIST_HEAD
dmaengine: pl330: drop useless LIST_HEAD
dmaengine: sa11x0: drop useless LIST_HEAD

Laurentiu Tudor (1):
dmaengine: fsl-edma: dma map slave device address

Li Yu (2):
dmaengine: k3dma: Delete axi_config
dmaengine: k3dma: Add support for dma-channel-mask

Lukas Wunner (6):
dmaengine: bcm2835: Fix interrupt race on RT
dmaengine: bcm2835: Fix abort of transactions
dmaengine: bcm2835: Return void from abort of transactions
dmaengine: bcm2835: Enforce control block alignment
dmaengine: bcm2835: Drop gratuitous list deletion
dmaengine: bcm2835: Drop outdated comment on supported transactions

Peng Ma (3):
dmaengine: fsldma: Adding macro FSL_DMA_IN/OUT implement for ARM platform
dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs
dt-bindings: fsl-qdma: Add NXP Layerscpae qDMA controller bindings

Phuong Nguyen (1):
dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit

Pierre-Yves MORDRET (4):
dmaengine: stm32-dma: check FIFO error interrupt enable
dmaengine: stm32-dma: Add PM Runtime support
dmaengine: stm32-dmamux: Add PM Runtime support
dmaengine: stm32-mdma: Add PM Runtime support

Radhey Shyam Pandey (1):
dmaengine: xilinx_dma: program hardware supported buffer length

Randy Dunlap (1):
Documentation: dmaengine: fix dmatest.rst warning

Robin Gong (1):
dmaengine: imx-sdma: refine to load context only once

Robin Murphy (1):
dmaengine: mv_xor: Use correct device for DMA API

Scott Wood (1):
dmaengine: fsldma: Add 64-bit I/O accessors for powerpc64

Shunyong Yang (2):
dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
dmaengine: qcom_hidma: assign channel cookie correctly

Vinod Koul (13):
Merge branch 'topic/qcom' into for-linus
dmaengine: imx-dma: change variable 'now' type to size_t
dmaengine: imx-dma: change return of 'imxdma_sg_next' to void
Merge branch 'topic/brcm' into for-linus
Merge branch 'topic/dw' into for-linus
Merge branch 'topic/fsl' into for-linus
Merge branch 'topic/imx' into for-linus
Merge branch 'topic/k3dma' into for-linus
Merge branch 'topic/mv' into for-linus
Merge branch 'topic/sh' into for-linus
Merge branch 'topic/stm' into for-linus
Merge branch 'topic/tegra' into for-linus
Merge branch 'topic/xilinx' into for-linus

Wen He (1):
dmaengine: fsldma: Replace DMA_IN/OUT by FSL_DMA_IN/OUT

Youlin Wang (2):
Documentation: bindings: k3dma: Extend the k3dma driver binding to support hisi-asp
dmaengine: k3dma: Upgrade k3dma driver to support hisi_asp_dma hardware

YueHaibing (1):
dmaengine: xilinx_dma: remove set but not used variable 'tail_segment'

Documentation/devicetree/bindings/dma/dma.txt | 4 +
Documentation/devicetree/bindings/dma/fsl-qdma.txt | 57 +
Documentation/devicetree/bindings/dma/k3dma.txt | 4 +-
Documentation/devicetree/bindings/dma/snps-dma.txt | 2 -
Documentation/devicetree/bindings/dma/sprd-dma.txt | 2 +-
.../devicetree/bindings/dma/xilinx/xilinx_dma.txt | 7 +-
Documentation/driver-api/dmaengine/client.rst | 7 +
Documentation/driver-api/dmaengine/dmatest.rst | 1 +
drivers/dma/Kconfig | 14 +
drivers/dma/Makefile | 1 +
drivers/dma/at_hdmac.c | 5 -
drivers/dma/bcm2835-dma.c | 95 +-
drivers/dma/dma-axi-dmac.c | 3 +-
drivers/dma/dma-jz4780.c | 5 +-
drivers/dma/dmatest.c | 269 +++--
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 2 +-
drivers/dma/dw/Kconfig | 2 +
drivers/dma/dw/Makefile | 2 +-
drivers/dma/dw/core.c | 245 +---
drivers/dma/dw/dw.c | 138 +++
drivers/dma/dw/idma32.c | 160 +++
drivers/dma/dw/internal.h | 15 +-
drivers/dma/dw/pci.c | 53 +-
drivers/dma/dw/platform.c | 22 +-
drivers/dma/dw/regs.h | 30 +-
drivers/dma/fsl-edma-common.c | 70 +-
drivers/dma/fsl-edma-common.h | 4 +
drivers/dma/fsl-edma.c | 1 +
drivers/dma/fsl-qdma.c | 1259 ++++++++++++++++++++
drivers/dma/fsldma.c | 16 +-
drivers/dma/fsldma.h | 68 +-
drivers/dma/imx-dma.c | 8 +-
drivers/dma/imx-sdma.c | 47 +-
drivers/dma/ioat/dma.c | 12 +
drivers/dma/ioat/dma.h | 2 +-
drivers/dma/ioat/hw.h | 3 +
drivers/dma/ioat/init.c | 40 +-
drivers/dma/ioat/registers.h | 24 +
drivers/dma/k3dma.c | 61 +-
drivers/dma/mcf-edma.c | 1 +
drivers/dma/mv_xor.c | 7 +-
drivers/dma/pl330.c | 1 -
drivers/dma/qcom/bam_dma.c | 4 +-
drivers/dma/qcom/hidma.c | 19 +-
drivers/dma/qcom/hidma_mgmt.c | 3 +-
drivers/dma/sa11x0-dma.c | 2 -
drivers/dma/sh/usb-dmac.c | 2 +
drivers/dma/sprd-dma.c | 19 +-
drivers/dma/st_fdma.c | 6 +-
drivers/dma/stm32-dma.c | 71 +-
drivers/dma/stm32-dmamux.c | 58 +-
drivers/dma/stm32-mdma.c | 56 +-
drivers/dma/tegra20-apb-dma.c | 45 +-
drivers/dma/tegra210-adma.c | 5 +-
drivers/dma/timb_dma.c | 4 +-
drivers/dma/xilinx/xilinx_dma.c | 170 +--
drivers/tty/serial/8250/8250_lpss.c | 1 -
include/linux/dma/dw.h | 9 +-
include/linux/platform_data/dma-dw.h | 12 +-
include/linux/platform_data/dma-imx.h | 1 +
include/trace/events/tegra_apb_dma.h | 61 +
61 files changed, 2621 insertions(+), 696 deletions(-)
create mode 100644 Documentation/devicetree/bindings/dma/fsl-qdma.txt
create mode 100644 drivers/dma/dw/dw.c
create mode 100644 drivers/dma/dw/idma32.c
create mode 100644 drivers/dma/fsl-qdma.c
create mode 100644 include/trace/events/tegra_apb_dma.h

Thanks
--
~Vinod

Attachment: signature.asc
Description: PGP signature