Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4584711rwd; Sun, 11 Jun 2023 10:21:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Tzj0CpMhl9lCFcOsmoX1cOFuUEai8t69CJogEN8PsE4KlGeUJ0E/ybnhs+ayrV0OZW4Kq X-Received: by 2002:a17:906:4792:b0:96f:608c:5bdf with SMTP id cw18-20020a170906479200b0096f608c5bdfmr8535089ejc.64.1686504086575; Sun, 11 Jun 2023 10:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686504086; cv=none; d=google.com; s=arc-20160816; b=v5+6DQiGdbOJlycOBgm3/2Nux521NfcARS06eoIoyOc9BCawAeKFjAJXKiLLgIrsIt ZyU6rPiJdm4xhlTqaPxqbJWoBz2uKmsvCvyzSyD71/ttYACvgS8INksr0liReWs360uN pbp9Nx1MFk820bJfbpxEfSTE/x7IPkwbMSA25ou53YJtYwvANiMlhpTJLASUBzLL1Iry tqvn7kQ7HcrLpoTViXNfjWhGihikpE4aT93Iw+Y8ouuGgQOZe9TZbCU62o0gphhGN5E3 PhAIKPQdj+4Wfej/RasMaaI8BLAtc6SJx6r4qQC8f0adOVduibRPK+cCR/uSO9mohotU oqHg== 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=E3g1vQAHT/4Wbs/ixyekLAny06+i1sWxVERzlHQ1UfY=; b=JB5cwWrWASO5Hl9h6k2wQ6gmZIi0ehCO1iqsiokP/o/aigkX7Ixz+8gY0gWw8siIy1 iNw1G6MQ2aYlTf7IM6HfUOJkigvy/abBzkFCe4ZdqR/3TilPzHj2kjNuZsNrZpboUO27 TrvyhG5fWiMRBVF1K5rNloH+5UshT0so1SQxb80r7jNPaERFBgCFwX0lo/Oejn1aEcg8 z4ui8fTHOKaBB4Y0xE6sYCABjuvwFm9BdvVCBDQjVDoXHUAiSBgv4xytw5a3Kp/+s7Q8 vcVXjBlvw+DBaoHQEzoNrMRIxH83lZiJ2hT/KXTvX8IWHkN5dmYD8tHwxbINu9rAZU3X mzpg== 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 v11-20020a17090606cb00b00977eec7b7e5si2889758ejb.612.2023.06.11.10.21.02; Sun, 11 Jun 2023 10:21:26 -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 S232856AbjFKRTM (ORCPT + 99 others); Sun, 11 Jun 2023 13:19:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbjFKRTK (ORCPT ); Sun, 11 Jun 2023 13:19:10 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1EE00E5F; Sun, 11 Jun 2023 10:19:10 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 1966992009E; Sun, 11 Jun 2023 19:19:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 134EB92009D; Sun, 11 Jun 2023 18:19:09 +0100 (BST) Date: Sun, 11 Jun 2023 18:19:08 +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 v9 00/14] 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=-1.8 required=5.0 tests=BAYES_00,HDRS_LCASE, SPF_HELO_NONE,SPF_NONE,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 Hi, This is v9 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. With several requests addressed and a few extra issues spotted this version has now grown to 14 patches. It has been verified for device enumeration with and without PCI_QUIRKS enabled, using the same piece of RISC-V hardware as previously. Hot plug or reset events have not been verified, as this is difficult if at all feasible with hardware in question. Last iteration: , and my input to it: . Maciej