From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84919C433F5 for ; Sun, 29 May 2022 15:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231252AbiE2P4z (ORCPT ); Sun, 29 May 2022 11:56:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbiE2P4v (ORCPT ); Sun, 29 May 2022 11:56:51 -0400 Received: from imap3.hz.codethink.co.uk (imap3.hz.codethink.co.uk [176.9.8.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92E426321 for ; Sun, 29 May 2022 08:56:49 -0700 (PDT) Received: from cpc152649-stkp13-2-0-cust121.10-2.cable.virginm.net ([86.15.83.122] helo=[192.168.0.17]) by imap3.hz.codethink.co.uk with esmtpsa (Exim 4.92 #3 (Debian)) id 1nvLHZ-0005f7-KS; Sun, 29 May 2022 16:56:45 +0100 Message-ID: Date: Sun, 29 May 2022 16:56:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [V3] PCI: fu740: Drop to 2.5GT/s to fix initial device probing on some boards Content-Language: en-GB To: "Maciej W. Rozycki" Cc: Alexandre Ghiti , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Bjorn Helgaas , Palmer Dabbelt , Rob Herring , Lorenzo Pieralisi , Greentime Hu , Paul Walmsley , David Abdurachmanov , Neill Whillans References: <20220318152430.526320-1-ben.dooks@codethink.co.uk> <2442936e-a53e-59bf-488f-95eac26d1252@ghiti.fr> <85e864fd-762e-0780-f829-bfbb178ab24e@ghiti.fr> <3acd20b2-5882-7cc0-8a7b-7b406b768c1c@codethink.co.uk> From: Ben Dooks Organization: Codethink Limited. In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/05/2022 12:46, Maciej W. Rozycki wrote: > Hi Ben, > >>> Any idea what might be causing it? I can't see it being explicitly set >>> or cleared anywhere, be it in U-Boot or Linux, so it must be done by the >>> device itself depending on something. And the lack of this capability >>> seems to me like non-compliance for a multiple-lane, multiple-speed >>> device. >> >> I'll see if we can reproduce this > > Have you been able to look into it? > I can't see anything obvious from the code, however my SD card image does not have lspci on it and I have not had time to make a new image to test. I wonder if anyone at SiFive can comment on this? -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html