[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48e917d1-c012-29bc-d3be-b9ccb876a074@codethink.co.uk>
Date: Tue, 22 Feb 2022 10:23:35 +0000
From: Ben Dooks <ben.dooks@...ethink.co.uk>
To: paul.walmsley@...ive.com, greentime.hu@...ive.com
Cc: lorenzo.pieralisi@....com, robh@...nel.org, kw@...ux.com,
bhelgaas@...gle.com, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org
Subject: Re: [[PATCHv3]] PCI: fu740: Force gen1 for initial device probe
On 21/02/2022 20:38, Ben Dooks wrote:
> The fu740 PCIe core does not probe any devices on the SiFive Unmatched
> board without this fix from U-Boot (or having U-Boot explicitly start
> the PCIe via either boot-script or user command).
>
> The fix claims to set the link-speed to gen1 to get the probe
> to work. As this is a copy from U-Boot, the code is assumed to be
> correct and does fix the issue on the Unmatched. The code is at:
> https://source.denx.de/u-boot/u-boot/-/blob/master/drivers/pci/pcie_dw_sifive.c#L271
>
> The code has been this way since the driver was commited in:
> https://source.denx.de/u-boot/u-boot/-/commit/416395c772018c6bf52aad36aca163115001793f
>
Apologies everyone, messed up sending v3 so re-sent as v4.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
https://www.codethink.co.uk/privacy.html
Powered by blists - more mailing lists