Skip to contentSkip to conversation

Patch "dmaengine: pxa_dma: fix initial list move" has been added to the 4.2-stable tree

PATCH [email protected] 1 participant 1 message Oct 13, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

dmaengine: pxa_dma: fix initial list move

to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
dmaengine-pxa_dma-fix-initial-list-move.patch
and it can be found in the queue-4.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From aebf5a67db8dbacbc624b9c652b81f5460b15eff Mon Sep 17 00:00:00 2001

From: Robert Jarzmik <[email protected]>
Date: Mon, 21 Sep 2015 11:06:32 +0200
Subject: dmaengine: pxa_dma: fix initial list move

From: Robert Jarzmik <[email protected]>

commit aebf5a67db8dbacbc624b9c652b81f5460b15eff upstream.

Since the commit to have an allocated list of virtual descriptors was reverted, the pxa_dma driver is broken, as it assumes the descriptor is placed on the allocated list upon allocation.

Fix the issue in pxa_dma by making an allocated virtual descriptor a singleton.

Fixes 8c8fe97b2b8a ("Revert "dmaengine: virt-dma: don't always free descriptor upon completion"")
---
 drivers/dma/pxa_dma.c |    1 +
 1 file changed, 1 insertion(+)
drivers/dma/pxa_dma.c +1 -0
@@ -888,6 +888,7 @@ pxad_tx_prep(struct virt_dma_chan *vc, s
 	struct dma_async_tx_descriptor *tx;
 	struct pxad_chan *chan = container_of(vc, struct pxad_chan, vc);
 
+	INIT_LIST_HEAD(&vd->node);
 	tx = vchan_tx_prep(vc, vd, tx_flags);
 	tx->tx_submit = pxad_tx_submit;
 	dev_dbg(&chan->vc.chan.dev->device,

Patches currently in stable-queue which might be from [email protected] are

queue-4.2/dmaengine-pxa_dma-fix-initial-list-move.patch queue-4.2/arm-pxa-ssp-fix-build-error-by-removing-originally-incorrect-dt-binding.patch