Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp731461rdb; Thu, 30 Nov 2023 17:42:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIkZj2NQOeh8gF33BVpQkh6EH9hQj/h8zn1F+dcZfFU7cQY1VMw0AC1JtdTvH5TRw48JQb X-Received: by 2002:a17:902:f54a:b0:1cf:e012:462c with SMTP id h10-20020a170902f54a00b001cfe012462cmr15415723plf.66.1701394933221; Thu, 30 Nov 2023 17:42:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701394933; cv=none; d=google.com; s=arc-20160816; b=Jx2jzpVAH7oyEzOTluZ2pYYkQv26cMPi+X0YL21yLqrb5hDKRtU6vbdS0Z8HvuoC5Y RD4B7iiO55BUgKXarfQ7lTDMyqFqYfRKAIJifDozoeOGbFo2IA/pCufxHeDoUHWSOp+d yFYo/kEiOQxF5sUtokCblZ602WFh+voMFCdQQN+XmtFN2B+NJzfeGrQxLe4vID9oJirJ PkPZdr3I/MjgrC8nB/LufQmk2MUrhl0rn0C45fvzPFzqtMs5gTr/0MZkche94HVyw76N l1CoBaqgrbETlUOXbSWp1mfW0syP9kgI4NKayg8NHu3iPQE1eJO6x/V/7vgAAjHqxJVQ XS8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=qsoLu1Z7XQDL+wd7eSwdZrqcm+iJoIC7o/PFQ7RfXOo=; fh=QCt+vYI9mYxewhTnYy55YIESdbPHPY6vohPEppUOiYM=; b=Xj7rJ3bJC0ASbUQnAx83ZdmEYUHKoCE/tU4rvdgKTgyUr07a38Ul96327AKciAHQ3i RXxPo+T7bsCHlSU71ft4Igy6Zj4ZUZomWkUCQB6NqRtOUkJ2BzTC3tQ5XQAdmOYWq1hQ vBAnfTkLzBb7yTTsXdMJzp+L5OjqJKXjfqJJT/e5YLxHWFjHYCV2yMoKKRx79Km2YPkc FJ186DXbqM7pecRf3XOthI+9XWpEoWwS6eSfSYAYwgkWZXrLkt1lz35mAdZuYPTn5d3m wGHb6lSD2jGvydJDwkfY00d8qPJ82J6me91CidcNegFeUn8K7yfZ7cI/DUYPDE7WwyOI vpTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b17-20020a170902d51100b001cfb84c92fasi879022plg.70.2023.11.30.17.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 17:42:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7377585A0411; Thu, 30 Nov 2023 17:42:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbjLABlr convert rfc822-to-8bit (ORCPT + 99 others); Thu, 30 Nov 2023 20:41:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjLABlp (ORCPT ); Thu, 30 Nov 2023 20:41:45 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57D6810F8; Thu, 30 Nov 2023 17:41:51 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id AEF8624E257; Fri, 1 Dec 2023 09:41:29 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 1 Dec 2023 09:41:29 +0800 Received: from [192.168.125.136] (113.72.145.176) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 1 Dec 2023 09:41:28 +0800 Message-ID: <95ec1fa5-1ab1-439f-96db-0ae2989915ce@starfivetech.com> Date: Fri, 1 Dec 2023 09:41:28 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] PCI: Add PCIE_CONFIG_REQUEST_WAIT_MS waiting time value Content-Language: en-US To: Bjorn Helgaas CC: Bjorn Helgaas , , , , , References: <20231130183504.GA487377@bhelgaas> From: Kevin Xie In-Reply-To: <20231130183504.GA487377@bhelgaas> Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [113.72.145.176] X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 17:42:10 -0800 (PST) On 2023/12/1 2:35, Bjorn Helgaas wrote: > On Thu, Nov 30, 2023 at 06:03:55PM +0800, Kevin Xie wrote: >> On 2023/11/30 7:21, Bjorn Helgaas wrote: >> > On Fri, Nov 24, 2023 at 09:45:08AM +0800, Kevin Xie wrote: >> >> Add the PCIE_CONFIG_REQUEST_WAIT_MS marco to define the minimum waiting >> >> time between sending the first configuration request to the device and >> >> exit from a conventional reset (or after link training completes). >> > >> > s/marco/macro/ >> > >> > List the first event before the second one, i.e., the delay is from >> > exit from reset to the config request. >> >> OK,I will use "from A to B" instead of "between A and B". > > That's not my point. > > My point was you said "between B (config request) and A (exit from > reset)". "A" happens first, so it should be mentioned first. > Got it. >> > I assume there are follow-on patches that actually use this? Can we >> > make this the first patch in a series so we know we don't have an >> > unused macro lying around? >> >> Yes, we will use the marco in the next version of our PCIe controller patches. >> Here is the link of current version patch series: >> https://lore.kernel.org/lkml/20231115114912.71448-20-minda.chen@starfivetech.com/T/#u >> >> Do you mean that I should put this patch back to the above series as >> one of the separate patches? > > Yes, please. Handling them as a group is less overhead and helps > avoid merge issues (if they're all in a series there's no possibility > that the user gets merged before the macro itself). > OK, I will put the patch back with these changes. > Bjorn