Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36514119rwd; Tue, 11 Jul 2023 01:54:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlEBq701V90jGmVzm9OurlGnYhGGGxgDnsvbxQhG1g4XyrEKBy1D6AOs93tcsi2o6cXnrkwQ X-Received: by 2002:a17:907:124d:b0:991:d2a8:6588 with SMTP id wc13-20020a170907124d00b00991d2a86588mr15298457ejb.51.1689065666598; Tue, 11 Jul 2023 01:54:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689065666; cv=pass; d=google.com; s=arc-20160816; b=OLSC+ubgffXNiyICqsKhoEcX5IOfBWIT6NEDgPBEqwu+NOmLGNyskIsgTeX3u1SomW Mgmm/XpD/J0Fq0MGGpl+60joSXz7u62gSoHSOlCRXtLlPQPhf6Y26EQZWOJeB/0+G0c4 c9xwwLvsPEImxMI52rnXA5s/0PcReu2cD7WxREB5dfdpPVjUPjnYvOSiCE23P25Ply3X VOW2OqxCM8eVFL54eQKAe91vcWpAQOb0t916K8vjaGrpsC558HwcpOmgjOF9yCsJ+FfN 5dGh0weunAEfw3NJmyeRDLClq8PvCsyWjm6t84FXtcY2Ni1I700EYZ4drNADRB48i/y1 DmQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=27498WPSjMT1LxPrnU8cRaKTNK5njVp4Ji5jHwrXcnE=; fh=GJXj+oFDJFolOLkrOT9YQVe+PD0u8MdhKz9Okc3wKkA=; b=OyjDIauc+tFdh5y54uAFtoQnBVwuA05ZwV2dZSZbJd8zZ4Uoa9fJuLezK1XavP+hnZ HsZhd6lhCRu6r8WtKtpSaMLXroT+dnTE2IFun6/MzoZjE86O7upCyNQtG2TaNdYcH5ta 2EEA9WdxT8sRaJTFz7c80ZwHyYGcYsVRoFBkOr2Dz9q1EBEP7FloxR/MzPCMur0DTt3a RYC9DAN6fpiNMf4CGFhWSQ7uO7zhAXKobQYdiZq0HnTZN0rztgzeesZPCExjjt5GZCPh hJmCd+kXeQ4XOhohXp8tSOCqk4iMU9E0SSUCpSJ9FXTC/n9ZX4IWUm0aWy1xupiKI/QV imdQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.beauty header.s=zmail header.b=enn5OXLl; arc=pass (i=1 spf=pass spfdomain=linux.beauty dkim=pass dkdomain=linux.beauty dmarc=pass fromdomain=linux.beauty>); 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 w16-20020a1709064a1000b0099367e9043dsi1412680eju.870.2023.07.11.01.54.02; Tue, 11 Jul 2023 01:54: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; dkim=pass header.i=@linux.beauty header.s=zmail header.b=enn5OXLl; arc=pass (i=1 spf=pass spfdomain=linux.beauty dkim=pass dkdomain=linux.beauty dmarc=pass fromdomain=linux.beauty>); 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 S230255AbjGKIn6 (ORCPT + 99 others); Tue, 11 Jul 2023 04:43:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjGKIn5 (ORCPT ); Tue, 11 Jul 2023 04:43:57 -0400 Received: from sender4-op-o12.zoho.com (sender4-op-o12.zoho.com [136.143.188.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BB5AD for ; Tue, 11 Jul 2023 01:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689065018; cv=none; d=zohomail.com; s=zohoarc; b=S3cTy0fsLuxO5P+6GpmQtIqvI7lr0Dqi0eY2pKCHqPewx7bymVIhkiQ83Io+iS8nSsHMkZZefkMvfK9KlVZQA190phU6vYT4bfbYZZFwa3QGy1atBo0KAFKitF8qta/Wnmj1lygrv+HnItGXwrfjnyXGfTSxW+FV6FXlTS8RQJE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1689065018; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=27498WPSjMT1LxPrnU8cRaKTNK5njVp4Ji5jHwrXcnE=; b=i4YJZZQX2YKhPLzpaCqtd/VXM/0688Lr352U19TQxJs20/l9jM+UCL6JsIEbknCf5db156NUaR/IaQ6v/j1DuF8Fi7WMaUZhWGFT+CYVZB1p+r4Llcglc1ZaMLZXaK54YizWfsEMCX7wTP+BhGgL5y7QHEuGWRS32v62GCZQL+s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=linux.beauty; spf=pass smtp.mailfrom=me@linux.beauty; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1689065018; s=zmail; d=linux.beauty; i=me@linux.beauty; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=27498WPSjMT1LxPrnU8cRaKTNK5njVp4Ji5jHwrXcnE=; b=enn5OXLldmHjVz3OsfTE6HG8RPulw4xUYK2vzqwXYDsy939W5WXdUQXmBsFKVEkv kKGYdX/4y+nZSqX2h5cDxj+6upZ8EtE/6NXIcZ+wcpwG4y7G+CCyyIiRSFqEREaP0v6 4bhJ+knrvBxYCHuVi2XreLPCgEE9mGwFX0f/h2D8= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1689065018098331.1410899810264; Tue, 11 Jul 2023 01:43:38 -0700 (PDT) Date: Tue, 11 Jul 2023 16:43:38 +0800 From: Li Chen To: "Verma, Achal" Cc: "Vignesh Raghavendra" , "Tom Joseph" , "Lorenzo Pieralisi" , =?UTF-8?Q?=22Krzysztof_Wilczy=C5=84ski=22?= , "Rob Herring" , "Bjorn Helgaas" , "linux-omap" , "linux-pci" , "linux-arm-kernel" , "linux-kernel" Message-ID: <189441ed2ad.124e883f62543235.4120232059297538219@linux.beauty> In-Reply-To: References: <1892e291fa4.1219137911620526.2248312811348305435@linux.beauty> Subject: Re: [PATCH 1/2] PCI: j721e: Allow async probe MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, 11 Jul 2023 14:16:01 +0800 Verma, Achal wrote ---=20 >=20 >=20 > On 7/7/2023 7:53 AM, Li Chen wrote: > > From: Li Chen lchen@ambarella.com> > >=20 > > I observed that on Ambarella SoC, which also utilizes > > the Cadence controller, the boot time increases by 1 > > second when no endpoints (including switch) are connected > > to PCIe. This increase is caused by cdns_pcie_host_wait_for_link. > >=20 > > Enabling async probe can eliminate this boot time increase. > >=20 > > I guess j721e also has this issue. > I have tested this along with: > https://lore.kernel.org=20 > /all/1892e2ae15f.f7e5dc061620757.4339091752690983066@linux.beauty/ >=20 > But I couldn't find second patch in this series. Sorry for my mistake, the second patch is just the link you mentioned(https= ://lore.kernel.org/all/1892e2ae15f.f7e5dc061620757.4339091752690983066@linu= x.beauty/), I accidentally removed its "2/2" prefix. Should I post v2 to fix the subject issue? > >=20 > > Signed-off-by: Li Chen lchen@ambarella.com> > Tested-by: Achal Verma a-verma1@ti.com> > > --- > > drivers/pci/controller/cadence/pci-j721e.c | 1 + > > 1 file changed, 1 insertion(+) > >=20 > > diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/= controller/cadence/pci-j721e.c > > index e70213c9060a..660c13bdb606 100644 > > --- a/drivers/pci/controller/cadence/pci-j721e.c > > +++ b/drivers/pci/controller/cadence/pci-j721e.c > > @@ -561,6 +561,7 @@ static struct platform_driver j721e_pcie_driver = =3D { > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0.name=C2=A0=C2=A0=C2= =A0=C2=A0=3D "j721e-pcie", > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0.of_match_table =3D = of_j721e_pcie_match, > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0.suppress_bind_attrs= =3D true, > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0.probe_type =3D PROBE= _PREFER_ASYNCHRONOUS, > > =C2=A0=C2=A0=C2=A0=C2=A0}, > > }; > > builtin_platform_driver(j721e_pcie_driver); >=20 Regards, Li