Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4668849rwd; Sun, 11 Jun 2023 12:21:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Bby/2sptK+Dg7DoPiMyo/jlv+YP7Y5mXmTR4mxf6CukyPgBenqI5ekp8lyDA0GQQwzmza X-Received: by 2002:a17:902:f7d1:b0:1a2:6257:36b9 with SMTP id h17-20020a170902f7d100b001a2625736b9mr4664391plw.31.1686511295721; Sun, 11 Jun 2023 12:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686511295; cv=none; d=google.com; s=arc-20160816; b=VUks0izfgJKkRjcCqaaIiuPr85IsT7P2Ul522aTJG/XRrKQ7lMjYmbq8MaIx0oNIa/ LKwJ/inl7BxvPtMW3H2bMqSeOJFZ7DcRvgWtSeDucjR83+HKtTXpGN0QUheX/I+coRqf Ct1+obMiB4vBdV9nKUQBYvanX804xRmtERY2EmkeWPQrkj02Sz5RVkkmEJ91qmKZ6ROJ EIw/HhcnO9390sBNN6EyN2Mz48f5+YIp5VMARfeJ7eFjyXa00raBOQvJmtGQb2hKlb5p xFReOeXoK7R0NQuffyP4FGKvIeWwd6mhJq5IKWAtfSIhEiTw28Umy9FKJtiUFdZzmEKa z8Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rDVPfhGEyYaKZ/wYe36O1O/Fvo/RdUNSXrMV08kwDqo=; b=FhmeeHQnBvRyDg6gJURuoUUPPXFMKYZQukgpD8YDX1LPLQY1sz8EpDbMI5DkQCWwrK bF5hLK8mGadMhGBoJKmwwdQE0ooCKlOjCBG3b0JfHGqnCDgUHedQ5+XSKFYUfFq4hhS8 3vGW4TEChI/ndZ0E2Ew2x1wGSFNBJ8/Rru3jEPvlnNsiWHNEuAY9yNlGgzWPDK6a2PT2 C8uD1EpXheVHoheqTzMsKn6EEeKp08pp/QJ48wlGXk7nqpPi/Lu0VLAztMHTUzaGC4ZG 4LOVFYpiVJHeyKNVt2qzYGOqWyYWFwcQDzCw2HFEFXhZWHaSCUXUVWr3GYBFyecHrbVh XymA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=VhgfamBF; 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=baikalelectronics.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o9-20020a170902d4c900b001a63d8efabasi629910plg.445.2023.06.11.12.21.23; Sun, 11 Jun 2023 12:21:35 -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=@baikalelectronics.ru header.s=post header.b=VhgfamBF; 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=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233526AbjFKTU2 (ORCPT + 99 others); Sun, 11 Jun 2023 15:20:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232933AbjFKTUN (ORCPT ); Sun, 11 Jun 2023 15:20:13 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A3259E52; Sun, 11 Jun 2023 12:20:10 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id C01C7E0E6E; Sun, 11 Jun 2023 22:20:09 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=post; bh=rDVPfhGEyYaKZ/wYe36O1O/Fvo/RdUNSXrMV08kwDqo=; b=VhgfamBFn/9w NP1sXfFpnaT7mbDoO1VjOaPlQ22LxlPqIxhK690FG19umZQHHRexGk2Cxjrye50H sSKvR+UwaM3edIaSizAKk8MMFtx6do853DfQNqFGYITRq5l6hByH8IApKe3GnueU Gc/QaiTfdrrTx2oom6+jCAD08lJjAls= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 9B398E0DE3; Sun, 11 Jun 2023 22:20:09 +0300 (MSK) Received: from localhost (10.8.30.10) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 11 Jun 2023 22:20:09 +0300 From: Serge Semin To: Bjorn Helgaas , Lorenzo Pieralisi , Jingoo Han , Gustavo Pimentel , Manivannan Sadhasivam , Yoshihiro Shimoda , Rob Herring , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , , Subject: [PATCH RESEND v7 03/11] PCI: bt1: Enable async probe type Date: Sun, 11 Jun 2023 22:19:57 +0300 Message-ID: <20230611192005.25636-4-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230611192005.25636-1-Sergey.Semin@baikalelectronics.ru> References: <20230611192005.25636-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.8.30.10] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 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 --- 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