From patchwork Fri Aug 17 13:05:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10568737 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3AE214BD for ; Fri, 17 Aug 2018 13:06:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B12AA28D97 for ; Fri, 17 Aug 2018 13:06:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A511D2B5E8; Fri, 17 Aug 2018 13:06:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 129FA28D97 for ; Fri, 17 Aug 2018 13:06:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727474AbeHQQJO (ORCPT ); Fri, 17 Aug 2018 12:09:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:49068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727478AbeHQQJO (ORCPT ); Fri, 17 Aug 2018 12:09:14 -0400 Received: from localhost (unknown [171.76.73.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E9CC62188F; Fri, 17 Aug 2018 13:05:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1534511153; bh=Mer1fNyfkPXxhPjM5eezEEzDlss7VWpw0Vb/9FNb1bs=; h=Date:From:To:Cc:Subject:From; b=gFRV48vZtexbqVcXj/ukrVNbnGNA2SMdVl5vrXAHYCCM9cING9AWB9XRPMNjvJac0 tvs2GOebvJBlVMdp9DHyp8Zp2LBGVzKSVNZecmzZkQASEk2b7+Xu9hsSve2CojzfSt j0XTbfkVFWlHcWhz2ZKj1VIP9jL1oZyYNMfa1Jv8= Date: Fri, 17 Aug 2018 18:35:43 +0530 From: Vinod To: Linus Torvalds Cc: dma , LKML Subject: [GIT PULL]: dmaengine updates for v4.19-rc1 Message-ID: <20180817130543.GG3687@vkoul-mobl> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, Please pull to receive dmaengine contributions for v4.19-rc1. The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: git://git.infradead.org/users/vkoul/slave-dma.git tags/dmaengine-4.19-rc1 for you to fetch changes up to 3257d86182cc27eda83d6854787256641f7c574b: Merge branch 'topic/pl330' into for-linus (2018-08-17 18:00:29 +0530) ---------------------------------------------------------------- DMAengine updates for v4.19-rc1 This round brings couple of framework changes, a new driver and usual driver updates: - New managed helper for dmaengine framework registration - Split dmaengine pause capability to pause and resume and allow drivers to report that individually - Update dma_request_chan_by_mask() to handle deferred probing - Move imx-sdma to use virt-dma - New driver for Actions Semi Owl family S900 controller - Minor updates to intel, renesas, mv_xor, pl330 etc ---------------------------------------------------------------- Andy Shevchenko (2): dmaengine: hsu: Support dmaengine_terminate_sync() dmaengine: idma64: Support dmaengine_terminate_sync() Benjamin Gaignard (1): dmaengine: stm32: replace "%p" with "%pK" Dave Jiang (1): dmaengine: ioatdma: set the completion address register after channel reset Geert Uytterhoeven (1): dmaengine: rcar-dmac: Disable interrupts while stopping channels Gustavo A. R. Silva (1): dmaengine: nbpfaxi: Mark expected switch fall-through Hanna Hawa (6): dmaengine: mv_xor_v2: explicitly freeup irq dmaengine: mv_xor_v2: kill the tasklets upon exit dmaengine: mv_xor_v2: convert callback to helper function dmaengine: mv_xor_v2: move unmap to before callback dmaengine: mv_xor_v2: enable COMPILE_TEST dmaengine: mv_xor_v2: use {lower,upper}_32_bits to configure HW descriptor address Hiroyuki Yokoyama (1): dmaengine: rcar-dmac: Document R8A77990 bindings Huang Shijie (2): dmaengine: add a new helper dmaenginem_async_device_register dmaengine: mic_x100_dma: use the new helper to simplify the code John Keeping (1): dmaengine: pl330: fix irq race with terminate_all Kees Cook (1): dmaengine: ste_dma40: Remove VLA usage Kuninori Morimoto (3): dmaengine: rcar-dmac: don't use DMAC error interrupt dmaengine: rcar-dmac: convert to SPDX identifiers dmaengine: rcar-dmac: clear channel register when error Kyle Spiers (1): async_pq: Remove VLA usage Manivannan Sadhasivam (2): dt-bindings: dmaengine: Add binding for Actions Semi Owl SoCs dmaengine: Add Actions Semi Owl family S900 DMA driver Marek Szyprowski (1): dmaengine: add support for reporting pause and resume separately Peter Ujfalusi (1): dmaengine: dma_request_chan_by_mask() to handle deferred probing Radhey Shyam Pandey (2): dt-bindings: dmaengine: xilinx_dma: Add VDMA vertical flip property dmaengine: xilinx_dma: Enable VDMA S2MM vertical flip support Robin Gong (8): dmaengine: imx-sdma: add virt-dma support dmaengine: imx-sdma: remove useless 'lock' and 'enabled' in 'struct sdma_channel' dmaengine: imx-sdma: remove the maximum limitation for bd numbers dmaengine: imx-sdma: add sdma_transfer_init to decrease code overlap dmaengine: imx-sdma: alloclate bd memory from dma pool dmaengine: imx-sdma: add missing structure description dmaengine: imx-sdma: add SDMA_BD_MAX_CNT to replace '0xffff' dmaengine: imx-sdma: add memcpy interface Sascha Hauer (1): dmaengine: imx-sdma: factor out a struct sdma_desc from struct sdma_channel Vinod Koul (17): dmaengine: imx-sdma: Fix some typos dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations dmaengine: imx-sdma: remove unused variable dmaengine: pl330: Mark expected switch fall-through dmaengine: pl330: remove set but unused variable dmaengine: Revert "dmaengine: mv_xor_v2: enable COMPILE_TEST" Merge branch 'topic/async_tx' into for-linus Merge branch 'topic/intel' into for-linus Merge branch 'topic/ioat' into for-linus Merge branch 'topic/mv_xor' into for-linus Merge branch 'topic/nbpfaxi' into for-linus Merge branch 'topic/owl' into for-linus Merge branch 'topic/renesas' into for-linus Merge branch 'topic/ste' into for-linus Merge branch 'topic/xilinx' into for-linus Merge branch 'topic/imx' into for-linus Merge branch 'topic/pl330' into for-linus Yoshihiro Shimoda (4): dmaengine: sh: rcar-dmac: avoid to write CHCR.TE to 1 if TCR is set to 0 dmaengine: sh: rcar-dmac: add a new function to clear CHCR.DE with barrier dmaengine: sh: rcar-dmac: Add dma_pause operation dmaengine: sh: rcar-dmac: Should not stop the DMAC by rcar_dmac_sync_tcr() Documentation/devicetree/bindings/dma/owl-dma.txt | 47 + .../devicetree/bindings/dma/renesas,rcar-dmac.txt | 1 + .../devicetree/bindings/dma/xilinx/xilinx_dma.txt | 2 + Documentation/driver-model/devres.txt | 1 + crypto/async_tx/async_pq.c | 10 +- crypto/async_tx/raid6test.c | 4 +- drivers/dma/Kconfig | 9 + drivers/dma/Makefile | 1 + drivers/dma/dmaengine.c | 53 +- drivers/dma/hsu/hsu.c | 8 + drivers/dma/idma64.c | 8 + drivers/dma/imx-sdma.c | 578 +++++++----- drivers/dma/ioat/dma.c | 6 + drivers/dma/mic_x100_dma.c | 8 +- drivers/dma/mv_xor_v2.c | 16 +- drivers/dma/nbpfaxi.c | 1 + drivers/dma/owl-dma.c | 971 +++++++++++++++++++++ drivers/dma/pl330.c | 12 +- drivers/dma/sh/rcar-dmac.c | 112 +-- drivers/dma/ste_dma40.c | 15 +- drivers/dma/stm32-dma.c | 4 +- drivers/dma/stm32-mdma.c | 8 +- drivers/dma/xilinx/xilinx_dma.c | 22 + include/linux/dma/xilinx_dma.h | 2 + include/linux/dmaengine.h | 6 +- sound/soc/soc-generic-dmaengine-pcm.c | 2 +- 26 files changed, 1600 insertions(+), 307 deletions(-) create mode 100644 Documentation/devicetree/bindings/dma/owl-dma.txt create mode 100644 drivers/dma/owl-dma.c Thanks