Hello, +Victor Gu in Cc. On Tue, 3 Jul 2018 17:00:59 +0200, Marek Behún wrote: > for our testing purposes we are trying various PCIe cards on our Armada > 3720 board, but for some reason we cannot link the device at 5.0 GT/s. > The board should support PCIe GEN 2, and when given an ASM1062 MiniPCIe > SATA card, lspci -vvv prints: > LnkCap: Port #1, Speed 5GT/s, Width x1, ... > but > LnkSta: Speed 2.5GT/s, Width x1, ... > > Is it possible to train the link with pcie-aardvark to 5.0GT/s? I would need to do some research to be able to answer, but as a quick reply, I would like to suggest to try the following patch series: https://patchwork.ozlabs.org/project/linux-pci/list/?series=52819 Could you let us know if it helps or not ? Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com