Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4719725iog; Wed, 22 Jun 2022 04:38:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vLaDjSn3EABRMEfJ191jFaMNlN0gL+k9GhmbCMcyk7/67Yl4pqPcA0p8Cbryjbh5DIXkoP X-Received: by 2002:a17:906:7393:b0:712:57a8:5cc9 with SMTP id f19-20020a170906739300b0071257a85cc9mr2689243ejl.469.1655897926925; Wed, 22 Jun 2022 04:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655897926; cv=none; d=google.com; s=arc-20160816; b=RQ8uWjdCqNHOE8DK01GZ5R6w4raVUQtvEJgGCkXDNLIwPE8gfxXRmVxm0gyIHqqeu4 luzI71u3drCFfLxtCMbhV5ATKZyu4lA0cMpqEP1bDyz9hV/IXI2rmRftrINdOEH92spT clOJzK/GzF4Ijnw0tPFER2znf/BJARR7pNZ9CsYJV/Dg7w2WkloYvxruCFIC3k37KzED VaJArs9iB50hvIqhOPy/iCRZg3AWm2UPUr3N4ZRFyrJuJ6WmC7XnQ3L+NhUNLHYm2ADa JGG3qbAAg9P/SPf3baCD+nIqnsKR2q1c5tTcDhWhFQuuVKWtT5DUGwxMX5fCePLFsDSA ybqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=US1FdDAOCORAoZ5yJaSKGShp4au5F8QE9B7qjj63Rqc=; b=jma8PGHfBeXRf95CzotDWVgbHyqQrWTB7SGnZlactJuysAyyOBJ21AfpP3cyOo3IyJ fdDegOeX8fO676G066+pyHCEbi2OZsndtswM3A/jpLkXzFX1uhKMHyFC2hKDmKCMKhfg IMgifaWcfhG2AX8dAWwY8lm+z6+MzdCcDo502vGx+kmNMevh4y9ALohH4UfhysNl7X5T OH21R0Pf8VCi7vy+mSS9kd0Y814f0R7azGX+/YNC2o1OiT8H5x/fOOv+n7lE/ExzySrp jrW02Q8x1JU85J615Cnh8wSKHdayAHc+en2sH6Z660BL5V7NfAPDpYMsVXA3AM5Q/Fli yblw== 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 r3-20020aa7c143000000b0042afd77852esi1566626edp.371.2022.06.22.04.38.21; Wed, 22 Jun 2022 04:38:46 -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 S1357609AbiFVLVP (ORCPT + 99 others); Wed, 22 Jun 2022 07:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357595AbiFVLUy (ORCPT ); Wed, 22 Jun 2022 07:20:54 -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 780973CFC0 for ; Wed, 22 Jun 2022 04:19:16 -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 1o3yNj-0002pw-5i; Wed, 22 Jun 2022 13:18:47 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1o3yNV-0004vY-2O; Wed, 22 Jun 2022 13:18:33 +0200 Date: Wed, 22 Jun 2022 13:18:33 +0200 From: Sascha Hauer To: Andy Shevchenko Cc: Linus Walleij , Andrew Lunn , Ulf Hansson , "Rafael J. Wysocki" , Eric Dumazet , Pavel Machek , Will Deacon , Saravana Kannan , Kevin Hilman , Joerg Roedel , Russell King , Jakub Kicinski , Paolo Abeni , Android Kernel Team , Len Brown , Linux PM , "open list:GPIO SUBSYSTEM" , Hideaki YOSHIFUJI , Greg Kroah-Hartman , David Ahern , Linux Kernel Mailing List , "list@263.net:IOMMU DRIVERS" , Sascha Hauer , netdev , "David S. Miller" , Heiner Kallweit Subject: Re: [PATCH v2 7/9] driver core: Set fw_devlink.strict=1 by default Message-ID: <20220622111833.GW1615@pengutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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) 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=unavailable 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 22, 2022 at 12:52:02PM +0200, Andy Shevchenko wrote: > On Wed, Jun 22, 2022 at 10:44 AM Linus Walleij wrote: > > On Wed, Jun 22, 2022 at 9:48 AM Sascha Hauer wrote: > > ... > > > > 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. > > > > This affects all machines with the PL011 UART and DMAs specified as > > well. > > > > It would be best if the console subsystem could be treated special and > > not require DMA devlink to be satisfied before probing. > > In 8250 we force disable DMA and PM on kernel consoles, because it's > so-o PITA and has a lot of corner cases we may never chase down. On i.MX this is done as well, but it doesn't help here. The driver is not even probed when the device node contains a "dmas" property. Sascha -- 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 |