Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3276677ioo; Tue, 24 May 2022 18:33:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHyZuJo2B5c9H+Q5GE9ymUf25ADgsYY2M6W4DLFOgAyZ6A90QuqFd95s5va3KP/N8+Wydb X-Received: by 2002:a17:902:e193:b0:161:e848:ad57 with SMTP id y19-20020a170902e19300b00161e848ad57mr25201606pla.167.1653442433743; Tue, 24 May 2022 18:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653442433; cv=none; d=google.com; s=arc-20160816; b=qrv6dWl/R0AJUTm9kOpLvSvEKautaoLFpY4cU1eS8Lz6aIxAwRwE4LsyRVSL/aXOKW pYG2/OGGDRZsEswwda8tLLCta5RH3XB7wS1IRsHilTiZ+kQqlkGndbnN7xMxo5Mz6N22 6+wQaDC48N4J7muVRIasmygA1D6hwqPBeylyOhi/fogAnsPNk7Iml+Umh42OzlO4YsTq P65kRlBsX4Ro82g9b3SzHIBDlGerZeEKYSPUs9o0TNikv06hIziIeOG3j1DOQuO1ODlJ oG4sqAgsfwgPdi6qrXukwh4MjkaKWGRnDb/DbBLQS9XCANquuzheEal3oktxTo3vNh6B A4Iw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=YK2eEOx7qW4qJHtFCm6AqFTk2cYYBK5VN6M5h7/LPJY=; b=Q6cl8zrCVYVTtF1oJVuYyroZBFkbbqE28+38tQt4n0ilC7gUGDDda0RYA35xDc4eb6 XRH82n0dvy6nl3YA6pTzTqydUAOpP04xgG4HAUAAJ3PA2Ey9i0A7i3z8wcdWVL7g4B+a QsKnZmiI9hsOOmo/ctxAIfMOY2dNacBNhNJycM3CTvmTytifgMusztVwPT9orO29qfpj sQFIhkus3ahrKUbAmyC2yxsIi7Y24JawY8YQldu8V4rUmeg3j8gbNlNpCvBZvDFBU7tk yBUqSwDt2T+aXOf1uMBjGBAcEljGPSTscetfAmwJBFsc2iyeB45KeSoC/3nztJ7imEPV vDWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=RpxUjmeX; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a170902d2d000b00153b2d1645bsi16562164plc.99.2022.05.24.18.33.39; Tue, 24 May 2022 18:33:53 -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=@linutronix.de header.s=2020 header.b=RpxUjmeX; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239617AbiEXQl6 (ORCPT + 99 others); Tue, 24 May 2022 12:41:58 -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: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, 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 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