From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A74D5C433FE for ; Tue, 24 May 2022 16:41:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238981AbiEXQl4 (ORCPT ); Tue, 24 May 2022 12:41:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239552AbiEXQlx (ORCPT ); Tue, 24 May 2022 12:41:53 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56629369E3; Tue, 24 May 2022 09:41:51 -0700 (PDT) Date: Tue, 24 May 2022 18:41:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1653410507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YK2eEOx7qW4qJHtFCm6AqFTk2cYYBK5VN6M5h7/LPJY=; b=RpxUjmeXaoO/cBMYYtR+W0dgahHZXn+pWhavM1CLX7ZfQbTpfWIlyVxXP2YkVVmh2rwFni oLUkOWEklbTTdrrQ7EBqMg9VljxqAkk2RMpDM3IceQGLMwRX/iWplU9ypzMYYcF6rIsNq5 gEQ4o1/jjw0KCo+cUaPASqE1n/pDEduI0UjFZDyXV0oSZG/MAsghi4jn0Q2Rgd5KSWzxGx bQvfZfriHlwfgaQV7kIhJvTA4aJo6Sat/396ZLjHmqW288KyLlFNIavuowjRfXYfA7qDR7 byhLkWlIiN/whQv1P/8pn5vO4+sDy2ImQNzEoKhEtwkvfwviQyVSr29nT72Agg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1653410507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YK2eEOx7qW4qJHtFCm6AqFTk2cYYBK5VN6M5h7/LPJY=; b=/mpKm9K+KmM77y1Sv2U9sqow5FiO6MRm6Pw38G0V5vb80cMf3MtUbFzjWo6JzMqnXUz52M Ak5KSCUA8QKj4tCw== From: Sebastian Andrzej Siewior To: Saravana Kannan 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 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: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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. > -Saravana Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C04CC433F5 for ; Tue, 24 May 2022 16:41:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3614182D96; Tue, 24 May 2022 16:41:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oNjP6rIkV_0h; Tue, 24 May 2022 16:41:54 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2E7E3832D0; Tue, 24 May 2022 16:41:54 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 03D76C0032; Tue, 24 May 2022 16:41:54 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id A144BC002D for ; Tue, 24 May 2022 16:41:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7F31C82D96 for ; Tue, 24 May 2022 16:41:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qot7rmhMDzJQ for ; Tue, 24 May 2022 16:41:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by smtp1.osuosl.org (Postfix) with ESMTPS id E5616832D0 for ; Tue, 24 May 2022 16:41:50 +0000 (UTC) Date: Tue, 24 May 2022 18:41:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1653410507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YK2eEOx7qW4qJHtFCm6AqFTk2cYYBK5VN6M5h7/LPJY=; b=RpxUjmeXaoO/cBMYYtR+W0dgahHZXn+pWhavM1CLX7ZfQbTpfWIlyVxXP2YkVVmh2rwFni oLUkOWEklbTTdrrQ7EBqMg9VljxqAkk2RMpDM3IceQGLMwRX/iWplU9ypzMYYcF6rIsNq5 gEQ4o1/jjw0KCo+cUaPASqE1n/pDEduI0UjFZDyXV0oSZG/MAsghi4jn0Q2Rgd5KSWzxGx bQvfZfriHlwfgaQV7kIhJvTA4aJo6Sat/396ZLjHmqW288KyLlFNIavuowjRfXYfA7qDR7 byhLkWlIiN/whQv1P/8pn5vO4+sDy2ImQNzEoKhEtwkvfwviQyVSr29nT72Agg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1653410507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YK2eEOx7qW4qJHtFCm6AqFTk2cYYBK5VN6M5h7/LPJY=; b=/mpKm9K+KmM77y1Sv2U9sqow5FiO6MRm6Pw38G0V5vb80cMf3MtUbFzjWo6JzMqnXUz52M Ak5KSCUA8QKj4tCw== From: Sebastian Andrzej Siewior To: Saravana Kannan 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-Disposition: inline In-Reply-To: Cc: Ulf Hansson , linux-doc@vger.kernel.org, Linus Walleij , John Stultz , Pavel Machek , linux-s390@vger.kernel.org, Will Deacon , Rob Herring , Jonathan Corbet , "Rafael J. Wysocki" , Geert Uytterhoeven , Thierry Reding , kernel-team@android.com, linux-pm@vger.kernel.org, Nathan Chancellor , linux-gpio@vger.kernel.org, Mark Brown , Greg Kroah-Hartman , Kevin Hilman , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Paul Kocialkowski , iommu@lists.linux-foundation.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" T24gMjAyMi0wNS0yMyAyMDo0MzowNiBbLTA3MDBdLCBTYXJhdmFuYSBLYW5uYW4gd3JvdGU6CuKA pgo+IFRoYW5rcyBmb3IgYWxsIHRoZSBoZWxwLiBJIHRoaW5rIEkga25vdyB3aGF0J3MgZ29pbmcg b24uCgpJLCB0b28gZ290IGhlcmUgYmVjYXVzZSBteSBib290IHJlY2VudGx5IHdhcyBleHRlbmRl ZCBieSAxMCBzZWNvbmRzIGFuZApiaXNlY3RlZCB0byB0aGF0IGNvbW1pdCBpbiBxdWVzdGlvbi4K Cj4gSWYgeW91IHJldmVydCB0aGUgZm9sbG93aW5nIGNvbW1pdCwgdGhlbiB5b3UnbGwgc2VlIHRo YXQgeW91ciBkZXZpY2UKPiBubyBsb25nZXIgaGFuZ3Mgd2l0aCBteSBjaGFuZ2VzLgo+IDM1YTY3 MjM2M2FiMyBkcml2ZXIgY29yZTogRW5zdXJlIHdhaXRfZm9yX2RldmljZV9wcm9iZSgpIHdhaXRz IHVudGlsCj4gdGhlIGRlZmVycmVkX3Byb2JlX3RpbWVvdXQgZmlyZXMKClJlbW92aW5nIHByb2Jl X3RpbWVvdXRfd2FpdHF1ZXVlIChhcyBzdWdnZXN0ZWQpIG9yIHNldHRpbmcgdGhlIHRpbWVvdXQK dG8gMCBhdm9pZHMgdGhlIGRlbGF5LgoKPiAtU2FyYXZhbmEKClNlYmFzdGlhbgpfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwppb21tdSBtYWlsaW5nIGxpc3QK aW9tbXVAbGlzdHMubGludXgtZm91bmRhdGlvbi5vcmcKaHR0cHM6Ly9saXN0cy5saW51eGZvdW5k YXRpb24ub3JnL21haWxtYW4vbGlzdGluZm8vaW9tbXU=