Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6557169rwl; Tue, 4 Apr 2023 14:57:37 -0700 (PDT) X-Google-Smtp-Source: AKy350Y9DGuigGDOTzozzoOwdBywllaNV8qjQngxVONMUsXpL3KB6kLxGclG4fNSXDzuv4lmM4KZ X-Received: by 2002:a17:906:6c82:b0:8af:5403:992d with SMTP id s2-20020a1709066c8200b008af5403992dmr1056198ejr.28.1680645457506; Tue, 04 Apr 2023 14:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680645457; cv=none; d=google.com; s=arc-20160816; b=Ac8Jqw1yeSA8HWmEoQZijJuaxEZbAV5y9pKT86I1qAgjiVrc5gLj/d6gXzDuKgbnik CldzYzpw2nbkX0wB+QdSqAAiVN7fEUXM/+olxe3eDKHFKr/nvQ+2KRp85ueNVMs0rpom wbrJE0Mw0fWp44kwUNDhjVar3zEkyly9VAdGhfkgNgJD8x+av+BpxL1s2y0OKmgHbp85 dQE87Q3JQqyWp8EMa6ajwKYLi8KnfqLgy2wgXd/K2u0bmxBuFNj63hMYFt6Roe0ib5Br gPUCYgBRWBsMiItymVTsrbYMnNbe25Yul75rwggHRdpJSnjTufS8xg2d2GdrfqFhfbdH kb9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:subject:cc:to :from:date; bh=cH6/hhju+T5J6QMs9xn8xIpEV9Fgf9uKOwiM/JcP430=; b=dlwB8i0Bk1PJAM5Ajy3wohbvwDvPVxIkXM1bDmry8cGpY6XDoeghJ7HX+RmuZRcxpx K0PCDLM5coueMczhqZVXeQJGsVGr0HwwgYJ1OFDBdocb3RQLBfvYtMvfoKR7o6wPPz/o mL4+ttimsBuOtMrOIPLx4E/Ryc233wjRFam0Zw+67VwelyYNsco19nCxoPTRtwnYHOse 9Zoh81oxeeZizebhE2YWmCpytu9EwmrWHT0/3Gggrch2yS6xLKHH/WNJzv9vovI2WDKp 54/z+XF0gKqy5Ku2hPNV+FCL2l5hPvn2rNxZEwky/P8RBV0g22/i7agN0yyA2htIbBTP 1W2Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a170906594600b0093033954892si2304166ejr.512.2023.04.04.14.57.12; Tue, 04 Apr 2023 14:57:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236423AbjDDVz5 (ORCPT + 99 others); Tue, 4 Apr 2023 17:55:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236293AbjDDVzz (ORCPT ); Tue, 4 Apr 2023 17:55:55 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 74AFE30F3; Tue, 4 Apr 2023 14:55:54 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id D974592009C; Tue, 4 Apr 2023 23:55:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id D399B92009B; Tue, 4 Apr 2023 22:55:51 +0100 (BST) Date: Tue, 4 Apr 2023 22:55:51 +0100 (BST) From: "Maciej W. Rozycki" To: Bjorn Helgaas , Mahesh J Salgaonkar , Oliver O'Halloran , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni cc: Alex Williamson , Lukas Wunner , Mika Westerberg , Stefan Roese , Jim Wilson , David Abdurachmanov , =?UTF-8?Q?Pali_Roh=C3=A1r?= , linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 0/7] pci: Work around ASMedia ASM2824 PCIe link training failures Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE, T_HDRS_LCASE autolearn=unavailable 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 Hi, This is v7 of the change to work around a PCIe link training phenomenon where a pair of devices both capable of operating at a link speed above 2.5GT/s seems unable to negotiate the link speed and continues training indefinitely with the Link Training bit switching on and off repeatedly and the data link layer never reaching the active state. This version has been trivially rebased on top of 6.3-rc5 and verified at run time. Previous iteration: . Maciej