Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3537833iog; Mon, 27 Jun 2022 19:19:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uAQG/1HKd6I7XvB2FuouEndvswg7SA8WhjrhknD/Edefc7nPyW488G5tInN40ee+M/rcoM X-Received: by 2002:a17:907:1741:b0:726:b8e8:7dc1 with SMTP id lf1-20020a170907174100b00726b8e87dc1mr5017287ejc.0.1656382748264; Mon, 27 Jun 2022 19:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656382748; cv=none; d=google.com; s=arc-20160816; b=ekdyyrTuUu/rXZqC8lBqU/jIPr8eTUKCFtMpLku5zfkrLdHzR0XBxq/gkUaCjDmuIF OazAo73qqBJW7zbTxZDVHNa1XnQ30zzHceaTGG30LwRj5kQtlJgL7wvOm7vZAccaeIpt 0pjxlQC9lvEfb4v0iX3uLRK6fj5Du52fNTyBf3zqSIq6oT4iRBTXf6MLEtU0tDZHVihO CkNZirOv5d+ui008XXhAB6/yBwN+XrqYqABqiXbpaKPfdFwd64jOfg3QicxxJbeN3fdJ gHik1oYbxjl2B/m+RJ3n3AWTrFbrLnuY1XAyikdY+pJz65G7f/ImEptw+JCX7ps0GbKI JKvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=/OuahP8oPHDxIXADrtMOHzHvbE6HS+PoE4WDHegn+rY=; b=eM4eOP5DQrVsXFDtpT02huKR9d9X0gFHGt1b0kUUCxD1xdxiP7ntKchVhn1V4qP1bP Fn1LSVDmxzpaymdqryOCQb3SF0ndHZeHQuPalJiZ+MRJaYYP5rmVXRZ850GzOHbF2Z73 Z/fheBWfAFFjRxzGlvDFPPWMvaBbL6rEXZ+nS9f0w3Ofrmrqdm4M2dnGX+EZPyh4IuxN V6PDDEBsGzoz1caXARKFh8zj7vnauBw78YR2fae0Tflg9j4dUAZG7DI226n1AWxvIZTT MWS/KLCoQItlBVis7GPcaQhcfjxW38YyS0LXQrQXRMEOeMkvhwjlf0pER9vHXD6JVqDd aeFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=XSa6BG9j; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm14-20020a170907948e00b0071256ff7906si9363133ejc.692.2022.06.27.19.18.43; Mon, 27 Jun 2022 19:19:08 -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=@google.com header.s=20210112 header.b=XSa6BG9j; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242229AbiF1CDK (ORCPT + 99 others); Mon, 27 Jun 2022 22:03:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235675AbiF1CDH (ORCPT ); Mon, 27 Jun 2022 22:03:07 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 492392720 for ; Mon, 27 Jun 2022 19:03:05 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id m68-20020a253f47000000b006683bd91962so9786731yba.0 for ; Mon, 27 Jun 2022 19:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=/OuahP8oPHDxIXADrtMOHzHvbE6HS+PoE4WDHegn+rY=; b=XSa6BG9j+Us6qSO6vPHqc2TVfQxumnU0pAOfjBJHFlWcIck0At2n2mfq5tAA7z3Bx5 PD0vlBv1k9Q/E/30MAFFG1P5OxPr5/WK6+axB0HoavtP7KnHzjHkg1qUFmVSky1XYmCE keKg7zc6YYKZDYEnwk3qbSxvFO3Xk4Y8/tdDX97msFctgpLZBdPkJDnH5LbWzXx7pTZH CgzyIamG5okMqCh9aY8wAvuFixrOfwL/UhwfbnX/7paM2krnQNZDjv67WdvSzvvMWo7D m5fFpT4ZoMrA6AasD66OkuDUwH3oHEeuCSo5kX9VLcSW8/gQ+X2898P5YGyQhyrYIK8G Aulw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=/OuahP8oPHDxIXADrtMOHzHvbE6HS+PoE4WDHegn+rY=; b=21ga8gO+NUxfd+l8uNEkwLRjXRM61LK/32FKN5I3UtoiV/zYhv36ES8DOLpvZwDvkj sVFsuhCZ1UxAKGTpCAGIUgS1rVDeBAXBG2nv3WDSjiocuTt9jW/twbZQQHGxhEcIa3wb qA6bODCHG4dNxwn5WL7j9DHTI0gwv4hmugw9QXXWowPkdZdrL5Lgr14w9oCRVw6Fu05X rheNU5JWW4oSUjtMICq22GVplMRa4nutgicP9L4kDxvcitOfMLucpsPfLsnRc0s8nB8J lzIeRatLG7yoZzmhYsIkCct2KgdRG0Dfj8FHplyKW16kbmntrmXTYeciuz5JyPLP47IN 1hCw== X-Gm-Message-State: AJIora+63jhZ768emJPxGwB73bt8imfIFUN/Im6ctgmilsd+9Z2l5c7o tHt0rDfdFjgOeSs83OTd1Rxoi8ohXsGcI34= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a81:9292:0:b0:317:dd64:5adc with SMTP id j140-20020a819292000000b00317dd645adcmr19123629ywg.145.1656381784427; Mon, 27 Jun 2022 19:03:04 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:01 -0700 Message-Id: <20220628020110.1601693-1-saravanak@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 0/2] Fix console probe delay when stdout-path isn't set From: Saravana Kannan To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Laurentiu Tudor , Jiri Slaby , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Joel Stanley , Andrew Jeffery , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Nicolas Saenz Julienne , 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 , Saravana Kannan Cc: 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 , 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, linuxppc-dev@lists.ozlabs.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-rpi-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-tegra@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-actions@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, sparclinux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL 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 Since the series that fixes console probe delay based on stdout-path[1] got pulled into driver-core-next, I made these patches on top of them. Even if stdout-path isn't set in DT, this patch should take console probe times back to how they were before the deferred_probe_timeout clean up series[2]. Fabio/Ahmad/Sascha, Can you give this a shot please? [1] - https://lore.kernel.org/lkml/20220623080344.783549-1-saravanak@google.com/ [2] - https://lore.kernel.org/lkml/20220601070707.3946847-1-saravanak@google.com/ Thanks, Saravana cc: Rob Herring cc: sascha hauer cc: peng fan cc: kevin hilman cc: ulf hansson cc: len brown cc: pavel machek cc: joerg roedel cc: will deacon cc: andrew lunn cc: heiner kallweit cc: russell king cc: "david s. miller" cc: eric dumazet cc: jakub kicinski cc: paolo abeni cc: linus walleij cc: hideaki yoshifuji cc: david ahern cc: kernel-team@android.com cc: linux-kernel@vger.kernel.org cc: linux-pm@vger.kernel.org cc: iommu@lists.linux-foundation.org cc: netdev@vger.kernel.org cc: linux-gpio@vger.kernel.org Cc: kernel@pengutronix.de Saravana Kannan (2): driver core: Add probe_no_timeout flag for drivers serial: Set probe_no_timeout for all DT based drivers drivers/base/base.h | 1 + drivers/base/core.c | 7 +++++++ drivers/base/dd.c | 3 +++ drivers/tty/ehv_bytechan.c | 1 + drivers/tty/goldfish.c | 1 + drivers/tty/hvc/hvc_opal.c | 1 + drivers/tty/serial/8250/8250_acorn.c | 1 - drivers/tty/serial/8250/8250_aspeed_vuart.c | 1 + drivers/tty/serial/8250/8250_bcm2835aux.c | 1 + drivers/tty/serial/8250/8250_bcm7271.c | 1 + drivers/tty/serial/8250/8250_dw.c | 1 + drivers/tty/serial/8250/8250_em.c | 1 + drivers/tty/serial/8250/8250_ingenic.c | 1 + drivers/tty/serial/8250/8250_lpc18xx.c | 1 + drivers/tty/serial/8250/8250_mtk.c | 1 + drivers/tty/serial/8250/8250_of.c | 1 + drivers/tty/serial/8250/8250_omap.c | 1 + drivers/tty/serial/8250/8250_pxa.c | 1 + drivers/tty/serial/8250/8250_tegra.c | 1 + drivers/tty/serial/8250/8250_uniphier.c | 1 + drivers/tty/serial/altera_jtaguart.c | 1 + drivers/tty/serial/altera_uart.c | 1 + drivers/tty/serial/amba-pl011.c | 1 + drivers/tty/serial/apbuart.c | 1 + drivers/tty/serial/ar933x_uart.c | 1 + drivers/tty/serial/arc_uart.c | 1 + drivers/tty/serial/atmel_serial.c | 1 + drivers/tty/serial/bcm63xx_uart.c | 1 + drivers/tty/serial/clps711x.c | 1 + drivers/tty/serial/cpm_uart/cpm_uart_core.c | 1 + drivers/tty/serial/digicolor-usart.c | 1 + drivers/tty/serial/fsl_linflexuart.c | 1 + drivers/tty/serial/fsl_lpuart.c | 1 + drivers/tty/serial/imx.c | 1 + drivers/tty/serial/lantiq.c | 1 + drivers/tty/serial/liteuart.c | 1 + drivers/tty/serial/lpc32xx_hs.c | 1 + drivers/tty/serial/max310x.c | 1 + drivers/tty/serial/meson_uart.c | 1 + drivers/tty/serial/milbeaut_usio.c | 1 + drivers/tty/serial/mpc52xx_uart.c | 1 + drivers/tty/serial/mps2-uart.c | 1 + drivers/tty/serial/msm_serial.c | 1 + drivers/tty/serial/mvebu-uart.c | 1 + drivers/tty/serial/mxs-auart.c | 1 + drivers/tty/serial/omap-serial.c | 1 + drivers/tty/serial/owl-uart.c | 1 + drivers/tty/serial/pic32_uart.c | 1 + drivers/tty/serial/pmac_zilog.c | 1 + drivers/tty/serial/pxa.c | 1 + drivers/tty/serial/qcom_geni_serial.c | 1 + drivers/tty/serial/rda-uart.c | 1 + drivers/tty/serial/samsung_tty.c | 1 + drivers/tty/serial/sc16is7xx.c | 1 + drivers/tty/serial/serial-tegra.c | 1 + drivers/tty/serial/sh-sci.c | 1 + drivers/tty/serial/sifive.c | 1 + drivers/tty/serial/sprd_serial.c | 1 + drivers/tty/serial/st-asc.c | 1 + drivers/tty/serial/stm32-usart.c | 1 + drivers/tty/serial/sunhv.c | 1 + drivers/tty/serial/sunplus-uart.c | 1 + drivers/tty/serial/sunsab.c | 1 + drivers/tty/serial/sunsu.c | 1 + drivers/tty/serial/sunzilog.c | 1 + drivers/tty/serial/tegra-tcu.c | 1 + drivers/tty/serial/uartlite.c | 1 + drivers/tty/serial/ucc_uart.c | 1 + drivers/tty/serial/vt8500_serial.c | 1 + drivers/tty/serial/xilinx_uartps.c | 1 + include/linux/device.h | 7 +++++++ include/linux/device/driver.h | 11 +++++++++++ 72 files changed, 95 insertions(+), 1 deletion(-) -- 2.37.0.rc0.161.g10f37bed90-goog