Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3742450ybz; Mon, 4 May 2020 08:54:22 -0700 (PDT) X-Google-Smtp-Source: APiQypJt3BVWB+Xe7CD1cu61YcPb0Yp70o0XnsVbfoB0fNKB5vP2O+cJZvHiFkS8F/0v5W+NHo7q X-Received: by 2002:a17:906:f90e:: with SMTP id lc14mr14918659ejb.156.1588607661990; Mon, 04 May 2020 08:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588607661; cv=none; d=google.com; s=arc-20160816; b=CIM9WRlpjdSjqahzGqiblSYKNrhbXeF35r2HseQFwZ10qItu2OQJ0IXv/qK3pLRG1r uxnineHiG9ZDj7oP5huJy80nxq8CEwT9RfiihusKd0dYlmpjU6uRiLSrjoFyTH/UWUgu eWNH+ojzkpy92iJqSNcrfTMjuAKbTccgtukkIPVhosACY5gcyb87SvrL6kyViLWTfn98 t0g67i9d/brwvFXpEY2cm/ri/3MQkSMGvDDyVANOwevnC4zmt8LOZiuDJ9VhNYlgPjM9 oZI++6fHb2RjEgWPXsjQUjFNBSCtgHL/TvGezCz+KxIpsU/TTD37zl5TRTgRiljs8aS4 BY6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=NDwr4fRTLznF4CJMY5g1CMThEV2WhhELQKhrhXQAUfI=; b=msv67VxSrHQSjkH20gvXvWjm6RerWTJsMU7k7qsgIAuuTElZ78kf+mkA8PIfjroErO O3OvY5FE5lbB2+NFrY2ohkIjzWeJK2vW4ehlYZGm6yyx6r7680B5h42TvWtPlFsGuXMc mLTV96SuayPx+mK9wcXiiJJVWoBnvVWK/SpAml+/+WMRMoFWiv/7gat+XyYBogscnPJI uV2XkHX1bqReGPKtdbT43delIhY5FOaI1HORzFji1tuQmBVeVuRU2VJ1xbMo4g7Rglci 7z4PnmeX6e8tMJuVp7DUyg+SqmbE6yUNmY1O6iqA/qGNdIhplh/rPUX++C/7D1N3jQ7d bHBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P+s6XoEo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt18si6916141edb.139.2020.05.04.08.53.58; Mon, 04 May 2020 08:54:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P+s6XoEo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729457AbgEDPuO (ORCPT + 99 others); Mon, 4 May 2020 11:50:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:39150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbgEDPuN (ORCPT ); Mon, 4 May 2020 11:50:13 -0400 Received: from localhost (mobile-166-175-184-168.mycingular.net [166.175.184.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3BCCF206B9; Mon, 4 May 2020 15:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588607413; bh=I1VRDM/K7C5sTKMm0JfGuB80QuKueC0yXDSYbXU7okA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=P+s6XoEotwcWSY+lQ9Jfohq+kosEep9mkVCmETbuA1/uFXapsrrBiGfZRGP2ujcP3 nZtD6S17h+r6SMpgXl5/ZFaMvGtPFUjydvHWY1WhUclYYLUdoLEQYJl/AiP6iTUiLc 4CZNbgEYZELBTpQbQRNKPsd5zophQb1Ui+0dBXgM= Date: Mon, 4 May 2020 10:50:11 -0500 From: Bjorn Helgaas To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Thomas Petazzoni , Lorenzo Pieralisi , Andrew Murray , Bjorn Helgaas , Remi Pommarel , Marek =?iso-8859-1?Q?Beh=FAn?= , Tomasz Maciej Nowak , Xogium , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v4 01/12] PCI: aardvark: Train link immediately after enabling training Message-ID: <20200504155011.GA271366@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200430080625.26070-2-pali@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2020 at 10:06:14AM +0200, Pali Roh?r wrote: > Adding even 100ms (PCI_PM_D3COLD_WAIT) delay between enabling link > training and starting link training causes detection issues with some > buggy cards (such as Compex WLE900VX). > > Move the code which enables link training immediately before the one > which starts link traning. s/traning/training/ > This fixes detection issues of Compex WLE900VX card on Turris MOX after > cold boot. > > Fixes: f4c7d053d7f7 ("PCI: aardvark: Wait for endpoint to be ready...") Don't repost just for these, but if you do repost, include the complete subject here, e.g., f4c7d053d7f7 ("PCI: aardvark: Wait for endpoint to be ready before training link")