Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-19 Thread Vinod Koul
On Mon, Mar 19, 2018 at 12:53:41PM +0530, Vinod Koul wrote: > On Mon, Mar 19, 2018 at 09:14:00AM +0200, Peter Ujfalusi wrote: > > On 2018-03-19 05:08, Vinod Koul wrote: > > > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > > >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-19 Thread Vinod Koul
On Mon, Mar 19, 2018 at 12:53:41PM +0530, Vinod Koul wrote: > On Mon, Mar 19, 2018 at 09:14:00AM +0200, Peter Ujfalusi wrote: > > On 2018-03-19 05:08, Vinod Koul wrote: > > > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > > >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-19 Thread Vinod Koul
On Mon, Mar 19, 2018 at 09:14:00AM +0200, Peter Ujfalusi wrote: > > > On 2018-03-19 05:08, Vinod Koul wrote: > > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > > This patch is causing a build

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-19 Thread Vinod Koul
On Mon, Mar 19, 2018 at 09:14:00AM +0200, Peter Ujfalusi wrote: > > > On 2018-03-19 05:08, Vinod Koul wrote: > > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > > This patch is causing a build

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-19 Thread Peter Ujfalusi
On 2018-03-19 05:08, Vinod Koul wrote: > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > This patch is causing a build error on arm and arm64 per i.e. >

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-19 Thread Peter Ujfalusi
On 2018-03-19 05:08, Vinod Koul wrote: > On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: >> On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > This patch is causing a build error on arm and arm64 per i.e. >

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Vinod Koul
On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > > > > This patch is causing a build error on arm and arm64 per i.e. > > > > https://kernelci.org/build/id/5aac017e59b5141cb1b3a4d5/ > > > > > > > > Builds

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Vinod Koul
On Sun, Mar 18, 2018 at 11:44:51AM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > > > > This patch is causing a build error on arm and arm64 per i.e. > > > > https://kernelci.org/build/id/5aac017e59b5141cb1b3a4d5/ > > > > > > > > Builds

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Greg Kroah-Hartman
On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > On Sat, Mar 17, 2018 at 08:02:57PM +0530, Vinod Koul wrote: > > On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > > > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > > > 4.14-stable review patch.

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Greg Kroah-Hartman
On Sun, Mar 18, 2018 at 11:24:17AM +0100, Greg Kroah-Hartman wrote: > On Sat, Mar 17, 2018 at 08:02:57PM +0530, Vinod Koul wrote: > > On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > > > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > > > 4.14-stable review patch.

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 17, 2018 at 08:02:57PM +0530, Vinod Koul wrote: > On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > > 4.14-stable review patch. If anyone has any objections, please let me > > > know. > > > > > >

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-18 Thread Greg Kroah-Hartman
On Sat, Mar 17, 2018 at 08:02:57PM +0530, Vinod Koul wrote: > On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > > 4.14-stable review patch. If anyone has any objections, please let me > > > know. > > > > > >

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-17 Thread Vinod Koul
On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Peter Ujfalusi > > > >

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-17 Thread Vinod Koul
On Fri, Mar 16, 2018 at 01:46:40PM -0500, Dan Rue wrote: > On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Peter Ujfalusi > > > > > > [ Upstream commit

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-16 Thread Dan Rue
On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Peter Ujfalusi > > > [ Upstream commit de92436ac40ffe9933230aa503e24dbb5ede9201 ] > > To

Re: [PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-16 Thread Dan Rue
On Fri, Mar 16, 2018 at 04:23:33PM +0100, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Peter Ujfalusi > > > [ Upstream commit de92436ac40ffe9933230aa503e24dbb5ede9201 ] > > To avoid race with

[PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-16 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi [ Upstream commit de92436ac40ffe9933230aa503e24dbb5ede9201 ] To avoid race with vchan_complete, use the race free way to terminate running transfer.

[PATCH 4.14 064/109] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

2018-03-16 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi [ Upstream commit de92436ac40ffe9933230aa503e24dbb5ede9201 ] To avoid race with vchan_complete, use the race free way to terminate running transfer. Implement the