Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1050274iob; Fri, 13 May 2022 21:07:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEUYPH7179FQh+vR2OXEbTMH8Qc3ZcAQ523eMxoyxQVrepDKoIwroYr0ZNI2xNrGZlEXvg X-Received: by 2002:adf:fb10:0:b0:207:af88:1eb9 with SMTP id c16-20020adffb10000000b00207af881eb9mr6294519wrr.238.1652501246005; Fri, 13 May 2022 21:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652501246; cv=none; d=google.com; s=arc-20160816; b=z5USA73eqx+BPQCTZdD+pGV5X13URslLAgZ8Ccc95j7Ss2EU71XGLSFO0JbPkyCPg2 GSH1EduaCEy0FBfC2CS+02WAhR9uMI0LSgp3WWdXg5vWH8aJezd4pTCPxs9pAyXUDYVw L7iouyAYaNgJR38QKaBAN/DjrsUiVV/ffILTViN8zy8dGKsUx96uj1QrkP+w7B17QUTe JIYjm60LdEELfwfLZsN6W/NqcKRQe0OtdefO8bJtRwgEJHQdM4+DPR+oc9PXOQVM3kXH 91BR9mqjZXg0m6A3/jJ+N2phfqiVu5IKF22pflmPvvQFGJtjddNJbvvaiqmtViF5Jtl0 rwjw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N6Gs27VquaPY/jfyx7p+uW0mYzfGY1yrIjK7gsqoh7Y=; b=sG47cAj45hcZ//Xd/jQOxwqlUr8Hfmns3Nu+6+Ullb6sHmuDd1lfdThsHj0MDPPtAB 1VzqezYXpTTAjzAIHOOSNQiLSmAzM1aXbk8wkc05azUkqwgBkfZn/KJyMIAPHfbTzuB6 3wp8J90GNqiPdvELtG3GlLbS6QUdriRn6Bpl0b6f1MIkBiBau1Nrv966kzGWlc7e5Szt DueJ4wXEnRMW+dv3S2qBbCxlzXJpS33Fh6N5bavcbGmJp1gVaJZqM/BCx/VxV0OMkyUP eAVVrk5xc7nX9Hd+VZGDwj38dagCzit3xstPdE15j2E9layqZpCF7beLV/7Q7IdeRZL/ xHuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aElnBzI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s16-20020a7bc0d0000000b00395b9c02976si3923050wmh.38.2022.05.13.21.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 21:07:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aElnBzI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2F6F24C2EEC; Fri, 13 May 2022 17:39:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380419AbiEMMtI (ORCPT + 99 others); Fri, 13 May 2022 08:49:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359455AbiEMMtC (ORCPT ); Fri, 13 May 2022 08:49:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB4593A703; Fri, 13 May 2022 05:49:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1E2F161F8C; Fri, 13 May 2022 12:49:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66AD9C34100; Fri, 13 May 2022 12:48:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652446139; bh=N6Gs27VquaPY/jfyx7p+uW0mYzfGY1yrIjK7gsqoh7Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aElnBzI2wZCSK/U/Wnscmm/Sf1R+M1wGzU0SZHNmsLcyeDhrq6q7+ygyC0z9PfHR5 N/ajNj3N6eZZfZ+EylMuobL3/Y77JbKMylxyKVAO5DnQMabg8vlXq614hAoTU0zLlP OwxUFo7FINvs9ZH8/v/9RcNsiTStBmfaPbsDNWYzSFyQqCJ8+C/75GEEudBLaGfq4J bnunuVr6Fks8yOQ82W/lBrSSdtVf3jiVDNx4x+cTtr61rJzRf4F5t1QVXaCdkXm3XX ZH1pPSQmTMHTphNJscauUHBAScWkKa5e5mlFYP/mp6JtlmMiYdidrd9ND6ZcmCSi7H WxgHFkTrgee9g== Date: Fri, 13 May 2022 13:48:51 +0100 From: Mark Brown To: Saravana Kannan Cc: Jonathan Corbet , Greg Kroah-Hartman , "Rafael J. Wysocki" , "Rafael J. Wysocki" , Rob Herring , Linus Walleij , Will Deacon , Ulf Hansson , Kevin Hilman , Thierry Reding , Pavel Machek , Geert Uytterhoeven , Yoshihiro Shimoda , Paul Kocialkowski , linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux-foundation.org, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] driver core: Extend deferred probe timeout on driver registration Message-ID: References: <20220429220933.1350374-1-saravanak@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZVbyQANSq1izx04U" Content-Disposition: inline In-Reply-To: <20220429220933.1350374-1-saravanak@google.com> X-Cookie: You have taken yourself too seriously. X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZVbyQANSq1izx04U Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 29, 2022 at 03:09:32PM -0700, Saravana Kannan wrote: > The deferred probe timer that's used for this currently starts at > late_initcall and runs for driver_deferred_probe_timeout seconds. The > assumption being that all available drivers would be loaded and > registered before the timer expires. This means, the > driver_deferred_probe_timeout has to be pretty large for it to cover the > worst case. But if we set the default value for it to cover the worst > case, it would significantly slow down the average case. For this > reason, the default value is set to 0. This makes sense to me. Reviewed-by: Mark Brown --ZVbyQANSq1izx04U Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJ+U7MACgkQJNaLcl1U h9AJrQf+O34uAf+WJTRmMJA0R5+muU/Q3+PYEKAnTQ3EJ1R3EpYCuFYr1FlCDe3g OIg2rZyCYxhlgQ/k1CRFZbdK+R94KNZ5rv47uV1Kt8aC1uY7Rizh+e04jjgYSIOc TVn7quNTCXOPaNwuz95cURa8W7X4GFXDkdppjmpcYeMaaNsOU4z3Pw9drORQTArc Vb8M63Rn2/hazrGdt7xRTUU+/UvyOu3R63NeqkBcvvVo+tLXgOFaRsciYs+xMI6t Lg347Izlc1kBmpHhg5e/tAl5zEj3cZgc6a6gTg69f7i90AnxZw64vwFiv9grHK5S HLh2BNII8I1elceOYfqYDh3c1Apcww== =vDHz -----END PGP SIGNATURE----- --ZVbyQANSq1izx04U--