Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4558077iog; Wed, 22 Jun 2022 00:53:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vDGwlcKp86FG7+5ekTQKe2rDI+jRDOsNjUFALvKgnZX1+2ge3LTYNnA7IC3WGIHMgsFjFo X-Received: by 2002:a17:90a:e7c7:b0:1ec:99eb:ff3a with SMTP id kb7-20020a17090ae7c700b001ec99ebff3amr19763419pjb.204.1655884408677; Wed, 22 Jun 2022 00:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655884408; cv=none; d=google.com; s=arc-20160816; b=qLjh5NyL3S4+2ipesZDpzEh7/cp7KTCY9i5KpeilqsciGTqK783BXJ96nF4wET25Mx fqcDn2rfM0uyK9XsqXiCwwQlL2LCzWmYTNnJYbQd/pBIZHbnPkxufjT5VB6p5CjuozCr +eaGNUOQYHpGNOsyzbncrTV82Rla5mYc2cKQy+4nQA7FUtO/8875ZE/8VmvwfkRUaBaD exPaIU5BPOJiOCYdT4V4QSGHR1B7iZ2FSqT1AE/Nm2im9AZ4F28m/9ZgTAuu8QkWqnts g8kqPdXJsDwNaJ9bjHwfwzaYhcH8kIo0ThmnYPrxULtl/3glfqzPsslcPWcT1NU10e06 2hLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date; bh=3tiLdJHCxlwrklcewGRz+3RJM7fsLS5suTaS5SKHcmQ=; b=MspDpB9RJNSBM0sJdTrGYjuGpUFkq2twovVS9DGyhSUiTNB2ZeOE0HHZ1vhpzWJLiI 7r9orQTs1hNgFJsKEzA7lqZP6gy9+oW/dXnjbF69LXHwGAhLBEZv+b+iEAfe+VqL3fVT pGtqmzPY88q79W4ReuszQHOn0IEn/6oLQWOyM8ib9SXARJFpdnoh+Hz6tFed4wxVh3gW z8/nXEW3YCu49+7vRUFkwyVNRafV58lRWHiPPg0O+dj7zHOtW4YG1PYO1f9/Yls8B1NT /awkl2rkKJ1KJGcEXrXi+pEWdL97nIv6gvcua2EpihnWpLUsptQ+JrBThG0MzdozYMpz ljrQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h24-20020a17090acf1800b001ec88a283e2si14209820pju.82.2022.06.22.00.53.16; Wed, 22 Jun 2022 00:53:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352044AbiFVHtc (ORCPT + 99 others); Wed, 22 Jun 2022 03:49:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351170AbiFVHtO (ORCPT ); Wed, 22 Jun 2022 03:49:14 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 915B238180 for ; Wed, 22 Jun 2022 00:48:54 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3v5s-0000nJ-UD; Wed, 22 Jun 2022 09:48:08 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1o3v5g-0000yF-8I; Wed, 22 Jun 2022 09:47:56 +0200 Date: Wed, 22 Jun 2022 09:47:56 +0200 To: Saravana Kannan Cc: 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 , 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, kernel@pengutronix.de Subject: Re: [PATCH v2 7/9] driver core: Set fw_devlink.strict=1 by default Message-ID: <20220622074756.GA1647@pengutronix.de> References: <20220601070707.3946847-1-saravanak@google.com> <20220601070707.3946847-8-saravanak@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220601070707.3946847-8-saravanak@google.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) From: Sascha Hauer X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 Wed, Jun 01, 2022 at 12:07:03AM -0700, Saravana Kannan wrote: > Now that deferred_probe_timeout is non-zero by default, fw_devlink will > never permanently block the probing of devices. It'll try its best to > probe the devices in the right order and then finally let devices probe > even if their suppliers don't have any drivers. > > Signed-off-by: Saravana Kannan > --- > drivers/base/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) As mentioned here: https://lore.kernel.org/lkml/20220622062027.994614-1-peng.fan@oss.nxp.com/ This patch has the effect that console UART devices which have "dmas" properties specified in the device tree get deferred for 10 to 20 seconds. This happens on i.MX and likely on other SoCs as well. On i.MX the dma channel is only requested at UART startup time and not at probe time. dma is not used for the console. Nevertheless with this driver probe defers until the dma engine driver is available. It shouldn't go in as-is. Sascha > > diff --git a/drivers/base/core.c b/drivers/base/core.c > index 61fdfe99b348..977b379a495b 100644 > --- a/drivers/base/core.c > +++ b/drivers/base/core.c > @@ -1613,7 +1613,7 @@ static int __init fw_devlink_setup(char *arg) > } > early_param("fw_devlink", fw_devlink_setup); > > -static bool fw_devlink_strict; > +static bool fw_devlink_strict = true; > static int __init fw_devlink_strict_setup(char *arg) > { > return strtobool(arg, &fw_devlink_strict); > -- > 2.36.1.255.ge46751e96f-goog > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |