Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7571621rwd; Tue, 20 Jun 2023 03:14:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5slOm/pRXSSgGAyLMztuabBLR/zDKpLkWE5+fNMxUh8MVzzjDz46CJDFccqIMKGIWz5uuT X-Received: by 2002:a05:6a20:728e:b0:122:4a16:dfa4 with SMTP id o14-20020a056a20728e00b001224a16dfa4mr3470815pzk.10.1687256078651; Tue, 20 Jun 2023 03:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687256078; cv=none; d=google.com; s=arc-20160816; b=hu3afGILdFUn3trofnZyW2qfn+6Au7dHRr6hlmPrC5p4rUKriM9h724MhgQypifHlu WTYOZQQ+VXcDkOi+wyNzOynViKf9RCjrTM++7sV5yUgZp5Dl1YhAi29Jf7kLUn2FqT7r HIyqEB/kVrvPd8z7BHQDdAXJdy5OqzzdNKpPjkEMED0d6h6OawrsgAN0FjG+oyWSqckJ 723NRAI8JS3346cEXs7BhyVOyyCUpwhuQ9Nj8DhJUjlRFUnF/opD5wvwUluqY87QpR+y Ym2nz0astmqMCLyoNpRLL0O/VPbOOqLAaKtQWdhxU5pEPtjAa8/Na/5zTdt5ntiwGwfA 3XDg== 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:references:message-id :in-reply-to:subject:cc:to:from:date; bh=xISJmDfcnxM3GcMt1j0XWXvjhRQc2UVQLYC076W72ek=; b=KA+JL4wuKLPuEKZ0gX4WCQaSU/qymOLup75mAeC4DZ+xw6gnfoJOZdPyZkSDmBFVr3 psEi8hGoX72k/uuUlA1iFbsatgs952dyKodILFTN/uExJt6FkA39ya4P/tgLZB5LZ0Ay gglxRvNwpwpSG9VxpwVg2EfEjlHhgiO6SEWnDmYOAjdm3Czxiz08Jj+2THbavTWKYDKl ZuUMh6AahqosVqgTj6n0o396roFDngu3Cj7DPlyirWxqhrbpZ/crX1oQxNe1VXKEgfoF 9A+8Y+jHZdcyeqX/2Ha4O+6IQTreSsgTTc+Rl8OhQ/zSXwM2KBpY+Mia+/cX0CI6RuEP ofTQ== 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 b8-20020a633408000000b0052c9458bc03si1427768pga.278.2023.06.20.03.14.24; Tue, 20 Jun 2023 03:14:38 -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 S232577AbjFTJ5P (ORCPT + 99 others); Tue, 20 Jun 2023 05:57:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232500AbjFTJ4e (ORCPT ); Tue, 20 Jun 2023 05:56:34 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE3E42115; Tue, 20 Jun 2023 02:54:05 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id BC22792009C; Tue, 20 Jun 2023 11:54:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id B4F1492009B; Tue, 20 Jun 2023 10:54:04 +0100 (BST) Date: Tue, 20 Jun 2023 10:54:04 +0100 (BST) From: "Maciej W. Rozycki" To: Bjorn Helgaas cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Eric Dumazet , Oliver O'Halloran , Stefan Roese , Leon Romanovsky , linux-rdma@vger.kernel.org, Jakub Kicinski , Paolo Abeni , Jim Wilson , Nicholas Piggin , Alex Williamson , Bjorn Helgaas , Mika Westerberg , David Abdurachmanov , linuxppc-dev@lists.ozlabs.org, Mahesh J Salgaonkar , "David S. Miller" , Lukas Wunner , netdev@vger.kernel.org, =?UTF-8?Q?Pali_Roh=C3=A1r?= , Saeed Mahameed Subject: Re: [PATCH v9 00/14] pci: Work around ASMedia ASM2824 PCIe link training failures In-Reply-To: <20230616202900.GA1540115@bhelgaas> Message-ID: References: <20230616202900.GA1540115@bhelgaas> 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.9 required=5.0 tests=BAYES_00,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 On Fri, 16 Jun 2023, Bjorn Helgaas wrote: > I agree that as I rearranged it, the workaround doesn't apply in all > cases simultaneously. Maybe not ideal, but maybe not terrible either. > Looking at it again, maybe it would have made more sense to move the > pcie_wait_for_link_delay() change to the last patch along with the > pci_dev_wait() change. I dunno. I think the order of the changes is not important enough to justify spending a lot of time and mental effort on it. You decided, so be it. Thank you for your effort made with this review. With this series out of the way I have now posted a small clean-up for SBR code duplication between PCI core and an InfiniBand driver I came across in the course of working on this series. See . Please have a look at your convenience. Maciej