[OpenWrt-Devel] [PATCH] mvebu: Add support for kernel 4.19

Tomasz Maciej Nowak tomek_n at o2.pl
Fri May 17 07:08:25 PDT 2019


W dniu 16.05.2019 o 23:41, Marek Behun pisze:
> On Thu, 16 May 2019 22:35:35 +0200
> Tomasz Maciej Nowak <tomek_n at o2.pl> wrote:
> 
>> What I would like to ask is if You've had also link training issues with PCIe port
>> and particular Atheros/Qualcomm (AR3890, QCA9890) wifi cards on Turris MOX? Which we
>> work around with these patches:
>> 527-PCI-aardvark-allow-to-specify-link-capability.patch
>> 528-arm64-dts-armada-3720-espressobin-set-max-link-to-ge.patch
>> Or do You use different chip vendors?
> 
> Hi Tomasz,
> 
> yes, the problematic chipsets are 9880 and 9890. Forcing link to PCIe
> 1.0 did not help on Turris Mox.
> After weeks of playing with the card I discovered that it could be
> solved by tweaking the length of the PERST signal (reset-gpios) in the
> aardvark driver. This is how I made it work on 4.14 on Turris Mox. On
> 4.19 it is not needed, but with the new patches by Miquel Raynal which
> will be in kernel 5.2 or 5.3 (adding support for suspend/resume) this
> again breaks, because the PERST signal is manipulated differently. I
> did not solve this issue, but I think it will again be done via the
> PERST signal.

Thanks for the explanation, might give a clue where to poke at if setting gen1 will
not work anymore, and for pointing to Miquel Raynal patches (should have subscribed
vger), will test them after they'll appear in next or earlier if time allows.

> 
> Marek
> 

Regards

-- 
TMN



More information about the openwrt-devel mailing list