Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-13 Thread Lennart Sorensen
On Thu, Nov 13, 2014 at 07:34:09PM +0100, Sebastian Andrzej Siewior wrote: > misaligned dma? I haven't seen any alignment requirement for SDMA/EDMA > and I haven't seen this error on beagle board, am335x-evm or dra7-evm. Well I am using the am5728, so it should be the same as the dra7-evm. > So b

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-13 Thread Sebastian Andrzej Siewior
On 11/05/2014 08:43 PM, Lennart Sorensen wrote: > I managed to get something dma related on uart3. But it isn't happy: > > [ 95.577401] DMA misaligned error with device 53 > repeated many times. > > I wonder if the dma support isn't quite working for the omap572x yet in > this tree (ti's 3.12.

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Lennart Sorensen
On Wed, Nov 05, 2014 at 05:30:51PM +0100, Sebastian Andrzej Siewior wrote: > On 11/05/2014 05:20 PM, Lennart Sorensen wrote: > > On Wed, Nov 05, 2014 at 10:33:15AM -0500, Lennart Sorensen wrote: > >> Two systems ran 16 hours each so far with no issues. Pushed 170MB of > >> data through the pair of

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Sebastian Andrzej Siewior
On 11/05/2014 05:20 PM, Lennart Sorensen wrote: > On Wed, Nov 05, 2014 at 10:33:15AM -0500, Lennart Sorensen wrote: >> Two systems ran 16 hours each so far with no issues. Pushed 170MB of >> data through the pair of serial ports on one system at 230400. > > The console on uart3 doesn't appear to

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Lennart Sorensen
On Wed, Nov 05, 2014 at 10:33:15AM -0500, Lennart Sorensen wrote: > Two systems ran 16 hours each so far with no issues. Pushed 170MB of > data through the pair of serial ports on one system at 230400. The console on uart3 doesn't appear to be using the dma assuming the values in /sys for the dma

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Lennart Sorensen
On Wed, Nov 05, 2014 at 09:11:35AM +0100, Sebastian Andrzej Siewior wrote: > Okay. No DMA but the basic part seems to work for you. Thanks for > testing. Two systems ran 16 hours each so far with no issues. Pushed 170MB of data through the pair of serial ports on one system at 230400. -- Len So

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Sebastian Andrzej Siewior
On 11/05/2014 02:15 AM, Lennart Sorensen wrote: > Well 4 hours running with multiple reboots (our testsuite reboots every > 30 minutes to test the watchdog). So far it has only lost 70 bytes out > of 40MB of data sent between uart7 and uart8 (and we are pretty sure > the serial test has a small bu

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Lennart Sorensen
On Tue, Nov 04, 2014 at 04:03:15PM -0500, Lennart Sorensen wrote: > So it seems to be working on our board so far. Will stress test it > some more. No DMA of course for now, but oh well. Well 4 hours running with multiple reboots (our testsuite reboots every 30 minutes to test the watchdog). So

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Lennart Sorensen
On Tue, Nov 04, 2014 at 01:33:15PM -0500, Lennart Sorensen wrote: > Well it doesn't work, because I don't have the dma croassbar patches > from ti-linux-3.14.y which are required to use the full range of dma > channels on the dra7. > > I will see how well it works without dma at least. So it seem

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Lennart Sorensen
On Tue, Nov 04, 2014 at 07:32:07PM +0100, Javier Martinez Canillas wrote: > Hello, > > On Tue, Nov 4, 2014 at 6:21 PM, Lennart Sorensen > wrote: > >> Mind sharing the manual with me? Mine does not mention DMA channels for > >> UART7-10. If you are able to test 7+8 (and it works) could you please

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Nishanth Menon
On 11/04/2014 12:32 PM, Javier Martinez Canillas wrote: > Hello, > > On Tue, Nov 4, 2014 at 6:21 PM, Lennart Sorensen > wrote: >>> Mind sharing the manual with me? Mine does not mention DMA channels for >>> UART7-10. If you are able to test 7+8 (and it works) could you please >>> make patch which

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Lennart Sorensen
On Tue, Nov 04, 2014 at 12:21:17PM -0500, Lennart Sorensen wrote: > Well the file I have is called AM572x_ES1.1_NDA_TRM_vT.pdf, so I am not > sure who I am allowed to share that file with. Might be simpler to just > ask TI for the latest version. > > How I hate NDAs. Well it doesn't work, becaus

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Javier Martinez Canillas
Hello, On Tue, Nov 4, 2014 at 6:21 PM, Lennart Sorensen wrote: >> Mind sharing the manual with me? Mine does not mention DMA channels for >> UART7-10. If you are able to test 7+8 (and it works) could you please >> make patch which with for the remaining four devices? > > Well the file I have is c

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Lennart Sorensen
On Tue, Nov 04, 2014 at 06:06:37PM +0100, Sebastian Andrzej Siewior wrote: > On 11/04/2014 06:02 PM, Lennart Sorensen wrote: > > > > According to the manual the DMA channels for UART7 to 10 are: > > > > uart7: 144 145 > > uart8: 146 147 > > uart9: 148 149 > > uart10: 150 151 > > > > Might as

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Lennart Sorensen
On Mon, Sep 29, 2014 at 08:06:47PM +0200, Sebastian Andrzej Siewior wrote: > Cc: devicet...@vger.kernel.org > Reviewed-by: Tony Lindgren > Tested-by: Tony Lindgren > Signed-off-by: Sebastian Andrzej Siewior > --- > arch/arm/boot/dts/dra7.dtsi | 12 > 1 file changed, 12 insertions(+

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-04 Thread Sebastian Andrzej Siewior
On 11/04/2014 06:02 PM, Lennart Sorensen wrote: > > According to the manual the DMA channels for UART7 to 10 are: > > uart7: 144 145 > uart8: 146 147 > uart9: 148 149 > uart10: 150 151 > > Might as well add those too. We have uart 7 and 8 in use on our board > so I am about to go test it. M

[PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-09-29 Thread Sebastian Andrzej Siewior
Cc: devicet...@vger.kernel.org Reviewed-by: Tony Lindgren Tested-by: Tony Lindgren Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/dra7.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index d678152db