Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5860587ioo; Wed, 1 Jun 2022 14:19:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyk1L6sedXzie2Z9Q2sUifRu0Jh06wxTdJWJeAjRRRT5L3+9ZSkzOG4tJpF4KLhfWH5Qvn X-Received: by 2002:a17:903:241:b0:15c:ee52:cbf2 with SMTP id j1-20020a170903024100b0015cee52cbf2mr1398394plh.10.1654118349687; Wed, 01 Jun 2022 14:19:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654118349; cv=none; d=google.com; s=arc-20160816; b=mETb6v7aicwqxXVdhyg47qxZRIAO/dHkAkXsBTjUVOdBPMVlAcxkpRPRrVPUYFARBr WBxny2WqZ6OlgPyfhkFchKr41I4j5sNIfzrEBql27YDqpPRf1oQMXUyB0EBZDPhnRXNW qpCSModSV584I8U2PwJj9dQhb3ZbQIrx8KETAx+vCLt++AiAeuOuKzC+K4KOAqvXSiHs AaT7xf6NhoGxohbIRas25VqTvm5vJM2ZcQwa+TI+k5thXIUm2NwVzty+Bk19KqmUlaMy 3Rmp6DdnmeWcHjkWWC4KCOoCoWoVWCCt6rGDiz5aV9rP67ItlaumQQ1+yFohDo6+wSXn vVbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=eS/2TM+GfDlfIh94cuHfgXIohxcqeVLl/51vayxOGcM=; b=SH6gVPXgI9OMVL138V+wDIGofmrxPpDXu5y7JkWGpKPMdipDn45DL44hVMN9LbPvB9 gp+p8VYVRGVlWQl8v7tCmPZvhu6PCSMiKL1MtCYLQAceDCBUsf3ZpPk+1PD5CPTOIeBU MwDKf5fleqplWLYNIL36J4L+w0h2UX8C/eNjDASHDjpKhKAFTGRHo73blGKtLuqPzxPZ pST5+fZEaKZvieJ5CCymJ4H2OIt+zqYxY+i0dU+dNYtAKNGHRQmotqlikOYsr3rB4d6v cbb5cKy5/GfV4qtiwBxBbG6+3I0G/UaVfwBFLuqMlL4e+GowzkOdQDao/zxX8RsLDE1H rbBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=nEbS5SUQ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h12-20020a170902f70c00b00161f3701ecdsi3844595plo.389.2022.06.01.14.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:19:09 -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=@google.com header.s=20210112 header.b=nEbS5SUQ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7675E2EABD8; Wed, 1 Jun 2022 13:09:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350129AbiFAHIG (ORCPT + 99 others); Wed, 1 Jun 2022 03:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350114AbiFAHHk (ORCPT ); Wed, 1 Jun 2022 03:07:40 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03F778CCD1 for ; Wed, 1 Jun 2022 00:07:29 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id b11-20020a5b008b000000b00624ea481d55so705892ybp.19 for ; Wed, 01 Jun 2022 00:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=eS/2TM+GfDlfIh94cuHfgXIohxcqeVLl/51vayxOGcM=; b=nEbS5SUQKPV2uEuRcyqOCeYxkIcVm6QtbRuafH1IWgffM/UiSk4n7jieCoUxjX9Oaq WdF2MZAjtTV+A+oRtPcrP2vyYILJP7A+Sg3USDA4WMYh1mFqe4FUjmEsa0guT0E1V4tj CRvpIOw9ggRCgKvj+BCr2MskAML9dPYYf+XO0/d9/Xj9Uc/+LTk7YMR8wiug+nW8uluL vowkrv4PAa7gy873wiXvd7t6in/QuT1Qpd5KLLyCXllUZoQDqvWM1KUKzksMRYWJwumF +1QzKxLzBi0hg9GJrGLwC8SMCfssBQpKzUmvRevuplmTStk4Ali/UF0v2Vw1hH1Gn3Yl JBDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=eS/2TM+GfDlfIh94cuHfgXIohxcqeVLl/51vayxOGcM=; b=ZugfhNPIZHR2my0KBMejEMVP3qkqwK0XAULaqxnlMewTnIKGrhvtKb2N6iTVIuARYD qUUIzTECWFNGy3ukMDoSpt8s09ugL/VjNGrhWfr8dVd7T7yvfUTjRacg753xewqXe2by s2ef/rA5hc26+kdBTPlWN3sH4CkXkA4E4dMZKEfPluInPj11quLkl5usgYdUY4u0mKkZ lufpim1ITsuEFkIXKx/WRW5kHRJyW/NocH50SZzPyGsrIDP4vJ4PgH+jLyJyKJ2RPBRS SORtOciE0tquNtc//QmpGLIE1Y2h/uMKW/pQfZuGQ2DWFD4rwfTWREXbQEDZRUP7m4ob 8PHA== X-Gm-Message-State: AOAM530lteJiJHST6hYn5Nyh3o6q5WXt0ZrUO6asJK6UKO8OnbcHYsFU VedbCYfZWBYi94HZ3CGcI2R4E2J3aEm6UBg= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:f3aa:cafe:c20a:e136]) (user=saravanak job=sendgmr) by 2002:a81:ac67:0:b0:30c:4692:77fd with SMTP id z39-20020a81ac67000000b0030c469277fdmr16106442ywj.180.1654067249191; Wed, 01 Jun 2022 00:07:29 -0700 (PDT) Date: Wed, 1 Jun 2022 00:07:02 -0700 In-Reply-To: <20220601070707.3946847-1-saravanak@google.com> Message-Id: <20220601070707.3946847-7-saravanak@google.com> Mime-Version: 1.0 References: <20220601070707.3946847-1-saravanak@google.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog Subject: [PATCH v2 6/9] Revert "driver core: Set default deferred_probe_timeout back to 0." From: Saravana Kannan To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Len Brown , Pavel Machek , Joerg Roedel , Will Deacon , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Linus Walleij , Hideaki YOSHIFUJI , David Ahern Cc: Saravana Kannan , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no 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 This reverts commit 11f7e7ef553b6b93ac1aa74a3c2011b9cc8aeb61. Let's take another shot at getting deferred_probe_timeout=10 to work. Signed-off-by: Saravana Kannan --- drivers/base/dd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 4a55fbb7e0da..335e71d3a618 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -256,7 +256,12 @@ static int deferred_devs_show(struct seq_file *s, void *data) } DEFINE_SHOW_ATTRIBUTE(deferred_devs); +#ifdef CONFIG_MODULES +int driver_deferred_probe_timeout = 10; +#else int driver_deferred_probe_timeout; +#endif + EXPORT_SYMBOL_GPL(driver_deferred_probe_timeout); static int __init deferred_probe_timeout_setup(char *str) -- 2.36.1.255.ge46751e96f-goog