Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701426

[PATCH v2 0/3] dmaengine: k3dma: Fix non-cyclic mode

From Antonio Borneo <borneo.antonio@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/3] dmaengine: k3dma: Fix non-cyclic mode
Date 2017-08-01 22:20 +0200
Message-ID <u9LO2-9K-15@gated-at.bofh.it> (permalink)
References <u4Qll-4w6-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit 36387a2b1f62b5c087c5fe6f0f7b23b94f722ad7 ("k3dma: Fix
memory handling in preparation for cyclic mode") broke the
logic around ds_run/ds_done in case of non-cyclic DMA.

This v2 splits the initial patch in three parts:
- the real fix for non-cyclic mode
- another fix for a double free introduced in the same commit
- cosmetic removal of useless ON_WARN_ONCE()

Thread in https://patchwork.kernel.org/patch/9833791/

v1 -> v2
- split the patch
- change patch title to "dmaengine: ..."

Antonio Borneo (3):
  dmaengine: k3dma: fix non-cyclic mode
  dmaengine: k3dma: fix double free of descriptor
  dmaengine: k3dma: remove useless ON_WARN_ONCE()

 drivers/dma/k3dma.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] dmaengine: k3dma: Fix non-cyclic mode Antonio Borneo <borneo.antonio@gmail.com> - 2017-08-01 22:20 +0200
  [PATCH v2 1/3] dmaengine: k3dma: fix non-cyclic mode Antonio Borneo <borneo.antonio@gmail.com> - 2017-08-01 22:20 +0200
  [PATCH v2 2/3] dmaengine: k3dma: fix double free of descriptor Antonio Borneo <borneo.antonio@gmail.com> - 2017-08-01 22:20 +0200
  [PATCH v2 3/3] dmaengine: k3dma: remove useless ON_WARN_ONCE() Antonio Borneo <borneo.antonio@gmail.com> - 2017-08-01 22:20 +0200

csiph-web