Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4179941ioo; Wed, 25 May 2022 17:32:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFPTBztgcOdPLG9XyfNSqyc1wHHaTwNkq7CX1LXmQlqx55jEJttJ/BidQCnD5hpMokAR2X X-Received: by 2002:a17:906:7252:b0:6fe:9163:a4f5 with SMTP id n18-20020a170906725200b006fe9163a4f5mr31022652ejk.562.1653525160534; Wed, 25 May 2022 17:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653525160; cv=none; d=google.com; s=arc-20160816; b=YUVA1QYEuwXtIQouxRkkco9HwaF632+nFrf3J7n0JBfPGElQrU207C5vi/555vVxLS CcLH6ufZ1EmBba0EFAyr3KpCr9MRZs/Z5UdCoRTkP018UBTKr9vDaB+/ZOM2dTMtVnAj ua+5w2hnCTAJaq0ejkoO5kjr/7yM0voApVv0q6i/m2EZckuCz4kHvj9wadkVhYT8x/jL JB2UsITV1e9znJ686wBEIzdTRgYqdbJU/Z1XZgx3ggjWvr+STlI52EYNjtVlTvYnqk37 nS62+IG26oaQ4wqK6U0d6YbILW1skK+Gxx7Xmt+FoQuXxGSFXWqRZEORssUxg/zkI8se u2gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=e6VPETmeyZX5JOF6lrU6bxZMJd0n0GPwABfSqTucdjs=; b=aogVQ9hDSHlyeeYeNBlbLqOeAiYkFzS38odyz9SdetkehjU7nNAg+q6E59xNPOwIKu /AlQQGVfd+92Zmpi08huhOwVoMfaJl9vU0M3fpMhqR5b/uXLskxBWHntr7R9uHuUwfX9 g+kAhL5NA/uAYwVfLnxVWutZ76Q9wJZXIHnfpqRVrXiy3yL/CV9slF+nUEQBp1l3cAZ7 sv3Tcs5cIUkkd3KchTgIUU4WyJfGYxMDDYg8eUe3J04FUJnCN+grsj4NL9efO21oMlOn Ex7FoDHb1O2K8aOxE4Nh2Rk3GcSlfgunsAdxTvdX9FZOr+O8lTu6gZs0WW/+D8mGHNSK ySvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=bZjveAEa; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a170906304d00b006f4a9f015b8si144147ejd.39.2022.05.25.17.32.13; Wed, 25 May 2022 17:32:40 -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=@google.com header.s=20210112 header.b=bZjveAEa; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240055AbiEXRrb (ORCPT + 99 others); Tue, 24 May 2022 13:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240059AbiEXRr1 (ORCPT ); Tue, 24 May 2022 13:47:27 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A69FC5D668 for ; Tue, 24 May 2022 10:47:26 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-3003cb4e064so17259277b3.3 for ; Tue, 24 May 2022 10:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=e6VPETmeyZX5JOF6lrU6bxZMJd0n0GPwABfSqTucdjs=; b=bZjveAEaUMpvjHfz1Cch8bK+pwqo5wReSl7Ni1ySDkX7vgB+ELyVHAsXpIXDy/NzwQ F/baQeyilKuLVyVSZ3e3AFkWzCGjLP/qgdKtUY8I6Yt9r3cYFnDW2ohFYoNsEKr6MYS5 lTj9Ai76LjkVrc+uNTqmiubbz+0pmokn7RIRVfhrsz/Hy9byfa+AQQHsnVEgdDlwIs+L /MVtlD/qzhhotKGBMHeGk5luHST+bgqa6sQdqklFRiQXgo7W6TChKNkAQk57YkYZePEG mNoW/y/qBqR0twFm26Kyrx/dG4oRQ86aObRbtuGaU8bvLjKWJQHgSKYtBQFQLNzrfScW bbcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=e6VPETmeyZX5JOF6lrU6bxZMJd0n0GPwABfSqTucdjs=; b=4q8nGeTcGwIAvAvmdh/aObYuNG5zas+AjT71YzAUif5P51Efto4fPPWwgePCOhbUse ErDPbrgrCSzBilXarwB5vZpYBLJTlR4qXtidWoNontIPFLZjPcMAps6D+z2SXzCqm9cs ojE+XZFeh2EtBVWl+V6jDpUHiOqZusjywV1BQRwOtOtZ9o3nF8tX85OLf0BeJxPEINQM GW1ywdQfiy7c/ntzV3RFm6KfGl7xMFzqgfl/TJzTNoYCb1Q4Q/CgGYiIQaVrm/nsWutQ Pqz8q/W9UVw89rVv3fZGVOxaMQcKw539BU/FN8dMBzPLtum1xXe9uMSu+Vj7mtW0qytc tIlQ== X-Gm-Message-State: AOAM531/7yydttzSMxDR4z+k4rpkEsH7VZhKZdsSglpBNbqO47kreSKW z9o+Sn5+O1t+a3R524yDEHQ/UnctrC5e4T6FRcfPug== X-Received: by 2002:a0d:e903:0:b0:2ff:43a3:90c8 with SMTP id s3-20020a0de903000000b002ff43a390c8mr29118839ywe.455.1653414445758; Tue, 24 May 2022 10:47:25 -0700 (PDT) MIME-Version: 1.0 References: <20220429220933.1350374-1-saravanak@google.com> In-Reply-To: From: Saravana Kannan Date: Tue, 24 May 2022 10:46:49 -0700 Message-ID: Subject: Re: [PATCH v1] driver core: Extend deferred probe timeout on driver registration To: Sebastian Andrzej Siewior Cc: Nathan Chancellor , Jonathan Corbet , Greg Kroah-Hartman , "Rafael J. Wysocki" , "Rafael J. Wysocki" , Rob Herring , Linus Walleij , Will Deacon , Ulf Hansson , Kevin Hilman , Thierry Reding , Mark Brown , 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, linux-s390@vger.kernel.org, John Stultz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Tue, May 24, 2022 at 9:41 AM Sebastian Andrzej Siewior wrote: > > On 2022-05-23 20:43:06 [-0700], Saravana Kannan wrote: > =E2=80=A6 > > Thanks for all the help. I think I know what's going on. > > I, too got here because my boot recently was extended by 10 seconds and > bisected to that commit in question. > > > If you revert the following commit, then you'll see that your device > > no longer hangs with my changes. > > 35a672363ab3 driver core: Ensure wait_for_device_probe() waits until > > the deferred_probe_timeout fires > > Removing probe_timeout_waitqueue (as suggested) or setting the timeout > to 0 avoids the delay. In your case, I think it might be working as intended? Curious, what was the call stack in your case where it was blocked? -Saravana