Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1131747imi; Fri, 1 Jul 2022 03:53:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6GZwZogCqeqAOuFeuIdS+g7sDiOdd3tyooOedSk31Rh3UxoE5W+3aPcd8711RqcrHsynx X-Received: by 2002:a63:730b:0:b0:40c:3a65:537f with SMTP id o11-20020a63730b000000b0040c3a65537fmr11516489pgc.267.1656672838278; Fri, 01 Jul 2022 03:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656672838; cv=none; d=google.com; s=arc-20160816; b=G8atnZffcOb4J4NkIz9F1KOnf3FuufbeMPTuoMAFpeReO2v58CBg/Nq5p4rKdVyUrm kRcBFPa3heitVMOgnUWp1jlhGBxD5JmAiTlbdUbn94sSSQSB1OCTefh//q4aAWeS7uK1 xrE6AsfMM8q06X5D2TrjKF5wqsF/LFBjt7k3elWQxKPYmwefTtvl9lPfWTj1fQLESxM1 mzZ2pWc6Rke9Hw8jMbjTrcpFnyWb2DwjkUeX+B9eokVh2VZDVHHe+VuSmGcgSGKNtW0j iMZMaYGxNwIUbxTiofUj5+KT1agF6gW0SOIWFydM7m++uS5zkt5oPsx5RM7zvApyaugi bMLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IK1q7pWvnzmd2/yzmMQOB6gFUgHkXgsyzwODpSKqHtU=; b=iJAa+6ASGXz2EYLSsfuy27vGQb/W9nDehsIV9yS3hkPD0w8gDHiucwWnozdyi4E9Gi /OFjh3cT51Qxppbp80JJrkaBLwHLpcDDIaYAff5hI1vGEZbcVtNSbhfPjYi7mHE4OPMV 0Dmb4rgz7bds5T3YGga+pxX9hvFemBc2ZXWFrIUmfYQIkGvPQC8sMHK7+SrbowvGqYZl WBjwwTnhgYm7iQym+CzGr0pp56P5Pe59XXTBGNgxmrYKF9Whzni2oufhMnLaVmJ5Usf9 vmjrL8JqXcZJj+a4jehKr3zfcDkiCYVyPzVr5B4/ZL8wUSmoR2nuqmvllLC32ENPtanj sB3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jSDpH5b4; 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=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a17090aa01500b001e2f5701113si5556208pjp.25.2022.07.01.03.53.40; Fri, 01 Jul 2022 03:53:58 -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=@gmail.com header.s=20210112 header.b=jSDpH5b4; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235974AbiGAKSR (ORCPT + 99 others); Fri, 1 Jul 2022 06:18:17 -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-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" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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