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 44802CCA483 for ; Fri, 1 Jul 2022 10:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235907AbiGAKSQ (ORCPT ); Fri, 1 Jul 2022 06:18:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235572AbiGAKSM (ORCPT ); Fri, 1 Jul 2022 06:18:12 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 695E3BC92; Fri, 1 Jul 2022 03:18:11 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id g4so3203786ybg.9; Fri, 01 Jul 2022 03:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=jSDpH5b4ezTXYDkI+Kv1qjoulW4GueRKAo9MfvH6Or74WD1aO19b0yl9X6h7ikpgsb Yzj9/9QR8pvv9s537mQBeUk8bodicRt2sYNtrKP02dXkQyCDQKSj99VRGbrzh5/zLrXe 3DbujuLPciSi5vALJ+old//V6zoLm6pd0LhvBAARG1SXsh/2UP6qVVa/FfV3DuM5if+u lMLgaAYtih653stfzpF6JzV1TgtPEvIAiwFM7x+VFO7m6+ikg5S95jdc8NlSpoxf6NUC chD7vf96GrCNEtWT2dpp9TfC5k1TkiGvGH1SczyJzPL6/3uFcjCYC/RxAKuWF753UD7k NBBQ== 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; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=15An1tGG8nHWbgQ7lfNc8QLkFangfrf5YDaVcKBSZIPQNTJpbJxa1DdQzV2vSVOcbO fh8Ji5/HqmK7yMFs2MeudkwBT0eUgiprBaC/Ipzg3IKpQEC48MbD9m5GtGhAwwOR1S38 voachqulCt9cj6gYIc3OwlRxsv9slparbv2iXH6LnUc2rniEK+YWoy+PXqdP3WyAEj5+ rsQ/igFcd7l6NwGjhR1DuOEwyg6roMp4wpQsnXjvh0N3s3ON1yJTkfgv0SAFFL/ravUl Z2SByPfwCJvXSEO6RW+F0dcU0r8IacIWIiQdBlThXmbvdg+DnfZF1OkBKNG6LPeik1rx XpYQ== X-Gm-Message-State: AJIora9wJdSdxEZ+C6/PPujawAdsPLp91iPchxdMcifaiD5H32SspsC1 NV3zAm6bWrrd7io0QsjyNBjW5xoQDju9soyGUQI= X-Google-Smtp-Source: AGRyM1tvrcPaXjb6qpRZmlm3mN1+HaZ3X5zFt5Vb6BDK08mCBJ8qF4vfcIrvo5gC3LEAhM4YrPgldTFVhwpUgFcS228= X-Received: by 2002:a05:6902:1549:b0:66d:5f76:27ba with SMTP id r9-20020a056902154900b0066d5f7627bamr14092504ybu.385.1656670690515; Fri, 01 Jul 2022 03:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20220701012647.2007122-1-saravanak@google.com> <20220701012647.2007122-3-saravanak@google.com> In-Reply-To: <20220701012647.2007122-3-saravanak@google.com> From: Andy Shevchenko Date: Fri, 1 Jul 2022 12:17:33 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] serial: Set probe_no_timeout for all DT based drivers To: Saravana Kannan Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Tudor , Jiri Slaby , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Joel Stanley , Andrew Jeffery , Nicolas Saenz Julienne , Broadcom internal kernel review list , Florian Fainelli , Ray Jui , Scott Branden , Al Cooper , Andy Shevchenko , Paul Cercueil , Vladimir Zapolskiy , Matthias Brugger , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Tobias Klauser , Russell King , Vineet Gupta , Richard Genoud , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Alexander Shiyan , Baruch Siach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Taichi Sugaya , Takao Orito , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Andy Gross , Bjorn Andersson , Pali Rohar , Andreas Farber , Manivannan Sadhasivam , Krzysztof Kozlowski , Alim Akhtar , Laxman Dewangan , Palmer Dabbelt , Paul Walmsley , Orson Zhai , Baolin Wang , Chunyan Zhang , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , "David S. Miller" , Hammer Hsieh , Peter Korsgaard , Timur Tabi , Michal Simek , Rob Herring , sascha hauer , peng fan , kevin hilman , ulf hansson , len brown , pavel machek , joerg roedel , will deacon , andrew lunn , heiner kallweit , eric dumazet , jakub kicinski , paolo abeni , linus walleij , hideaki yoshifuji , david ahern , Android Kernel Team , Linux Kernel Mailing List , Linux PM , "list@263.net:IOMMU DRIVERS" , netdev , "open list:GPIO SUBSYSTEM" , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , "open list:SERIAL DRIVERS" , linux-arm Mailing List , "moderated list:ARM/ASPEED MACHINE SUPPORT" , linux-rpi-kernel , "open list:BROADCOM NVRAM DRIVER" , "moderated list:ARM/Mediatek SoC support" , linux-tegra , linux-snps-arc@lists.infradead.org, linux-amlogic , linux-arm-msm , linux-actions@lists.infradead.org, linux-unisoc@lists.infradead.org, Linux Samsung SOC , linux-riscv , linux-stm32@st-md-mailman.stormreply.com, Sparc kernel list , Ahmad Fatoum Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On Fri, Jul 1, 2022 at 3:28 AM Saravana Kannan wrote: > > With commit 71066545b48e ("driver core: Set fw_devlink.strict=1 by > default") the probing of TTY consoles could get delayed if they have > optional suppliers that are listed in DT, but those suppliers don't > probe by the time kernel boot finishes. The console devices will probe > eventually after driver_probe_timeout expires. > > However, since consoles are often used for debugging kernel issues, it > does not make sense to delay their probe. So, set the newly added > probe_no_timeout flag for all serial drivers that at DT based. This way, > fw_devlink will know not to delay the probing of the consoles past > kernel boot. Same question, do you think only serial drivers need that? -- With Best Regards, Andy Shevchenko 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 30567C43334 for ; Fri, 1 Jul 2022 10:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gBTA9HJMPbEzgy/cGwo/Wg/5msjjPqNTYmP2t2O51iU=; b=WLn3LFN0hlHKTr BgZLz2xA9kxwg/hHZpJFe6rZka1jOtSyctAbXIHyiHXbxOZd01ITW5cGS2v2ddEG/iB2/COkOLb5q uQnBc8WskSJexJEmvslL7lkT22T5f4ZH8f0Wxjt/L8/Dsu6sHRpdG8rbppK/wJRxwjhxSsOXNkm6y MYVMXofsOdmw0BTv9rSOzBjwdN4NXWorNb1yD7/LAhz/a8L4Oa+5Ee9Gw7d/RkN6XMdp0Nz4KoUV9 ZVjaoLPoABMvrdnD0Pz22ppTGoFsp6cowy4xbNRDqN0i7zebd85X9v7W4aY9L68YtwK89IhWFjUEi 6+EdrXgZ9HKiM3KTWpLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7Dj7-00436n-1a; Fri, 01 Jul 2022 10:18:17 +0000 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7Dj2-004356-Ql; Fri, 01 Jul 2022 10:18:14 +0000 Received: by mail-yb1-xb31.google.com with SMTP id r3so3229330ybr.6; Fri, 01 Jul 2022 03:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=jSDpH5b4ezTXYDkI+Kv1qjoulW4GueRKAo9MfvH6Or74WD1aO19b0yl9X6h7ikpgsb Yzj9/9QR8pvv9s537mQBeUk8bodicRt2sYNtrKP02dXkQyCDQKSj99VRGbrzh5/zLrXe 3DbujuLPciSi5vALJ+old//V6zoLm6pd0LhvBAARG1SXsh/2UP6qVVa/FfV3DuM5if+u lMLgaAYtih653stfzpF6JzV1TgtPEvIAiwFM7x+VFO7m6+ikg5S95jdc8NlSpoxf6NUC chD7vf96GrCNEtWT2dpp9TfC5k1TkiGvGH1SczyJzPL6/3uFcjCYC/RxAKuWF753UD7k NBBQ== 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; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=bKEW8Ry0Dc7JWpcsTzfqOEZXgVD93DyEcOHHsubyywQFfUZ94PG/REMiyCQ1yFPlc1 ayfM0chkW6AIr9cJsCf65QdK7Gx6bgoQqYkqS7TIcnHhAU15zwITAxAgqUKThdLs1A+Y wonqxW0cs1f5vojvbilC4isezZD5wp536hZin0Lw7cLD+7+tp1zUynbdzPEBPpx1Ooyr lil0LPOX4PUc3JRNAcgQzi0r6i9/+YQD2G9MdVguJO/GgctbNCiPbPF7IwnOjfE/t8u2 iKaXmZN5w3gfbiWMUewxWHOCpDGetzs/dkuz1o2lpGiano869IqEsNYly1o5J2I/eUBy m1hw== X-Gm-Message-State: AJIora89JqE6zL3KgHUrUS5nkhzJQEf+MmiTpkt2dH/dd9IfNjyCRe8j of8hqQn5oJ9w5XuycenQ27US2xNEWzhjsrJ/LwI= X-Google-Smtp-Source: AGRyM1tvrcPaXjb6qpRZmlm3mN1+HaZ3X5zFt5Vb6BDK08mCBJ8qF4vfcIrvo5gC3LEAhM4YrPgldTFVhwpUgFcS228= X-Received: by 2002:a05:6902:1549:b0:66d:5f76:27ba with SMTP id r9-20020a056902154900b0066d5f7627bamr14092504ybu.385.1656670690515; Fri, 01 Jul 2022 03:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20220701012647.2007122-1-saravanak@google.com> <20220701012647.2007122-3-saravanak@google.com> In-Reply-To: <20220701012647.2007122-3-saravanak@google.com> From: Andy Shevchenko Date: Fri, 1 Jul 2022 12:17:33 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] serial: Set probe_no_timeout for all DT based drivers To: Saravana Kannan Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Tudor , Jiri Slaby , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Joel Stanley , Andrew Jeffery , Nicolas Saenz Julienne , Broadcom internal kernel review list , Florian Fainelli , Ray Jui , Scott Branden , Al Cooper , Andy Shevchenko , Paul Cercueil , Vladimir Zapolskiy , Matthias Brugger , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Tobias Klauser , Russell King , Vineet Gupta , Richard Genoud , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Alexander Shiyan , Baruch Siach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Taichi Sugaya , Takao Orito , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Andy Gross , Bjorn Andersson , Pali Rohar , Andreas Farber , Manivannan Sadhasivam , Krzysztof Kozlowski , Alim Akhtar , Laxman Dewangan , Palmer Dabbelt , Paul Walmsley , Orson Zhai , Baolin Wang , Chunyan Zhang , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , "David S. Miller" , Hammer Hsieh , Peter Korsgaard , Timur Tabi , Michal Simek , Rob Herring , sascha hauer , peng fan , kevin hilman , ulf hansson , len brown , pavel machek , joerg roedel , will deacon , andrew lunn , heiner kallweit , eric dumazet , jakub kicinski , paolo abeni , linus walleij , hideaki yoshifuji , david ahern , Android Kernel Team , Linux Kernel Mailing List , Linux PM , "list@263.net:IOMMU DRIVERS" , netdev , "open list:GPIO SUBSYSTEM" , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , "open list:SERIAL DRIVERS" , linux-arm Mailing List , "moderated list:ARM/ASPEED MACHINE SUPPORT" , linux-rpi-kernel , "open list:BROADCOM NVRAM DRIVER" , "moderated list:ARM/Mediatek SoC support" , linux-tegra , linux-snps-arc@lists.infradead.org, linux-amlogic , linux-arm-msm , linux-actions@lists.infradead.org, linux-unisoc@lists.infradead.org, Linux Samsung SOC , linux-riscv , linux-stm32@st-md-mailman.stormreply.com, Sparc kernel list , Ahmad Fatoum X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_031812_944217_140ACF2F X-CRM114-Status: GOOD ( 15.23 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org On Fri, Jul 1, 2022 at 3:28 AM Saravana Kannan wrote: > > With commit 71066545b48e ("driver core: Set fw_devlink.strict=1 by > default") the probing of TTY consoles could get delayed if they have > optional suppliers that are listed in DT, but those suppliers don't > probe by the time kernel boot finishes. The console devices will probe > eventually after driver_probe_timeout expires. > > However, since consoles are often used for debugging kernel issues, it > does not make sense to delay their probe. So, set the newly added > probe_no_timeout flag for all serial drivers that at DT based. This way, > fw_devlink will know not to delay the probing of the consoles past > kernel boot. Same question, do you think only serial drivers need that? -- With Best Regards, Andy Shevchenko _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc 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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 90413C433EF for ; Fri, 1 Jul 2022 10:18:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 01E9A4030A; Fri, 1 Jul 2022 10:18:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 01E9A4030A Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jSDpH5b4 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9XCUPKaTY6Sf; Fri, 1 Jul 2022 10:18:13 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 5CE5B402F8; Fri, 1 Jul 2022 10:18:13 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5CE5B402F8 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1B0A4C0032; Fri, 1 Jul 2022 10:18:13 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8EC3AC002D for ; Fri, 1 Jul 2022 10:18:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7767183F0F for ; Fri, 1 Jul 2022 10:18:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7767183F0F Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jSDpH5b4 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 QwR1oUdKtFS5 for ; Fri, 1 Jul 2022 10:18:11 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A43A083EE6 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by smtp1.osuosl.org (Postfix) with ESMTPS id A43A083EE6 for ; Fri, 1 Jul 2022 10:18:11 +0000 (UTC) Received: by mail-yb1-xb31.google.com with SMTP id p7so3220086ybm.7 for ; Fri, 01 Jul 2022 03:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=jSDpH5b4ezTXYDkI+Kv1qjoulW4GueRKAo9MfvH6Or74WD1aO19b0yl9X6h7ikpgsb Yzj9/9QR8pvv9s537mQBeUk8bodicRt2sYNtrKP02dXkQyCDQKSj99VRGbrzh5/zLrXe 3DbujuLPciSi5vALJ+old//V6zoLm6pd0LhvBAARG1SXsh/2UP6qVVa/FfV3DuM5if+u lMLgaAYtih653stfzpF6JzV1TgtPEvIAiwFM7x+VFO7m6+ikg5S95jdc8NlSpoxf6NUC chD7vf96GrCNEtWT2dpp9TfC5k1TkiGvGH1SczyJzPL6/3uFcjCYC/RxAKuWF753UD7k NBBQ== 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; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=VvpsHe3Xhrz6aFV/I9tV8ToPB/9ZiSnimpaCD4hb+BlkdGntBK8XMhQHIqNFKPEFAB +QI/wySetLNiX8nHOLGDy1HWD+NuVPJXeyW+UynVdqHPfqdcCgK9mil/ZckttVPD4xZ8 c6BwNVXlwDi60rgPEh2zuZTH4eiwJ+kyd0OKVc6gCUOxxkBlusQ+WhQc2aNmTUjixnN0 d/uvaEs1gAVUMrLZl6W0GGGSDqgZFsxiJ4aoEHiRStsAzfGGm5grbXR1PfKKS6WL+rjq qwR6KWGkr6AnpwsZYRt3mCL6dU8qRUP9uw10tPP8uIinmDtM1w/MBWLxTwwBkZ3N4ZBf WDGg== X-Gm-Message-State: AJIora+MrJ4DM/BBIjPKJhsqh1ivvAtk8P0SY2+w4ZzRB1xVDMGe/yju nwzBYLMKf39FQJXxIiyBXd2zgSW2/J8iOyaRpY0= X-Google-Smtp-Source: AGRyM1tvrcPaXjb6qpRZmlm3mN1+HaZ3X5zFt5Vb6BDK08mCBJ8qF4vfcIrvo5gC3LEAhM4YrPgldTFVhwpUgFcS228= X-Received: by 2002:a05:6902:1549:b0:66d:5f76:27ba with SMTP id r9-20020a056902154900b0066d5f7627bamr14092504ybu.385.1656670690515; Fri, 01 Jul 2022 03:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20220701012647.2007122-1-saravanak@google.com> <20220701012647.2007122-3-saravanak@google.com> In-Reply-To: <20220701012647.2007122-3-saravanak@google.com> From: Andy Shevchenko Date: Fri, 1 Jul 2022 12:17:33 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] serial: Set probe_no_timeout for all DT based drivers To: Saravana Kannan Cc: andrew lunn , peng fan , "Rafael J. Wysocki" , Benjamin Herrenschmidt , linus walleij , Paul Mackerras , Alim Akhtar , Peter Korsgaard , linux-stm32@st-md-mailman.stormreply.com, Karol Gugala , Jerome Brunet , Linux Samsung SOC , Michael Ellerman , Michal Simek , Hammer Hsieh , NXP Linux Team , Vineet Gupta , len brown , Nicolas Saenz Julienne , Linux PM , Sascha Hauer , linux-unisoc@lists.infradead.org, Scott Branden , Andrew Jeffery , Greg Kroah-Hartman , Linux Kernel Mailing List , Richard Genoud , Masami Hiramatsu , Pengutronix Kernel Team , Claudiu Beznea , Alexandre Belloni , pavel machek , Kunihiko Hayashi , eric dumazet , Thierry Reding , sascha hauer , Chunyan Zhang , Jonathan Hunter , Gabriel Somlo , Tobias Klauser , "open list:BROADCOM NVRAM DRIVER" , Android Kernel Team , Martin Blumenstingl , linux-arm-msm , linux-actions@lists.infradead.org, "open list:GPIO SUBSYSTEM" , linux-rpi-kernel , linux-amlogic , linux-arm Mailing List , Andreas Farber , Maxime Coquelin , Kevin Hilman , Pali Rohar , heiner kallweit , ulf hansson , Neil Armstrong , Lorenzo Pieralisi , Al Cooper , linux-tegra , Jiri Slaby , "moderated list:ARM/ASPEED MACHINE SUPPORT" , Rob Herring , Florian Fainelli , Mateusz Holenko , Alexander Shiyan , kevin hilman , Broadcom internal kernel review list , Joel Stanley , Orson Zhai , paolo abeni , Patrice Chotard , Ray Jui , Vladimir Zapolskiy , linux-snps-arc@lists.infradead.org, Timur Tabi , hideaki yoshifuji , "list@263.net:IOMMU DRIVERS" , Laxman Dewangan , Sudeep Holla , Baolin Wang , Shawn Guo , "David S. Miller" , Baruch Siach , Liviu Dudau , Alexandre Torgue , Paul Cercueil , Sparc kernel list , linux-riscv , Ahmad Fatoum , Russell King , Andy Gross , "open list:SERIAL DRIVERS" , jakub kicinski , will deacon , Manivannan Sadhasivam , "moderated list:ARM/Mediatek SoC support" , Fabio Estevam , Paul Walmsley , Matthias Brugger , Andy Shevchenko , Taichi Sugaya , netdev , david ahern , Nicolas Ferre , Krzysztof Kozlowski , Palmer Dabbelt , Takao Orito , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" 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="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Fri, Jul 1, 2022 at 3:28 AM Saravana Kannan wrote: > > With commit 71066545b48e ("driver core: Set fw_devlink.strict=1 by > default") the probing of TTY consoles could get delayed if they have > optional suppliers that are listed in DT, but those suppliers don't > probe by the time kernel boot finishes. The console devices will probe > eventually after driver_probe_timeout expires. > > However, since consoles are often used for debugging kernel issues, it > does not make sense to delay their probe. So, set the newly added > probe_no_timeout flag for all serial drivers that at DT based. This way, > fw_devlink will know not to delay the probing of the consoles past > kernel boot. Same question, do you think only serial drivers need that? -- With Best Regards, Andy Shevchenko _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E9155C433EF for ; Fri, 1 Jul 2022 15:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DqtSjuc0r4ATq1CjWZO6kHCDtOKzkiF6RVth+VSp/2c=; b=KazYafVUC+yIXm aFFtWiU9IwIjD02i7o8zFTlaUTzMXwN54PbWrN1A3iDwGEKT2H3MBZ2YdlKJuerWmAO3fp+LH6khh YfFu6UXHDdWpjQ6/C4DLTyPZM3OhLo2lXOHs8avigIo1EZ4FmmMFUHt6IbVws2yu1oIfmGPGi9H+K p2IYiDySHG7KHwPeQojW1KNX00AWbo2xbNu8UIpbOEl4v+7AyUJzZAj2mrza0S1e4Hj/Oo+uRzEvd fcVIG8chpLcfmO7UzHHoz40NbQBeVcl1StJVTtQwGmbZgcJMnf5KoZqJwtm5T3MzbR1s9RyHu4yrc tl/mH1/G0P0zdl2CN+2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7ISg-005dZK-9H; Fri, 01 Jul 2022 15:21:38 +0000 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7Dj2-004356-Ql; Fri, 01 Jul 2022 10:18:14 +0000 Received: by mail-yb1-xb31.google.com with SMTP id r3so3229330ybr.6; Fri, 01 Jul 2022 03:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=jSDpH5b4ezTXYDkI+Kv1qjoulW4GueRKAo9MfvH6Or74WD1aO19b0yl9X6h7ikpgsb Yzj9/9QR8pvv9s537mQBeUk8bodicRt2sYNtrKP02dXkQyCDQKSj99VRGbrzh5/zLrXe 3DbujuLPciSi5vALJ+old//V6zoLm6pd0LhvBAARG1SXsh/2UP6qVVa/FfV3DuM5if+u lMLgaAYtih653stfzpF6JzV1TgtPEvIAiwFM7x+VFO7m6+ikg5S95jdc8NlSpoxf6NUC chD7vf96GrCNEtWT2dpp9TfC5k1TkiGvGH1SczyJzPL6/3uFcjCYC/RxAKuWF753UD7k NBBQ== 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; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=bKEW8Ry0Dc7JWpcsTzfqOEZXgVD93DyEcOHHsubyywQFfUZ94PG/REMiyCQ1yFPlc1 ayfM0chkW6AIr9cJsCf65QdK7Gx6bgoQqYkqS7TIcnHhAU15zwITAxAgqUKThdLs1A+Y wonqxW0cs1f5vojvbilC4isezZD5wp536hZin0Lw7cLD+7+tp1zUynbdzPEBPpx1Ooyr lil0LPOX4PUc3JRNAcgQzi0r6i9/+YQD2G9MdVguJO/GgctbNCiPbPF7IwnOjfE/t8u2 iKaXmZN5w3gfbiWMUewxWHOCpDGetzs/dkuz1o2lpGiano869IqEsNYly1o5J2I/eUBy m1hw== X-Gm-Message-State: AJIora89JqE6zL3KgHUrUS5nkhzJQEf+MmiTpkt2dH/dd9IfNjyCRe8j of8hqQn5oJ9w5XuycenQ27US2xNEWzhjsrJ/LwI= X-Google-Smtp-Source: AGRyM1tvrcPaXjb6qpRZmlm3mN1+HaZ3X5zFt5Vb6BDK08mCBJ8qF4vfcIrvo5gC3LEAhM4YrPgldTFVhwpUgFcS228= X-Received: by 2002:a05:6902:1549:b0:66d:5f76:27ba with SMTP id r9-20020a056902154900b0066d5f7627bamr14092504ybu.385.1656670690515; Fri, 01 Jul 2022 03:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20220701012647.2007122-1-saravanak@google.com> <20220701012647.2007122-3-saravanak@google.com> In-Reply-To: <20220701012647.2007122-3-saravanak@google.com> From: Andy Shevchenko Date: Fri, 1 Jul 2022 12:17:33 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] serial: Set probe_no_timeout for all DT based drivers To: Saravana Kannan Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Tudor , Jiri Slaby , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Joel Stanley , Andrew Jeffery , Nicolas Saenz Julienne , Broadcom internal kernel review list , Florian Fainelli , Ray Jui , Scott Branden , Al Cooper , Andy Shevchenko , Paul Cercueil , Vladimir Zapolskiy , Matthias Brugger , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Tobias Klauser , Russell King , Vineet Gupta , Richard Genoud , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Alexander Shiyan , Baruch Siach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Taichi Sugaya , Takao Orito , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Andy Gross , Bjorn Andersson , Pali Rohar , Andreas Farber , Manivannan Sadhasivam , Krzysztof Kozlowski , Alim Akhtar , Laxman Dewangan , Palmer Dabbelt , Paul Walmsley , Orson Zhai , Baolin Wang , Chunyan Zhang , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , "David S. Miller" , Hammer Hsieh , Peter Korsgaard , Timur Tabi , Michal Simek , Rob Herring , sascha hauer , peng fan , kevin hilman , ulf hansson , len brown , pavel machek , joerg roedel , will deacon , andrew lunn , heiner kallweit , eric dumazet , jakub kicinski , paolo abeni , linus walleij , hideaki yoshifuji , david ahern , Android Kernel Team , Linux Kernel Mailing List , Linux PM , "list@263.net:IOMMU DRIVERS" , netdev , "open list:GPIO SUBSYSTEM" , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , "open list:SERIAL DRIVERS" , linux-arm Mailing List , "moderated list:ARM/ASPEED MACHINE SUPPORT" , linux-rpi-kernel , "open list:BROADCOM NVRAM DRIVER" , "moderated list:ARM/Mediatek SoC support" , linux-tegra , linux-snps-arc@lists.infradead.org, linux-amlogic , linux-arm-msm , linux-actions@lists.infradead.org, linux-unisoc@lists.infradead.org, Linux Samsung SOC , linux-riscv , linux-stm32@st-md-mailman.stormreply.com, Sparc kernel list , Ahmad Fatoum X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_031812_944217_140ACF2F X-CRM114-Status: GOOD ( 15.23 ) X-Mailman-Approved-At: Fri, 01 Jul 2022 08:21:30 -0700 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Fri, Jul 1, 2022 at 3:28 AM Saravana Kannan wrote: > > With commit 71066545b48e ("driver core: Set fw_devlink.strict=1 by > default") the probing of TTY consoles could get delayed if they have > optional suppliers that are listed in DT, but those suppliers don't > probe by the time kernel boot finishes. The console devices will probe > eventually after driver_probe_timeout expires. > > However, since consoles are often used for debugging kernel issues, it > does not make sense to delay their probe. So, set the newly added > probe_no_timeout flag for all serial drivers that at DT based. This way, > fw_devlink will know not to delay the probing of the consoles past > kernel boot. Same question, do you think only serial drivers need that? -- With Best Regards, Andy Shevchenko _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 91448C433EF for ; Fri, 1 Jul 2022 23:16:57 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LZWLJ0PPwz3chy for ; Sat, 2 Jul 2022 09:16:56 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jSDpH5b4; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::b30; helo=mail-yb1-xb30.google.com; envelope-from=andy.shevchenko@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jSDpH5b4; dkim-atps=neutral Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4LZB3p5WRTz3bg4; Fri, 1 Jul 2022 20:18:13 +1000 (AEST) Received: by mail-yb1-xb30.google.com with SMTP id 205so799533ybe.3; Fri, 01 Jul 2022 03:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=jSDpH5b4ezTXYDkI+Kv1qjoulW4GueRKAo9MfvH6Or74WD1aO19b0yl9X6h7ikpgsb Yzj9/9QR8pvv9s537mQBeUk8bodicRt2sYNtrKP02dXkQyCDQKSj99VRGbrzh5/zLrXe 3DbujuLPciSi5vALJ+old//V6zoLm6pd0LhvBAARG1SXsh/2UP6qVVa/FfV3DuM5if+u lMLgaAYtih653stfzpF6JzV1TgtPEvIAiwFM7x+VFO7m6+ikg5S95jdc8NlSpoxf6NUC chD7vf96GrCNEtWT2dpp9TfC5k1TkiGvGH1SczyJzPL6/3uFcjCYC/RxAKuWF753UD7k NBBQ== 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; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=Pld/flhVGqhOgx707tQxmuxlkqgoaftqnpF4bmWaZRRh99jnWYCFO+0y5cqx+wccli koHXh8iUIOCSgfWbapeM26ilCycxTJG2zxjfo4xoaKA0AFN2UytTq/PFIoWLYTUSXUZE ZZ8vcNPcm/rHzNqJvy53lGvHUOfBFKch2138ZnW4zwgGIhkykd7kFx5F5mHKBtG2g6xG WpZfNkTed1AlHYRZAxMYhRpJV0iNr0CNnYynkM+DOCdZxWPtbZ7b27mfSSoz029zZpz+ RLapYJbH8bxQDgVJ39tmoGUJciflfa6laUSCW3+u/2KNhEbIAyftj+w7912u6S/AVmrS e8lw== X-Gm-Message-State: AJIora/CiusKc6SYMWl9XsALc/Bu83oSmCV27fU+fGIet9gDYtg/NlJ1 YwkoDUvZNEyTgZlFzWxK11xCjNhA6OC7R+6KPjs= X-Google-Smtp-Source: AGRyM1tvrcPaXjb6qpRZmlm3mN1+HaZ3X5zFt5Vb6BDK08mCBJ8qF4vfcIrvo5gC3LEAhM4YrPgldTFVhwpUgFcS228= X-Received: by 2002:a05:6902:1549:b0:66d:5f76:27ba with SMTP id r9-20020a056902154900b0066d5f7627bamr14092504ybu.385.1656670690515; Fri, 01 Jul 2022 03:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20220701012647.2007122-1-saravanak@google.com> <20220701012647.2007122-3-saravanak@google.com> In-Reply-To: <20220701012647.2007122-3-saravanak@google.com> From: Andy Shevchenko Date: Fri, 1 Jul 2022 12:17:33 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] serial: Set probe_no_timeout for all DT based drivers To: Saravana Kannan Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Sat, 02 Jul 2022 09:16:22 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew lunn , peng fan , "Rafael J. Wysocki" , linus walleij , Paul Mackerras , Alim Akhtar , Peter Korsgaard , linux-stm32@st-md-mailman.stormreply.com, Karol Gugala , Jerome Brunet , Linux Samsung SOC , Michal Simek , Hammer Hsieh , NXP Linux Team , Vineet Gupta , len brown , Nicolas Saenz Julienne , Linux PM , Sascha Hauer , linux-unisoc@lists.infradead.org, Scott Branden , Andrew Jeffery , Greg Kroah-Hartman , Linux Kernel Mailing List , Richard Genoud , Masami Hira matsu , Pengutronix Kernel Team , Claudiu Beznea , Alexandre Belloni , pavel machek , Kunihiko Hayashi , eric dumazet , Thierry Reding , sascha hauer , Chunyan Zhang , Jonathan Hunter , Gabriel Somlo , Tobias Klauser , "open list:BROADCOM NVRAM DRIVER" , Android Kernel Team , Martin Blumenstingl , linux-arm-msm , linux-actions@lists.infradead.org, "open list:GPIO SUBSYSTEM" , linux-rpi-kernel , linux-amlogic , linux-arm Mailing List , Andreas Farber , Maxime Coquelin , Kevin Hilman , Pali Rohar , heiner kallweit , ulf hansson , Neil Armstrong , Lorenzo Pieralisi , Al Cooper , linux-tegra , Jiri Slaby , "moderated list:ARM/ASPEED MACHINE SUPPORT" , Rob Herring , Florian Fainelli , Mateusz Holenko , Alexander Shiyan , kevin hilman , Broadcom internal kernel review list , Joel Stanley , Orson Zhai , paolo abeni , Patrice Chotard , Ray Jui , Vladimir Zapolskiy , linux-snps-arc@lists.infradead.org, Timur Tabi , hideaki yosh ifuji , "list@263.net:IOMMU DRIVERS" , Laxman Dewangan , Sudeep Holla , Baolin Wang , Shawn Guo , "David S. Miller" , Baruch Siach , Liviu Dudau , Alexandre Torgue , Bjorn Andersson , Paul Cercueil , Sparc kernel list , linux-riscv , Ahmad Fatoum , joerg roedel , Russell King , Andy Gross , "open list:SERIAL DRIVERS" , jakub kicinski , will deacon , Manivannan Sadhasivam , "moderated list:ARM/Mediatek SoC support" , Fabio Estevam , Paul Walmsley , M atthias Brugger , Andy Shevchenko , Laurentiu Tudor , Taichi Sugaya , netdev , david ahern , Nicolas Ferre , Krzysztof Kozlowski , Palmer Dabbelt , Takao Orito , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Jul 1, 2022 at 3:28 AM Saravana Kannan wrote: > > With commit 71066545b48e ("driver core: Set fw_devlink.strict=1 by > default") the probing of TTY consoles could get delayed if they have > optional suppliers that are listed in DT, but those suppliers don't > probe by the time kernel boot finishes. The console devices will probe > eventually after driver_probe_timeout expires. > > However, since consoles are often used for debugging kernel issues, it > does not make sense to delay their probe. So, set the newly added > probe_no_timeout flag for all serial drivers that at DT based. This way, > fw_devlink will know not to delay the probing of the consoles past > kernel boot. Same question, do you think only serial drivers need that? -- With Best Regards, Andy Shevchenko 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CA7EBC282E7 for ; Fri, 12 Aug 2022 09:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5nVEGyrSA2JHSR4cEbQ75Fw3HkwIum8C5WOkONJKPzA=; b=0X3BiEEr4Nz278 hrCezlq6j9PjsLwR/rALdjUk/bhB38wROUl5bUCcDFb8w8J8/hW40yHYeOYj77j6AVxnw8APpFDJ4 SaPRhylm/yBoOgjunQPi/L/8GEc/o2+sdLcgz3ZYJUHzshx2u6MlCtgw1zxOguxSL9w/hH6EeLuIs QIhU9Go0dbm57w9UwHqgzpKkvZI3RWPvHRAU/wqH2Nr2/ui8s3NAkxDfUQ67owSZeCuiuoIETKign gk/oni0RnKEHjs94hwxGVGujzIJlPqCOlJD/exgDqznz4zdW6ADnzy10QLDyMfs7iWRZ7YP6GCy2r TTwUjcHUPd4rNYsJbcPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMQd9-003SPU-MM; Fri, 12 Aug 2022 09:06:59 +0000 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7Dj2-004356-Ql; Fri, 01 Jul 2022 10:18:14 +0000 Received: by mail-yb1-xb31.google.com with SMTP id r3so3229330ybr.6; Fri, 01 Jul 2022 03:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=jSDpH5b4ezTXYDkI+Kv1qjoulW4GueRKAo9MfvH6Or74WD1aO19b0yl9X6h7ikpgsb Yzj9/9QR8pvv9s537mQBeUk8bodicRt2sYNtrKP02dXkQyCDQKSj99VRGbrzh5/zLrXe 3DbujuLPciSi5vALJ+old//V6zoLm6pd0LhvBAARG1SXsh/2UP6qVVa/FfV3DuM5if+u lMLgaAYtih653stfzpF6JzV1TgtPEvIAiwFM7x+VFO7m6+ikg5S95jdc8NlSpoxf6NUC chD7vf96GrCNEtWT2dpp9TfC5k1TkiGvGH1SczyJzPL6/3uFcjCYC/RxAKuWF753UD7k NBBQ== 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; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=bKEW8Ry0Dc7JWpcsTzfqOEZXgVD93DyEcOHHsubyywQFfUZ94PG/REMiyCQ1yFPlc1 ayfM0chkW6AIr9cJsCf65QdK7Gx6bgoQqYkqS7TIcnHhAU15zwITAxAgqUKThdLs1A+Y wonqxW0cs1f5vojvbilC4isezZD5wp536hZin0Lw7cLD+7+tp1zUynbdzPEBPpx1Ooyr lil0LPOX4PUc3JRNAcgQzi0r6i9/+YQD2G9MdVguJO/GgctbNCiPbPF7IwnOjfE/t8u2 iKaXmZN5w3gfbiWMUewxWHOCpDGetzs/dkuz1o2lpGiano869IqEsNYly1o5J2I/eUBy m1hw== X-Gm-Message-State: AJIora89JqE6zL3KgHUrUS5nkhzJQEf+MmiTpkt2dH/dd9IfNjyCRe8j of8hqQn5oJ9w5XuycenQ27US2xNEWzhjsrJ/LwI= X-Google-Smtp-Source: AGRyM1tvrcPaXjb6qpRZmlm3mN1+HaZ3X5zFt5Vb6BDK08mCBJ8qF4vfcIrvo5gC3LEAhM4YrPgldTFVhwpUgFcS228= X-Received: by 2002:a05:6902:1549:b0:66d:5f76:27ba with SMTP id r9-20020a056902154900b0066d5f7627bamr14092504ybu.385.1656670690515; Fri, 01 Jul 2022 03:18:10 -0700 (PDT) MIME-Version: 1.0 References: <20220701012647.2007122-1-saravanak@google.com> <20220701012647.2007122-3-saravanak@google.com> In-Reply-To: <20220701012647.2007122-3-saravanak@google.com> From: Andy Shevchenko Date: Fri, 1 Jul 2022 12:17:33 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] serial: Set probe_no_timeout for all DT based drivers To: Saravana Kannan Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Tudor , Jiri Slaby , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Joel Stanley , Andrew Jeffery , Nicolas Saenz Julienne , Broadcom internal kernel review list , Florian Fainelli , Ray Jui , Scott Branden , Al Cooper , Andy Shevchenko , Paul Cercueil , Vladimir Zapolskiy , Matthias Brugger , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Tobias Klauser , Russell King , Vineet Gupta , Richard Genoud , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Alexander Shiyan , Baruch Siach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Taichi Sugaya , Takao Orito , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Andy Gross , Bjorn Andersson , Pali Rohar , Andreas Farber , Manivannan Sadhasivam , Krzysztof Kozlowski , Alim Akhtar , Laxman Dewangan , Palmer Dabbelt , Paul Walmsley , Orson Zhai , Baolin Wang , Chunyan Zhang , Patrice Chotard , Maxime Coquelin , Alexandre Torgue , "David S. Miller" , Hammer Hsieh , Peter Korsgaard , Timur Tabi , Michal Simek , Rob Herring , sascha hauer , peng fan , kevin hilman , ulf hansson , len brown , pavel machek , joerg roedel , will deacon , andrew lunn , heiner kallweit , eric dumazet , jakub kicinski , paolo abeni , linus walleij , hideaki yoshifuji , david ahern , Android Kernel Team , Linux Kernel Mailing List , Linux PM , "list@263.net:IOMMU DRIVERS" , netdev , "open list:GPIO SUBSYSTEM" , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , "open list:SERIAL DRIVERS" , linux-arm Mailing List , "moderated list:ARM/ASPEED MACHINE SUPPORT" , linux-rpi-kernel , "open list:BROADCOM NVRAM DRIVER" , "moderated list:ARM/Mediatek SoC support" , linux-tegra , linux-snps-arc@lists.infradead.org, linux-amlogic , linux-arm-msm , linux-actions@lists.infradead.org, linux-unisoc@lists.infradead.org, Linux Samsung SOC , linux-riscv , linux-stm32@st-md-mailman.stormreply.com, Sparc kernel list , Ahmad Fatoum X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_031812_944217_140ACF2F X-CRM114-Status: GOOD ( 15.23 ) X-Mailman-Approved-At: Fri, 12 Aug 2022 02:06:54 -0700 X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Fri, Jul 1, 2022 at 3:28 AM Saravana Kannan wrote: > > With commit 71066545b48e ("driver core: Set fw_devlink.strict=1 by > default") the probing of TTY consoles could get delayed if they have > optional suppliers that are listed in DT, but those suppliers don't > probe by the time kernel boot finishes. The console devices will probe > eventually after driver_probe_timeout expires. > > However, since consoles are often used for debugging kernel issues, it > does not make sense to delay their probe. So, set the newly added > probe_no_timeout flag for all serial drivers that at DT based. This way, > fw_devlink will know not to delay the probing of the consoles past > kernel boot. Same question, do you think only serial drivers need that? -- With Best Regards, Andy Shevchenko _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic