|
|
Subscribe / Log in / New account

dmaengine: xdma: Cyclic transfers support

From:  Miquel Raynal <miquel.raynal-AT-bootlin.com>
To:  Lizhi Hou <lizhi.hou-AT-amd.com>, Brian Xu <brian.xu-AT-amd.com>, Raj Kumar Rampelli <raj.kumar.rampelli-AT-amd.com>, Vinod Koul <vkoul-AT-kernel.org>, Michal Simek <michal.simek-AT-amd.com>
Subject:  [PATCH v2 0/2] dmaengine: xdma: Cyclic transfers support
Date:  Fri, 22 Sep 2023 18:20:54 +0200
Message-ID:  <20230922162056.594933-1-miquel.raynal@bootlin.com>
Cc:  dmaengine-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, Thomas Petazzoni <thomas.petazzoni-AT-bootlin.com>, <linux-kernel-AT-vger.kernel.org>, Miquel Raynal <miquel.raynal-AT-bootlin.com>
Archive-link:  Article

Hello,

Following the introduction of scatter-gather support of Xilinx's XDMA IP
in the Linux kernel, here is a small series adding cyclic transfers.

The first patch is a preparation patch to ease the review of the second
one which actually adds cyclic transfers support.

Thanks,
Miquèl

Changes in v2:
* Rebased on top of v6.6-rc1
* Removed the if (!state) superfluous check.
* Address a kernel test robot report (unitialized variable in error case)
* Simplify the convoluted logic when filling the hardware descriptors

Miquel Raynal (2):
  dmaengine: xilinx: xdma: Prepare the introduction of cyclic transfers
  dmaengine: xilinx: xdma: Support cyclic transfers

 drivers/dma/xilinx/xdma-regs.h |   2 +
 drivers/dma/xilinx/xdma.c      | 178 +++++++++++++++++++++++++++++++--
 2 files changed, 172 insertions(+), 8 deletions(-)

-- 
2.34.1



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds