Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3539329ioo; Mon, 30 May 2022 04:31:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJUL59OxHsmK1qjLOR8g4JeSmcUESWqg07MntiWnLUpAVpLvsK/hPJmkDDZLrukr0rI4Rb X-Received: by 2002:a50:fc0d:0:b0:42d:c1ae:28bc with SMTP id i13-20020a50fc0d000000b0042dc1ae28bcmr10119575edr.24.1653910267828; Mon, 30 May 2022 04:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653910267; cv=none; d=google.com; s=arc-20160816; b=cjt9Spy8MvSFEQNf8BdnPQ5/HBbiSTY0ivqN7y70GbV/eYpdBlDUkA7sU5aPNb15vC ZuOW1g8TfPr5EUyB1KCGzFYX83JwX3BTRYtPfSSblfEzqJ8EhX1eS/pxPLh69fYap97t n/tW/+/zfkvxcn158t9pIqnkeZUNdIpF233KL1GxAaZvivx0UVKjIisrn9vDjypc82FM Av1wqwwnWdLfx4mfT82Mv8zGOGuMc9DRmwN+/MtcvfmlKk5KzPQdRP2Arsz8Y7l8xH1R /8faBPaz/uXWfiPTTQN09r1T4MetG+ZWTmak+UpQo5x8LfPOYUn8Z34TSYUB0Q1nIOt8 vYKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=EHyqzhW8rf0LbBC2ISnbo7tH92xRHiSFzrqBFSnycd8=; b=V1Gk6pAR7yLAFHa2rAPUzCVNqDhFrc8E2D8orXF9ssVbCiND5JOm2K1puosTu5WrJ3 beVafYmZpL+gC3Gr2rkKbCW2NXgVnhsB4vu8AGduYhrQFYYNBHMhBJ8TK4k37vAGhMPr UYp70/j/5Bez4SewQP5gJ3U23zb6VXg5WL3cETl5H9ZQRz37O0BNRUT2mWtrLGl4qod4 Q8k89JHWC8/W2z/PtbFJnAlTgfOJlP4tssEuEJ91j+TwukLuhv/88T2+sVZb/kJeErLF qWoHfEPEvWl8e8OUKJ6Mnc9Rs8qxtCQTt+/u76p97/z76/kYG1ElQ5/5FeKGSXt/V9aL ZFPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22-20020a17090658d600b006f3ee17bf97si15605873ejs.602.2022.05.30.04.30.40; Mon, 30 May 2022 04:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231244AbiE2P4z (ORCPT + 99 others); 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 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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