RE: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-27 Thread Chew, Chiau Ee
.org > Subject: Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode > DW_DMAC. > > On Sun, 2014-01-26 at 16:47 +0530, Vinod Koul wrote: > > > > > > > For these cases, I have been using suspend_late. Since the > > > > > > dmaengi

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-27 Thread Andy Shevchenko
On Sun, 2014-01-26 at 16:47 +0530, Vinod Koul wrote: > > > > > For these cases, I have been using suspend_late. Since the dmaengine > > > > > driver is > > > > > providing service to other clients (SPI), it needs to esnure that it > > > > > suspends > > > > > after SPI using suspend_late and res

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-26 Thread Vinod Koul
On Mon, Jan 20, 2014 at 07:38:32PM +0530, Shevchenko, Andriy wrote: > > > > > > > As mentioned by Andy, we are using *_noirq verion of > > > > > > > suspend/resume PM > > > > > > > callback whereby the callbacks would be executed after IRQ > > > > > > > handlers have been > > > > > > > disabled.

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Shevchenko, Andriy
On Mon, 2014-01-20 at 17:37 +0530, Vinod Koul wrote: > On Mon, Jan 20, 2014 at 06:17:56PM +0530, Shevchenko, Andriy wrote: > > On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: > > > On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > > > > On Wed, 2013-12-18 at 21:19 +0530, Vinod

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Vinod Koul
On Mon, Jan 20, 2014 at 06:17:56PM +0530, Shevchenko, Andriy wrote: > On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: > > On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > > > On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > > > > On Mon, Dec 16, 2013 at 01:51:47PM +0530

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Shevchenko, Andriy
On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: > On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > > On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > > > On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew, Chiau Ee wrote: > > > > > > As mentioned by Andy, we are using *_no

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Vinod Koul
On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > > On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew, Chiau Ee wrote: > > > > As mentioned by Andy, we are using *_noirq verion of suspend/resume PM > > > callback whereby the cal

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2013-12-19 Thread Andy Shevchenko
On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > On Mon, Dec 16, 2013 at 01:51:47PM +0530, Chew, Chiau Ee wrote: > > As mentioned by Andy, we are using *_noirq verion of suspend/resume PM > > callback whereby the callbacks would be executed after IRQ handlers have > > been > > disabled. If

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2013-12-18 Thread Vinod Koul
10, 2013 7:57 PM > To: Koul, Vinod > Cc: Chew, Chiau Ee; Viresh Kumar; Andy Shevchenko; Williams, Dan J; > dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode > DW_DMAC. > > On Tue, 2013-12-10 at 15:

RE: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2013-12-16 Thread Chew, Chiau Ee
PM To: Koul, Vinod Cc: Chew, Chiau Ee; Viresh Kumar; Andy Shevchenko; Williams, Dan J; dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC. On Tue, 2013-12-10 at 15:40 +0530, Vinod Koul wrote: > On Tue, Dec

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2013-12-10 Thread Shevchenko, Andriy
On Tue, 2013-12-10 at 15:40 +0530, Vinod Koul wrote: > On Tue, Dec 10, 2013 at 10:06:13PM +0800, Chew Chiau Ee wrote: > > From: Chew, Chiau Ee > > > > This is to disable/enable DW_DMAC hw during suspend/resume. > > > > Signed-off-by: Chew, Chiau Ee > > Acked-by: Andy Shevchenko > > --- > > dr

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2013-12-10 Thread Vinod Koul
On Tue, Dec 10, 2013 at 10:06:13PM +0800, Chew Chiau Ee wrote: > From: Chew, Chiau Ee > > This is to disable/enable DW_DMAC hw during suspend/resume. > > Signed-off-by: Chew, Chiau Ee > Acked-by: Andy Shevchenko > --- > drivers/dma/dw/pci.c | 33 + > 1 files