Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-17 Thread Jiada Wang

Hello Vinod

On 10/17/2016 02:34 PM, Vinod Koul wrote:

On Mon, Oct 17, 2016 at 01:51:26PM +0900, Jiada Wang wrote:

Hello community

Is there any comment regarding this patch set?


I dont seem to have this, can you please rebase this and resend..

I found upstream already has similar fix/feature to several of my 
commits in this patch set.

I will update this patch set after review of latest sdma driver.

Thanks,
Jiada


Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-17 Thread Jiada Wang

Hello Vinod

On 10/17/2016 02:34 PM, Vinod Koul wrote:

On Mon, Oct 17, 2016 at 01:51:26PM +0900, Jiada Wang wrote:

Hello community

Is there any comment regarding this patch set?


I dont seem to have this, can you please rebase this and resend..

I found upstream already has similar fix/feature to several of my 
commits in this patch set.

I will update this patch set after review of latest sdma driver.

Thanks,
Jiada


Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-16 Thread Vinod Koul
On Mon, Oct 17, 2016 at 01:51:26PM +0900, Jiada Wang wrote:
> Hello community
> 
> Is there any comment regarding this patch set?

I dont seem to have this, can you please rebase this and resend..

-- 
~Vinod


Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-16 Thread Vinod Koul
On Mon, Oct 17, 2016 at 01:51:26PM +0900, Jiada Wang wrote:
> Hello community
> 
> Is there any comment regarding this patch set?

I dont seem to have this, can you please rebase this and resend..

-- 
~Vinod


Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-16 Thread Jiada Wang

Hello community

Is there any comment regarding this patch set?

Thanks,
Jiada

On 05/17/2016 12:48 PM, Jiada Wang wrote:

this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)



Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-16 Thread Jiada Wang

Hello community

Is there any comment regarding this patch set?

Thanks,
Jiada

On 05/17/2016 12:48 PM, Jiada Wang wrote:

this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)



Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-12 Thread Jiada Wang

Hello

Are there any comments for this patch set?

Thanks,
Jiada

On 05/17/2016 12:48 PM, Jiada Wang wrote:

this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)



Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-10-12 Thread Jiada Wang

Hello

Are there any comments for this patch set?

Thanks,
Jiada

On 05/17/2016 12:48 PM, Jiada Wang wrote:

this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)



Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-25 Thread Jiada Wang

Hello

On 05/17/2016 07:04 PM, Vinod Koul wrote:

On Tue, May 17, 2016 at 12:47:46PM +0900, Jiada Wang wrote:

this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition


I have three series in my inbox with same title and version. whats going on?


Sorry for the confusion,
attempted to loop Shawn, but used wrong email address.

Thanks,
Jiada



Jiada Wang (10):
   dma: imx-sdma: use chn_real_count to report residue for UART
   dma: imx-sdma: don't update BD in isr routine
   dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
   dma: imx-sdma: update sdma channel status for cyclic dma
   dma: imx-sdma: add flag to indicate SDMA channel state
   dma: imx-sdma: add terminate_all support
   dma: imx-sdma: Add synchronization support
   dma: imx-sdma: abort updating channel when it has been terminated
   dma: imx-sdma: disable channel 0 when it timeouts
   dma: imx-sdma: clear channel0 interrupt bit in irq routine

  drivers/dma/imx-sdma.c | 113 +++--
  1 file changed, 82 insertions(+), 31 deletions(-)

--
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-25 Thread Jiada Wang

Hello

On 05/17/2016 07:04 PM, Vinod Koul wrote:

On Tue, May 17, 2016 at 12:47:46PM +0900, Jiada Wang wrote:

this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition


I have three series in my inbox with same title and version. whats going on?


Sorry for the confusion,
attempted to loop Shawn, but used wrong email address.

Thanks,
Jiada



Jiada Wang (10):
   dma: imx-sdma: use chn_real_count to report residue for UART
   dma: imx-sdma: don't update BD in isr routine
   dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
   dma: imx-sdma: update sdma channel status for cyclic dma
   dma: imx-sdma: add flag to indicate SDMA channel state
   dma: imx-sdma: add terminate_all support
   dma: imx-sdma: Add synchronization support
   dma: imx-sdma: abort updating channel when it has been terminated
   dma: imx-sdma: disable channel 0 when it timeouts
   dma: imx-sdma: clear channel0 interrupt bit in irq routine

  drivers/dma/imx-sdma.c | 113 +++--
  1 file changed, 82 insertions(+), 31 deletions(-)

--
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-17 Thread Vinod Koul
On Tue, May 17, 2016 at 12:47:46PM +0900, Jiada Wang wrote:
> this patch set contains the following changes
> 1. fix issues in cyclic dma
> 2. add support to SYNC DMA termination
> 3. avoid system hang, when SDMA channel 0 timeouts
> 4. add lock to prevent race condition

I have three series in my inbox with same title and version. whats going on?

> 
> Jiada Wang (10):
>   dma: imx-sdma: use chn_real_count to report residue for UART
>   dma: imx-sdma: don't update BD in isr routine
>   dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
>   dma: imx-sdma: update sdma channel status for cyclic dma
>   dma: imx-sdma: add flag to indicate SDMA channel state
>   dma: imx-sdma: add terminate_all support
>   dma: imx-sdma: Add synchronization support
>   dma: imx-sdma: abort updating channel when it has been terminated
>   dma: imx-sdma: disable channel 0 when it timeouts
>   dma: imx-sdma: clear channel0 interrupt bit in irq routine
> 
>  drivers/dma/imx-sdma.c | 113 
> +++--
>  1 file changed, 82 insertions(+), 31 deletions(-)
> 
> -- 
> 2.4.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe dmaengine" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
~Vinod


Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-17 Thread Vinod Koul
On Tue, May 17, 2016 at 12:47:46PM +0900, Jiada Wang wrote:
> this patch set contains the following changes
> 1. fix issues in cyclic dma
> 2. add support to SYNC DMA termination
> 3. avoid system hang, when SDMA channel 0 timeouts
> 4. add lock to prevent race condition

I have three series in my inbox with same title and version. whats going on?

> 
> Jiada Wang (10):
>   dma: imx-sdma: use chn_real_count to report residue for UART
>   dma: imx-sdma: don't update BD in isr routine
>   dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
>   dma: imx-sdma: update sdma channel status for cyclic dma
>   dma: imx-sdma: add flag to indicate SDMA channel state
>   dma: imx-sdma: add terminate_all support
>   dma: imx-sdma: Add synchronization support
>   dma: imx-sdma: abort updating channel when it has been terminated
>   dma: imx-sdma: disable channel 0 when it timeouts
>   dma: imx-sdma: clear channel0 interrupt bit in irq routine
> 
>  drivers/dma/imx-sdma.c | 113 
> +++--
>  1 file changed, 82 insertions(+), 31 deletions(-)
> 
> -- 
> 2.4.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe dmaengine" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
~Vinod


[PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Jiada Wang
this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)

-- 
2.4.5



[PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Jiada Wang
this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)

-- 
2.4.5



[PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Jiada Wang
this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)

-- 
2.4.5



[PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Jiada Wang
this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)

-- 
2.4.5



Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Vladimir Zapolskiy
Hi Jiada,

On 16.05.2016 11:37, Jiada Wang wrote:
> this patch set contains the following changes
> 1. fix issues in cyclic dma
> 2. add support to SYNC DMA termination
> 3. avoid system hang, when SDMA channel 0 timeouts
> 4. add lock to prevent race condition
> 
> Jiada Wang (10):
>   dma: imx-sdma: use chn_real_count to report residue for UART
>   dma: imx-sdma: don't update BD in isr routine
>   dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
>   dma: imx-sdma: update sdma channel status for cyclic dma
>   dma: imx-sdma: add flag to indicate SDMA channel state
>   dma: imx-sdma: add terminate_all support
>   dma: imx-sdma: Add synchronization support
>   dma: imx-sdma: abort updating channel when it has been terminated
>   dma: imx-sdma: disable channel 0 when it timeouts
>   dma: imx-sdma: clear channel0 interrupt bit in irq routine
> 
>  drivers/dma/imx-sdma.c | 113 
> +++--
>  1 file changed, 82 insertions(+), 31 deletions(-)
> 

I think it's worth to add Sascha and Shawn to Cc to let them know
about the change.

--
With best wishes,
Vladimir


Re: [PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Vladimir Zapolskiy
Hi Jiada,

On 16.05.2016 11:37, Jiada Wang wrote:
> this patch set contains the following changes
> 1. fix issues in cyclic dma
> 2. add support to SYNC DMA termination
> 3. avoid system hang, when SDMA channel 0 timeouts
> 4. add lock to prevent race condition
> 
> Jiada Wang (10):
>   dma: imx-sdma: use chn_real_count to report residue for UART
>   dma: imx-sdma: don't update BD in isr routine
>   dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
>   dma: imx-sdma: update sdma channel status for cyclic dma
>   dma: imx-sdma: add flag to indicate SDMA channel state
>   dma: imx-sdma: add terminate_all support
>   dma: imx-sdma: Add synchronization support
>   dma: imx-sdma: abort updating channel when it has been terminated
>   dma: imx-sdma: disable channel 0 when it timeouts
>   dma: imx-sdma: clear channel0 interrupt bit in irq routine
> 
>  drivers/dma/imx-sdma.c | 113 
> +++--
>  1 file changed, 82 insertions(+), 31 deletions(-)
> 

I think it's worth to add Sascha and Shawn to Cc to let them know
about the change.

--
With best wishes,
Vladimir


[PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Jiada Wang
this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)

-- 
2.4.5



[PATCH v1 00/10] *** imx-sdma: misc fix ***

2016-05-16 Thread Jiada Wang
this patch set contains the following changes
1. fix issues in cyclic dma
2. add support to SYNC DMA termination
3. avoid system hang, when SDMA channel 0 timeouts
4. add lock to prevent race condition

Jiada Wang (10):
  dma: imx-sdma: use chn_real_count to report residue for UART
  dma: imx-sdma: don't update BD in isr routine
  dma: imx-sdma: clear BD_RROR flag before pass it to sdma script
  dma: imx-sdma: update sdma channel status for cyclic dma
  dma: imx-sdma: add flag to indicate SDMA channel state
  dma: imx-sdma: add terminate_all support
  dma: imx-sdma: Add synchronization support
  dma: imx-sdma: abort updating channel when it has been terminated
  dma: imx-sdma: disable channel 0 when it timeouts
  dma: imx-sdma: clear channel0 interrupt bit in irq routine

 drivers/dma/imx-sdma.c | 113 +++--
 1 file changed, 82 insertions(+), 31 deletions(-)

-- 
2.4.5