Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5344186rwl; Tue, 11 Apr 2023 04:13:47 -0700 (PDT) X-Google-Smtp-Source: AKy350YeIeGoKT9wBjg1ol9R7ngV0GwSgIVb5suBd6lp3ZORoyGIGEfdHYzKbptw0M5nPOpIoswI X-Received: by 2002:a05:6402:1382:b0:504:7fdc:2682 with SMTP id b2-20020a056402138200b005047fdc2682mr11515289edv.35.1681211626594; Tue, 11 Apr 2023 04:13:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681211626; cv=none; d=google.com; s=arc-20160816; b=aSu/FLT8pqslw967SFl8qsbNvmiZZbM71bpx0cU/UHHnoRt5oKh5VkES1IaqwWfuu3 6x1bdf9vUVJR4F32Rden1uN5v2Edi5XqMNkRkhQepVIs0O9Oq6TGt42/x8wWDnTZOqWb WJOnbkxOaIWK5ZhtP+ZJL7Zhu5trvD5EyAkwuM7aD7SIlXvuWkTCc2IU8ifxvgBG8r+a NM2+7GGynD/ly+CjJIBW6bZm5dTdmJJrV7Z+AfUJEiVur+clAEe+t8+ZlJMF5ifFsgYh Qqt++OU4q8DChwpBv6H4qpKLBFtvYgSN/hAt8jtZgprfPh9ChqKhzkWVJIcfKwS6c1Wx Fjog== 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=3Henn4DTyZ5csO3RcwwNDZOMw3VH+OflLLeQ1lsdR/Y=; b=xMf0YrojfyZaLiV47cSPigOivVpIWjyDxcQynopymwAUR0KYyZFDMuM5zEmJS9cSav PcWedvCzhmWTrfi/BhEkH6cOuR8Cr6Ty91DuQzzhynrunxWW/x32l0bedyZVDq83WyBR LVFIwqimxdNhR73z7mMb4UE+eq/es6g+0HBgGIAItYDgyFF+iNdjMF8t/K4OeBCjrdUZ Z4SLZ2itJie25VUvdt0KgHO592+0X3hIxypEiZ6wGxuz3HYPC8Y8U9BGg2TZ2ehWNQps 6onqyOKMX3bqp8u8Iua9LAXnvmzqVcPglpaZmiS3Gdcju2LqB4jkqJ9kdt5Ckwbxmn3/ vivg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fv7ALfGP; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be15-20020a0564021a2f00b005048bdaa403si6932293edb.655.2023.04.11.04.13.21; Tue, 11 Apr 2023 04:13:46 -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=@linaro.org header.s=google header.b=Fv7ALfGP; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229792AbjDKLGS (ORCPT + 99 others); Tue, 11 Apr 2023 07:06:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbjDKLGQ (ORCPT ); Tue, 11 Apr 2023 07:06:16 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E626546A3 for ; Tue, 11 Apr 2023 04:05:54 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-24663864a71so356586a91.1 for ; Tue, 11 Apr 2023 04:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681211153; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=3Henn4DTyZ5csO3RcwwNDZOMw3VH+OflLLeQ1lsdR/Y=; b=Fv7ALfGPeofF6viDgC+eYRkrcB2kl2eVyjeLUk2Jul6IgsRYqtnz62FLA9xOn06ppc NnE94DKoSjf/eOuqAWTL68wRHQDPeqzZzlPyXgIH5RAOdAV3jwDokQAuBsyX6sIhBf0A haIEdQQeFbrlo3C9HhYQhQTM9RGSydK3dR52p77s29WeNxG8kz34+U0B/4GVUO8pzYlo BZIClb6Dus2umAMBe7KQm1c6Opyim8o4prfbVtQS04gTcfmG22UlzBv+plXMr12nOCHY ZNrU7MZyOp9X7TNeHnYr9jfVvZ1fYFC0GMRJXKQ8rRGt2tUKGzS1sfutyZQCPJNVEuDY F4tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681211153; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3Henn4DTyZ5csO3RcwwNDZOMw3VH+OflLLeQ1lsdR/Y=; b=fQYbH27iGEGM2enMF+sqWNDUqr/B6mTOb3eLiRcwVTXxvY2wa02fljXWV43VWI5rat qEtrPIle2XwDXW12kX+g5pqm17J1EBUY9+C/p0wCLaLqF0NtGLIDhEckfO+8z7L94kOs aC0B9Xm7DQ2H/NMGlPmwOAKK349u9kahbas/SjvohXb3fW2bYgsZnd8doqcD7TW4ZJxo NnvAZBM7pjDHDAn9Wr1EHP6VZPmYTmURIXxXrg0djWEETHpYieYWwpUn1X2SS2PgI62S DqB1I95zjN/94iOVjrZAsUKKvApi0w4gbUUjJ+t7rO8WJ7uir3BSZ3BcQEPKw861mG4p 9ydA== X-Gm-Message-State: AAQBX9cZl49MlIALJ5cVFp1D1JI+bJBHYUrlHSgOHxNrw1tdK3Gqz5wN wuXUQmFf9+kAQTHPHjUPpoOh X-Received: by 2002:a62:1d8c:0:b0:626:29ed:941f with SMTP id d134-20020a621d8c000000b0062629ed941fmr13651820pfd.5.1681211153473; Tue, 11 Apr 2023 04:05:53 -0700 (PDT) Received: from thinkpad ([117.216.120.128]) by smtp.gmail.com with ESMTPSA id b8-20020aa78708000000b005d72e54a7e1sm4309437pfo.215.2023.04.11.04.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 04:05:53 -0700 (PDT) Date: Tue, 11 Apr 2023 16:35:45 +0530 From: Manivannan Sadhasivam To: Serge Semin Cc: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Yoshihiro Shimoda , Rob Herring , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Serge Semin , Alexey Malahov , Pavel Parkhomenko , linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND v3 03/10] PCI: bt1: Enable async probe type Message-ID: <20230411110545.GE5333@thinkpad> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> <20230411033928.30397-4-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230411033928.30397-4-Sergey.Semin@baikalelectronics.ru> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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, Apr 11, 2023 at 06:39:21AM +0300, Serge Semin wrote: > It's safe to enable the asyncronous probe type since the PCIe peripheral > devices probing order isn't essential for booting the system. Moreover > enabling that feature saves 0.5 seconds of bootup time if no any device > attached to the PCIe root port. It's a significant performance gain seeing > the total bootup time takes about 3 seconds. > > Suggested-by: Manivannan Sadhasivam > Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam - Mani > --- > drivers/pci/controller/dwc/pcie-bt1.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/controller/dwc/pcie-bt1.c b/drivers/pci/controller/dwc/pcie-bt1.c > index 95a723a6fd46..e36a20bf82cf 100644 > --- a/drivers/pci/controller/dwc/pcie-bt1.c > +++ b/drivers/pci/controller/dwc/pcie-bt1.c > @@ -638,6 +638,7 @@ static struct platform_driver bt1_pcie_driver = { > .driver = { > .name = "bt1-pcie", > .of_match_table = bt1_pcie_of_match, > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > }, > }; > module_platform_driver(bt1_pcie_driver); > -- > 2.40.0 > > -- மணிவண்ணன் சதாசிவம்