Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-07 Thread Sebastian Andrzej Siewior
On 05/07/2015 03:55 PM, Nicolae Rosia wrote: > Hi, Hi, >> Okay, please inform about your results. I think I had that one and the >> result was no UART communication at all and a lot overrun errors. > > I have reverted this patch and the serial comm is working well. > I haven't been able to test

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-07 Thread Nicolae Rosia
Hi, > > Okay, please inform about your results. I think I had that one and the > result was no UART communication at all and a lot overrun errors. I have reverted this patch and the serial comm is working well. I haven't been able to test with the SDMA firmware, yet. Thank you for the bug report

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-07 Thread Nicolae Rosia
Hi, Okay, please inform about your results. I think I had that one and the result was no UART communication at all and a lot overrun errors. I have reverted this patch and the serial comm is working well. I haven't been able to test with the SDMA firmware, yet. Thank you for the bug report and

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-07 Thread Sebastian Andrzej Siewior
On 05/07/2015 03:55 PM, Nicolae Rosia wrote: Hi, Hi, Okay, please inform about your results. I think I had that one and the result was no UART communication at all and a lot overrun errors. I have reverted this patch and the serial comm is working well. I haven't been able to test with

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Sebastian Andrzej Siewior
On 05/06/2015 06:46 PM, Nicolae Rosia wrote: > Hi, Hi, >> I reverted this patch. I am going to send a revert to Greg tomorrow >> including why this is done and CC stable. I haven't yet received a >> working SDMA firmware nor a hint where it is. > You reverted this patch and it works again? > I

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
Hi, > I reverted this patch. I am going to send a revert to Greg tomorrow > including why this is done and CC stable. I haven't yet received a > working SDMA firmware nor a hint where it is. You reverted this patch and it works again? I believe it is this one [1], but I will be only able to test

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Sebastian Andrzej Siewior
On 05/06/2015 06:08 PM, Nicolae Rosia wrote: > Hi, > I believe I'm also affected by this BUG. I'm receiving lots of 0 and 1 > (ASCII, as presented by cat /dev/ttymxcX) and RX buffer is > overflowing. > >> the firmware only supports imx6 series, AFAIK, >> I checked with Freescale imx6 support

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
Hi, I believe I'm also affected by this BUG. I'm receiving lots of 0 and 1 (ASCII, as presented by cat /dev/ttymxcX) and RX buffer is overflowing. > the firmware only supports imx6 series, AFAIK, > I checked with Freescale imx6 support team, due to > licensing issue, I am not entitled to upstream

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
Hi, I believe I'm also affected by this BUG. I'm receiving lots of 0 and 1 (ASCII, as presented by cat /dev/ttymxcX) and RX buffer is overflowing. the firmware only supports imx6 series, AFAIK, I checked with Freescale imx6 support team, due to licensing issue, I am not entitled to upstream

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Sebastian Andrzej Siewior
On 05/06/2015 06:46 PM, Nicolae Rosia wrote: Hi, Hi, I reverted this patch. I am going to send a revert to Greg tomorrow including why this is done and CC stable. I haven't yet received a working SDMA firmware nor a hint where it is. You reverted this patch and it works again? I believe it

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Sebastian Andrzej Siewior
On 05/06/2015 06:08 PM, Nicolae Rosia wrote: Hi, I believe I'm also affected by this BUG. I'm receiving lots of 0 and 1 (ASCII, as presented by cat /dev/ttymxcX) and RX buffer is overflowing. the firmware only supports imx6 series, AFAIK, I checked with Freescale imx6 support team, due to

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-05-06 Thread Nicolae Rosia
Hi, I reverted this patch. I am going to send a revert to Greg tomorrow including why this is done and CC stable. I haven't yet received a working SDMA firmware nor a hint where it is. You reverted this patch and it works again? I believe it is this one [1], but I will be only able to test

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-17 Thread Sebastian Andrzej Siewior
On 04/17/2015 11:18 AM, jiwang wrote: > Hello Sebastian Hallo Jiada, >> Please make sure it is tagged stable. There is no hint that this is >> required >> and as of it now, it breaks v4.0. > Due to missing of SDMA firmware, uart sdma mode is broken, > but it is uncovered by this commit on your

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-17 Thread jiwang
Hello Sebastian On 04/13/2015 05:06 PM, Sebastian Andrzej Siewior wrote: On Mon, Apr 13, 2015 at 04:40:15PM +0900, jiwang wrote: Hi Sebastian Hi Jiada, My question is how was this tested. Before your patch none of my boards were using DMA because RTS/CTS is not in use and this was a key

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-17 Thread jiwang
Hello Sebastian On 04/13/2015 05:06 PM, Sebastian Andrzej Siewior wrote: On Mon, Apr 13, 2015 at 04:40:15PM +0900, jiwang wrote: Hi Sebastian Hi Jiada, My question is how was this tested. Before your patch none of my boards were using DMA because RTS/CTS is not in use and this was a key

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-17 Thread Sebastian Andrzej Siewior
On 04/17/2015 11:18 AM, jiwang wrote: Hello Sebastian Hallo Jiada, Please make sure it is tagged stable. There is no hint that this is required and as of it now, it breaks v4.0. Due to missing of SDMA firmware, uart sdma mode is broken, but it is uncovered by this commit on your

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-13 Thread Sebastian Andrzej Siewior
On Mon, Apr 13, 2015 at 04:40:15PM +0900, jiwang wrote: > Hi Sebastian Hi Jiada, > >My question is how was this tested. Before your patch none of my boards > >were using DMA because RTS/CTS is not in use and this was a key > >requirement. Now SDMA goes crazy. Is there a SDMA firmware required for

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-13 Thread jiwang
Hi Sebastian On 04/09/2015 09:00 PM, Sebastian Andrzej Siewior wrote: On 2014-12-09 18:11:32 [+0900], Jiada Wang wrote: From: Anton Bondarenko DMA mode for UART can be used even w/o HW flow control with RTS/CTS. So it need to be initialized and enabled earlier. Signed-off-by: Anton

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-13 Thread jiwang
Hi Sebastian On 04/09/2015 09:00 PM, Sebastian Andrzej Siewior wrote: On 2014-12-09 18:11:32 [+0900], Jiada Wang wrote: From: Anton Bondarenko anton_bondare...@mentor.com DMA mode for UART can be used even w/o HW flow control with RTS/CTS. So it need to be initialized and enabled earlier.

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-13 Thread Sebastian Andrzej Siewior
On Mon, Apr 13, 2015 at 04:40:15PM +0900, jiwang wrote: Hi Sebastian Hi Jiada, My question is how was this tested. Before your patch none of my boards were using DMA because RTS/CTS is not in use and this was a key requirement. Now SDMA goes crazy. Is there a SDMA firmware required for this

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-09 Thread Sebastian Andrzej Siewior
On 2014-12-09 18:11:32 [+0900], Jiada Wang wrote: > From: Anton Bondarenko > > DMA mode for UART can be used even w/o HW flow control with RTS/CTS. > So it need to be initialized and enabled earlier. > > Signed-off-by: Anton Bondarenko > Signed-off-by: Jiada Wang How was this tested? I read

Re: [PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2015-04-09 Thread Sebastian Andrzej Siewior
On 2014-12-09 18:11:32 [+0900], Jiada Wang wrote: From: Anton Bondarenko anton_bondare...@mentor.com DMA mode for UART can be used even w/o HW flow control with RTS/CTS. So it need to be initialized and enabled earlier. Signed-off-by: Anton Bondarenko anton_bondare...@mentor.com

[PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2014-12-09 Thread Jiada Wang
From: Anton Bondarenko DMA mode for UART can be used even w/o HW flow control with RTS/CTS. So it need to be initialized and enabled earlier. Signed-off-by: Anton Bondarenko Signed-off-by: Jiada Wang --- drivers/tty/serial/imx.c | 15 --- 1 file changed, 8 insertions(+), 7

[PATCH v1 11/15] serial: imx: initialized DMA w/o HW flow enabled

2014-12-09 Thread Jiada Wang
From: Anton Bondarenko anton_bondare...@mentor.com DMA mode for UART can be used even w/o HW flow control with RTS/CTS. So it need to be initialized and enabled earlier. Signed-off-by: Anton Bondarenko anton_bondare...@mentor.com Signed-off-by: Jiada Wang jiada_w...@mentor.com ---