Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3041295rwb; Mon, 7 Aug 2023 07:25:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDAN5gMpKMZwzA9wq1SUMTc+qcGe3R8J15jU+IC4wbgl7AnJHuRi526ZivWDJSlUHX7GVo X-Received: by 2002:a2e:6e10:0:b0:2b9:ecc5:d1de with SMTP id j16-20020a2e6e10000000b002b9ecc5d1demr6395959ljc.37.1691418347045; Mon, 07 Aug 2023 07:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691418347; cv=none; d=google.com; s=arc-20160816; b=PgDMmawJI7Ps/bq0NnNY0t6bCW71k2J/94DOcNu70/t17YKBtpzTqvrNhgk1nYgFbZ RaWMC8eucDcgdXmN1zwRHKFRLyVEEHALLb/TMeogmyFPz9uKLJm5K5G/ZZNZz9JLlNCK J9zVI0HRbCpr2wFJEWw0N0ihm5z8mIA3P5AoutM6MzCQ3BvD5Knf5CQibSdE2P/vMxUa HggBHyZ/g+tUxcsCnTTglHJWh3c4m5MEZXw06xmCK895AoWUUT/4V6QoflLbO7oZI3m0 fmCVz9h0TnrNnRxFA/cF2aQBW+gMlbGwRdjG33B61yrECRjSmIaUv+VibczU56MS9m4e 8WsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GC9elTNDJIXT5/wG6p8IEjjBGAro/CyDpoqmWSAkooU=; fh=X1CmvWE/56ovv4JMrQ4bXy2sCaUfhVPSMw4NGa3oKug=; b=HtMfaAgRWlgSi03gF8s7UVRC2fqMUq1WYWyup7q5nF8cXVEa06ZbaRLWLLNo380Prr 3Vy/405/q12WE50wJmJkd7yjoyPlFMn7zFI+ccLe/mFWgm4FTiTusSi8MX4aLRM9Ccwf X7ShPScI/i//aZWgJWQP7omuzyEZ3vAXTItaWAvYkjoWe3nQkMFJ32wiLYXQu7tMMi2p zkk4HU0ClSLdmDsROIRoJE3sVaol70r+SFycLnlA6xBIhkCYvk0Dqut3fUgYTlnWd7J3 tp1ifePII6rUk91jvtJJIbXEm0PF2E5gsqw0EkBYGVUqvyhpl5dS9Wesz4/oVeq9LsvZ 6Zfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fKEK6BMx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z20-20020a1709067e5400b00992ac91eb76si5936201ejr.684.2023.08.07.07.25.21; Mon, 07 Aug 2023 07:25:47 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fKEK6BMx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233897AbjHGNTl (ORCPT + 99 others); Mon, 7 Aug 2023 09:19:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230429AbjHGNTj (ORCPT ); Mon, 7 Aug 2023 09:19:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77FCEE5B; Mon, 7 Aug 2023 06:19:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8821B61ABD; Mon, 7 Aug 2023 13:19:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C94ECC433C7; Mon, 7 Aug 2023 13:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691414375; bh=whOUAc25oLPzlTpk5wjf+E0XCgf/YkQr5OBFvqrLFMk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fKEK6BMxrpiWRwp2S9CbhIz3SmULNKcn9new/RwN2ZAQoeJZfSRPpNx2cGwvRdomH 6IJeLSZaURsKDJtHh36gLqDMabWypSEYUiZo8zqdDqcFopUugllVS+VFs7dFW/E/YP En8M5i7xYD3SOyra8439XomdCWqvQR3InUxIl6eXBF/1jMky8FBtKEH/5h6KuP5nOS LLjws0OaHXxJfWfdJh5Sw8iMCQHrpENG8id9r23/oUj7+5DJ5nw1Fzs0ve7ZTMhfXT E5fZYZ/VkHmtWhyHX8ov0j+8tiwFQYPMgGL4K4s4KZI5nbm1gUXPDZFFvXuSqOR6MC 7R3jZmMtCR8WQ== Date: Mon, 7 Aug 2023 18:49:18 +0530 From: Manivannan Sadhasivam To: Frank Li Cc: helgaas@kernel.org, bhelgaas@google.com, devicetree@vger.kernel.org, gustavo.pimentel@synopsys.com, imx@lists.linux.dev, kw@linux.com, leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lorenzo.pieralisi@arm.com, lpieralisi@kernel.org, manivannan.sadhasivam@linaro.org, minghuan.lian@nxp.com, mingkai.hu@nxp.com, robh+dt@kernel.org, roy.zang@nxp.com, shawnguo@kernel.org, zhiqiang.hou@nxp.com Subject: Re: [PATCH v9 1/3] PCI: Add macro PCIE_PME_TO_L2_TIMEOUT_US Message-ID: <20230807131918.GC18257@thinkpad> References: <20230804180637.462573-1-Frank.Li@nxp.com> <20230804180637.462573-2-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230804180637.462573-2-Frank.Li@nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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, Aug 04, 2023 at 02:06:35PM -0400, Frank Li wrote: > Introduces the PCIE_PME_TO_L2_TIMEOUT_US macro to facilitate checking the s/Introduces/Introduce > PME (Power Management Event) timeout in the PCI subsystem. > L2 ready timeout > Signed-off-by: Frank Li With above changes, Acked-by: Manivannan Sadhasivam - Mani > --- > drivers/pci/pci.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h > index a4c3974340576..da8156663c825 100644 > --- a/drivers/pci/pci.h > +++ b/drivers/pci/pci.h > @@ -13,6 +13,12 @@ > > #define PCIE_LINK_RETRAIN_TIMEOUT_MS 1000 > > +/* > + * PCIe r6.0, sec 5.3.3.2.1 > + * Recommends 1ms to 10ms timeout to check L2 ready. > + */ > +#define PCIE_PME_TO_L2_TIMEOUT_US 10000 > + > extern const unsigned char pcie_link_speed[]; > extern bool pci_early_dump; > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்