Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36378989rwd; Mon, 10 Jul 2023 23:34:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+wwVTp3Bfjt08jofHQwguU0bzxnfoYSj+F/hlBiXebD5ZT8J1E/IrNDT1TwebA5kBuv+k X-Received: by 2002:a17:906:74d0:b0:987:6960:36c8 with SMTP id z16-20020a17090674d000b00987696036c8mr15575177ejl.7.1689057277965; Mon, 10 Jul 2023 23:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689057277; cv=none; d=google.com; s=arc-20160816; b=IgoB4YTlUpI8CBdAkR3rA2UhCWq3QvTVORGMtA2qjyl5wFMqomcSprFWNuejOFLmhb DtC4bFAm6L9Wu7qbMo80mQ/JMKT3b+Gn1TkkKFJ/U9iLDSr6eF6yAUJ7lSzqlYlzATZi 8pzXu6hysP+k4e4IxaJpquFWbVBBdGT4slwfWGJAuTHfx+b35yI69jt9x8isK2kgd7OR fJKN3aGRf5nYgPjXrsIPuItrHdqkF2qrJJbMCj3T6q23T4kPeby7yY1GwN5jwOQzH7Be QgJQGzkRbykSaFzThos7F+gkd/FLgAPVTySq29Ic8qDoAPLFUCp0LigF6lJjmn6cq878 l/2w== 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 :content-language:references:to:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=sRk4a0Olo7w6uKJ2VgPRT1BGt4wDfKLVnOht3tbdLjQ=; fh=kJL/fZkAZ/V9+C0Z9HlnCIOUaA9/P39arMmtVSQvA+8=; b=hNmy6FlVL1lR0Dkquz6t5TYtYvXT//F9u8gSVqSkIJpnF2tSjqC1KJes7e9OOgqmlG HVFlcTnJfGnYJFgprqDKXOtSP7M8qvTL4nUFTAxNb9RJO9bjMZXjvhaHCcJrLWMT29Tz P5R12EPoXUBu/bbNwW7QtMlIYpHOQXxxS0ohK8QZGYjgyVIzCMLdLXcklUQkmJ+AbSmQ ylnCRvSlLepUsLBrrHjZAM58eRLPXXd/Xua+8QKHxBtrMEMjqD9JqeU3OzCnRXwyS67y WYi2FjmKIY+FT5mADCcrnzYH7wuPE1QPlKmJW+D5v28MFxj9SGrH+/OLa2gQe4BAw9ef U4+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZuvfgS9p; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s22-20020a1709064d9600b00993211b85acsi1226675eju.216.2023.07.10.23.34.12; Mon, 10 Jul 2023 23:34:37 -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=@ti.com header.s=ti-com-17Q1 header.b=ZuvfgS9p; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231322AbjGKGQ3 (ORCPT + 99 others); Tue, 11 Jul 2023 02:16:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229947AbjGKGQ1 (ORCPT ); Tue, 11 Jul 2023 02:16:27 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5EE7E5; Mon, 10 Jul 2023 23:16:26 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36B6G6Ln054514; Tue, 11 Jul 2023 01:16:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689056166; bh=sRk4a0Olo7w6uKJ2VgPRT1BGt4wDfKLVnOht3tbdLjQ=; h=Date:Subject:To:References:From:In-Reply-To; b=ZuvfgS9pWGXUjxFwgGk7y6qW6PJGEjN+6ThWM0H5gdAu5Y1rbEbtAwM+kADerPPN1 AGSCpnwiAs/LJ16DcCvIJhoAe2rmczETbIhV1LrT0x0P0R+cFqouC0elcMH8pIFWJm qScRq+MYz3lnMDyczV8tBHt6PqhhiDdWliQFhfMU= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36B6G6ob027188 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Jul 2023 01:16:06 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 11 Jul 2023 01:16:06 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 11 Jul 2023 01:16:05 -0500 Received: from [172.24.19.15] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36B6G2DQ008888; Tue, 11 Jul 2023 01:16:02 -0500 Message-ID: Date: Tue, 11 Jul 2023 11:46:01 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 1/2] PCI: j721e: Allow async probe To: Li Chen , Vignesh Raghavendra , Tom Joseph , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Rob Herring , Bjorn Helgaas , linux-omap , linux-pci , linux-arm-kernel , linux-kernel References: <1892e291fa4.1219137911620526.2248312811348305435@linux.beauty> Content-Language: en-US From: "Verma, Achal" In-Reply-To: <1892e291fa4.1219137911620526.2248312811348305435@linux.beauty> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,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 7/7/2023 7:53 AM, Li Chen wrote: > From: Li Chen > > 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. > > Enabling async probe can eliminate this boot time increase. > > I guess j721e also has this issue. I have tested this along with: https://lore.kernel.org /all/1892e2ae15f.f7e5dc061620757.4339091752690983066@linux.beauty/ But I couldn't find second patch in this series. > > Signed-off-by: Li Chen Tested-by: Achal Verma > --- > drivers/pci/controller/cadence/pci-j721e.c | 1 + > 1 file changed, 1 insertion(+) > > 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 = { > .name = "j721e-pcie", > .of_match_table = of_j721e_pcie_match, > .suppress_bind_attrs = true, > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > }, > }; > builtin_platform_driver(j721e_pcie_driver);