[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <07287fad-c3e6-bcf2-a247-fe4f5031900e@arm.com>
Date: Wed, 27 Mar 2019 12:10:05 +0000
From: Robin Murphy <robin.murphy@....com>
To: Katsuhiro Suzuki <katsuhiro@...suster.net>,
Heiko Stuebner <heiko@...ech.de>
Cc: linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] arm64: dts: rockchip: add rk3399 UART DMAs
On 26/03/2019 13:49, Katsuhiro Suzuki wrote:
> Hello Robin,
>
> Sorry for inconvenience. Since I don't adhere enabling DMA for UARTs,
> please revert my patch if you need.
I found a little time to fire up the board again this morning, so I gave
this another try to double-check - in fact this time I only saw it fail
3 times in 15 reboots. So something's certainly not quite right, but
it's not quite as terrible as the first try implied.
My suspicion at this point is that the DMA implementation might be
losing characters occasionally, and obviously the bluetooth firmware
transfer is going to be a lot more sensitive to that than a text console is.
> BTW, there are DMA properties in RK3328 device-tree like as this patch.
> RK3328 UART DMA could not work correctly too...??
Quite possibly, although my 3328 box doesn't have any UARTS connected or
exposed other than the standard debug console, so I can't easily
investigate there. I do have a 3288 box with similar serial bluetooth to
my 3399 which might be worth digging out for comparison with an
up-to-date kernel.
Robin.
>
> Best Regards,
> Katsuhiro Suzuki
>
>
> On 2019/03/26 20:48, Robin Murphy wrote:
>> On 25/03/2019 12:34, Heiko Stuebner wrote:
>>> Am Donnerstag, 21. März 2019, 17:22:44 CET schrieb Katsuhiro Suzuki:
>>>> Add UART dma channels as specified by the rk3399 TRM.
>>>>
>>>> Refer:
>>>> RK3399 TRM V1.4: Chapter 12 DMA Controller
>>>>
>>>> Signed-off-by: Katsuhiro Suzuki <katsuhiro@...suster.net>
>>>
>>> applied for 5.2
>>
>> As a heads-up, I did manage to try my board with this patch applied
>> over the weekend, and it makes probing the bluetooth adapter fail with
>> communication errors, so I'm not sure the 8250 and pl330 drivers are
>> really cooperating well enough :(
>>
>> Robin.
>>
>
Powered by blists - more mailing lists