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 E348BCCA482 for ; Tue, 28 Jun 2022 02:03:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243260AbiF1CDl (ORCPT ); Mon, 27 Jun 2022 22:03:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243265AbiF1CDd (ORCPT ); Mon, 27 Jun 2022 22:03:33 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C767911452 for ; Mon, 27 Jun 2022 19:03:17 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-317ae1236feso91070617b3.11 for ; Mon, 27 Jun 2022 19:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tZazYfWqPcug8WNmRossg5oipKgo77iefyCMqnHhTitZ/Sv8YfR95twQm9aK30hdZW ua9MdW9VXN0O7tqZRMVlzt5QxiVEotkdX7MtUDdH531h1+43Uf9zHo6TCcYKUvXIHvxJ JV2Z8TKtz5IO721EFl27cWPTiWUIsFliEeAdguF6sS7KVsTqHrpdwac+5KfBq1IdCx9z rH9CezikHE/fjlfixLHE+xpZd5e7Ey01hNXJ81kPa73u7ek499zLwXaH8hrPh8WsICqy bhTTtOC/97yK5CNxSjUi5BQ9tPqkV3122ilIkvGGkWHDMm85vLq1kEkzU4Xu1SwXW5M2 OkWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=7MtjSv/EvuoJySJKSeQkh3Rlrqz19ktas/YncgUbE7CVW3P6uHZ11R/PhtL10xHLco W0hlmrmmqeVSIgyEF5bHfcxTqRItTlGTDM7eM78uYI07R86jb9jUS9u9c41w1Q56FKnU yXyTme+DZL2Thk2VRl8uWEjhr4bUKDcXDzrwNA4K6GE6G1TdlaueIqVwSI21uOfU8P1E CTxqnU0tel1bp5xliFoXn2P2UxJuXSX/Y02jfAvnIiPW9NTqp45TFO2/T7zU2qUTK6oL fxWweaH2oFmmFKbKVxFIIP6XKytwqA4KLE+/9TQM2TbIPhvbgWCOSbAZ5ebtpAgsBbCI FIHg== X-Gm-Message-State: AJIora+/KbAwI2FMONvy79Gec77TPG/Qq8ZT9E1+o+YnXBhLYGBArnBH IUIvSN6B6uhlea55K9gO5trpVzrkUS5N55s= X-Google-Smtp-Source: AGRyM1vAtXn/7Fp/6H2tWm79D2E/cuS07Z4vvtV7VYTHWvXhiS3plNYDiH6yd2eO+KsjPlD1xvpzSqGrQp700Gs= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a25:da0b:0:b0:66c:850f:1b71 with SMTP id n11-20020a25da0b000000b0066c850f1b71mr17529281ybf.336.1656381796780; Mon, 27 Jun 2022 19:03:16 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:03 -0700 In-Reply-To: <20220628020110.1601693-1-saravanak@google.com> Message-Id: <20220628020110.1601693-3-saravanak@google.com> Mime-Version: 1.0 References: <20220628020110.1601693-1-saravanak@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 2/2] serial: Set probe_no_timeout for all DT based drivers 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, Ahmad Fatoum Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org 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. Fixes: 71066545b48e ("driver core: Set fw_devlink.strict=1 by default") Reported-by: Sascha Hauer Reported-by: Peng Fan Reported-by: Fabio Estevam Reported-by: Ahmad Fatoum Signed-off-by: Saravana Kannan --- 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 + 67 files changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 19d32cb6af84..6de710da99be 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -739,6 +739,7 @@ static struct platform_driver ehv_bc_tty_driver = { .driver = { .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, .probe = ehv_bc_tty_probe, diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c7968aecd870..f9760598c836 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -474,6 +474,7 @@ static struct platform_driver goldfish_tty_platform_driver = { .driver = { .name = "goldfish_tty", .of_match_table = goldfish_tty_of_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 794c7b18aa06..08202c2f8ead 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -253,6 +253,7 @@ static struct platform_driver hvc_opal_driver = { .driver = { .name = hvc_opal_name, .of_match_table = hvc_opal_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 758c4aa203ab..5a6f2f67de4f 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c @@ -114,7 +114,6 @@ static const struct ecard_id serial_cids[] = { static struct ecard_driver serial_card_driver = { .probe = serial_card_probe, .remove = serial_card_remove, - .id_table = serial_cids, .drv = { .name = "8250_acorn", }, diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c index 9d2a7856784f..ca4b89ae13a4 100644 --- a/drivers/tty/serial/8250/8250_aspeed_vuart.c +++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c @@ -592,6 +592,7 @@ static struct platform_driver aspeed_vuart_driver = { .driver = { .name = "aspeed-vuart", .of_match_table = aspeed_vuart_table, + .probe_no_timeout = true, }, .probe = aspeed_vuart_probe, .remove = aspeed_vuart_remove, diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..6c00ba7a123a 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -223,6 +223,7 @@ static struct platform_driver bcm2835aux_serial_driver = { .name = "bcm2835-aux-uart", .of_match_table = bcm2835aux_serial_match, .acpi_match_table = bcm2835aux_serial_acpi_match, + .probe_no_timeout = true, }, .probe = bcm2835aux_serial_probe, .remove = bcm2835aux_serial_remove, diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 9b878d023dac..7898dcbff07e 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -1193,6 +1193,7 @@ static struct platform_driver brcmuart_platform_driver = { .name = "bcm7271-uart", .pm = &brcmuart_dev_pm_ops, .of_match_table = brcmuart_dt_ids, + .probe_no_timeout = true, }, .probe = brcmuart_probe, .remove = brcmuart_remove, diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f57bbd32ef11..616f5197378a 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -795,6 +795,7 @@ static struct platform_driver dw8250_platform_driver = { .pm = &dw8250_pm_ops, .of_match_table = dw8250_of_match, .acpi_match_table = dw8250_acpi_match, + .probe_no_timeout = true, }, .probe = dw8250_probe, .remove = dw8250_remove, diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index f8e99995eee9..0dc9a2e45cf2 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c @@ -151,6 +151,7 @@ static struct platform_driver serial8250_em_platform_driver = { .driver = { .name = "serial8250-em", .of_match_table = serial8250_em_dt_ids, + .probe_no_timeout = true, }, .probe = serial8250_em_probe, .remove = serial8250_em_remove, diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index cff91aa03f29..dc595a4a49a0 100644 --- a/drivers/tty/serial/8250/8250_ingenic.c +++ b/drivers/tty/serial/8250/8250_ingenic.c @@ -341,6 +341,7 @@ static struct platform_driver ingenic_uart_platform_driver = { .driver = { .name = "ingenic-uart", .of_match_table = of_match, + .probe_no_timeout = true, }, .probe = ingenic_uart_probe, .remove = ingenic_uart_remove, diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c index 570e25d6f37e..d9c91c57331c 100644 --- a/drivers/tty/serial/8250/8250_lpc18xx.c +++ b/drivers/tty/serial/8250/8250_lpc18xx.c @@ -215,6 +215,7 @@ static struct platform_driver lpc18xx_serial_driver = { .driver = { .name = "lpc18xx-uart", .of_match_table = lpc18xx_serial_match, + .probe_no_timeout = true, }, }; module_platform_driver(lpc18xx_serial_driver); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 54051ec7b499..85e8a19c0929 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -671,6 +671,7 @@ static struct platform_driver mtk8250_platform_driver = { .name = "mt6577-uart", .pm = &mtk8250_pm_ops, .of_match_table = mtk8250_of_match, + .probe_no_timeout = true, }, .probe = mtk8250_probe, .remove = mtk8250_remove, diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 5a699a1aa79c..580abd22d3c6 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -343,6 +343,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .probe_no_timeout = true, .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index ac8bfa042391..8d83597174b4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1694,6 +1694,7 @@ static struct platform_driver omap8250_platform_driver = { .name = "omap8250", .pm = &omap8250_dev_pm_ops, .of_match_table = omap8250_dt_ids, + .probe_no_timeout = true, }, .probe = omap8250_probe, .remove = omap8250_remove, diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 795e55142d4c..9f7bb52fabbe 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -165,6 +165,7 @@ static struct platform_driver serial_pxa_driver = { .name = "pxa2xx-uart", .pm = &serial_pxa_pm_ops, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..45630f7d9e98 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -187,6 +187,7 @@ static struct platform_driver tegra_uart_driver = { .pm = &tegra_uart_pm_ops, .of_match_table = tegra_uart_of_match, .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), + .probe_no_timeout = true, }, .probe = tegra_uart_probe, .remove = tegra_uart_remove, diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c index a2978abab0db..7fdf45c4513d 100644 --- a/drivers/tty/serial/8250/8250_uniphier.c +++ b/drivers/tty/serial/8250/8250_uniphier.c @@ -297,6 +297,7 @@ static struct platform_driver uniphier_uart_platform_driver = { .driver = { .name = "uniphier-uart", .of_match_table = uniphier_uart_match, + .probe_no_timeout = true, .pm = &uniphier_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index cb791c5149a3..548934284691 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -493,6 +493,7 @@ static struct platform_driver altera_jtaguart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_jtaguart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 8b749ed557c6..25c834f900eb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -645,6 +645,7 @@ static struct platform_driver altera_uart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_uart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 97ef41cb2721..eae866568f14 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2912,6 +2912,7 @@ static struct platform_driver arm_sbsa_uart_platform_driver = { .pm = &pl011_dev_pm_ops, .of_match_table = of_match_ptr(sbsa_uart_of_match), .acpi_match_table = ACPI_PTR(sbsa_uart_acpi_match), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_AMBA_PL011), }, }; diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 9ef82d870ff2..72c1b7884a3b 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -583,6 +583,7 @@ static struct platform_driver grlib_apbuart_of_driver = { .driver = { .name = "grlib-apbuart", .of_match_table = apbuart_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 6269dbf93546..f0013be1a7c7 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -842,6 +842,7 @@ static struct platform_driver ar933x_uart_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ar933x_uart_of_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2a09e92ef9ed..7998c285fc6c 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c @@ -650,6 +650,7 @@ static struct platform_driver arc_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = arc_uart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dd1c7e4bd1c9..ff74ea97b305 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -3020,6 +3020,7 @@ static struct platform_driver atmel_serial_driver = { .driver = { .name = "atmel_usart_serial", .of_match_table = of_match_ptr(atmel_serial_dt_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 53b43174aa40..d91c49c50ac6 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -890,6 +890,7 @@ static struct platform_driver bcm_uart_platform_driver = { .driver = { .name = "bcm63xx_uart", .of_match_table = bcm63xx_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index b9b66ad31a08..b81710802937 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -528,6 +528,7 @@ static struct platform_driver clps711x_uart_platform = { .driver = { .name = "clps711x-uart", .of_match_table = of_match_ptr(clps711x_uart_dt_ids), + .probe_no_timeout = true, }, .probe = uart_clps711x_probe, .remove = uart_clps711x_remove, diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index db07d6a5d764..ff269637bc28 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c @@ -1470,6 +1470,7 @@ static struct platform_driver cpm_uart_driver = { .driver = { .name = "cpm_uart", .of_match_table = cpm_uart_match, + .probe_no_timeout = true, }, .probe = cpm_uart_probe, .remove = cpm_uart_remove, diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index af951e6a2ef4..b2148b48d195 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -524,6 +524,7 @@ static struct platform_driver digicolor_uart_platform = { .driver = { .name = "digicolor-usart", .of_match_table = of_match_ptr(digicolor_uart_dt_ids), + .probe_no_timeout = true, }, .probe = digicolor_uart_probe, .remove = digicolor_uart_remove, diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 98bb0c315e13..08514238af36 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -889,6 +889,7 @@ static struct platform_driver linflex_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = linflex_dt_ids, + .probe_no_timeout = true, .pm = &linflex_pm_ops, }, }; diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 0d6e62f6bb07..64e969278c72 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2857,6 +2857,7 @@ static struct platform_driver lpuart_driver = { .driver = { .name = "fsl-lpuart", .of_match_table = lpuart_dt_ids, + .probe_no_timeout = true, .pm = &lpuart_pm_ops, }, }; diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 30edb35a6a15..deb2539d0fbc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2604,6 +2604,7 @@ static struct platform_driver imx_uart_platform_driver = { .driver = { .name = "imx-uart", .of_match_table = imx_uart_dt_ids, + .probe_no_timeout = true, .pm = &imx_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index a3120c3347dd..279ee1ba6ae1 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -942,6 +942,7 @@ static struct platform_driver lqasc_driver = { .driver = { .name = DRVNAME, .of_match_table = ltq_asc_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 328b50521f14..e92cf2a1b4cc 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -324,6 +324,7 @@ static struct platform_driver liteuart_platform_driver = { .driver = { .name = "liteuart", .of_match_table = liteuart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 93140cac1ca1..bb655bd7f678 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c @@ -727,6 +727,7 @@ static struct platform_driver serial_hs_lpc32xx_driver = { .driver = { .name = MODNAME, .of_match_table = serial_hs_lpc32xx_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a0b6ea52d133..09e3cee4e0ce 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1504,6 +1504,7 @@ static struct spi_driver max310x_spi_driver = { .driver = { .name = MAX310X_NAME, .of_match_table = max310x_dt_ids, + .probe_no_timeout = true, .pm = &max310x_pm_ops, }, .probe = max310x_spi_probe, diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 4869c0059c98..f0104d85484e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -826,6 +826,7 @@ static struct platform_driver meson_uart_platform_driver = { .driver = { .name = "meson_uart", .of_match_table = meson_uart_dt_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/milbeaut_usio.c b/drivers/tty/serial/milbeaut_usio.c index 347088bb380e..e175e6e0e7c7 100644 --- a/drivers/tty/serial/milbeaut_usio.c +++ b/drivers/tty/serial/milbeaut_usio.c @@ -576,6 +576,7 @@ static struct platform_driver mlb_usio_driver = { .driver = { .name = USIO_NAME, .of_match_table = mlb_usio_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index e50f069b5ebb..da9c60baf0ed 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c @@ -1885,6 +1885,7 @@ static struct platform_driver mpc52xx_uart_of_driver = { .driver = { .name = "mpc52xx-psc-uart", .of_match_table = mpc52xx_uart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c index 5e9429dcc51f..4cb82ebe0ec7 100644 --- a/drivers/tty/serial/mps2-uart.c +++ b/drivers/tty/serial/mps2-uart.c @@ -634,6 +634,7 @@ static struct platform_driver mps2_serial_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(mps2_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index e676ec761f18..989a5cc8612c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1890,6 +1890,7 @@ static struct platform_driver msm_platform_driver = { .name = "msm_serial", .pm = &msm_serial_dev_pm_ops, .of_match_table = msm_match_table, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0429c2a54290..b5b49773fcce 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -1049,6 +1049,7 @@ static struct platform_driver mvebu_uart_platform_driver = { .driver = { .name = "mvebu-uart", .of_match_table = of_match_ptr(mvebu_uart_of_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, #if defined(CONFIG_PM) .pm = &mvebu_uart_pm_ops, diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 1944daf8593a..8bd871b5f263 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1725,6 +1725,7 @@ static struct platform_driver mxs_auart_driver = { .driver = { .name = "mxs-auart", .of_match_table = mxs_auart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 46f4d4cacb6e..2e61d9cbbecb 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1834,6 +1834,7 @@ static struct platform_driver serial_omap_driver = { .name = OMAP_SERIAL_DRIVER_NAME, .pm = &serial_omap_dev_pm_ops, .of_match_table = of_match_ptr(omap_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 44d20e5a7dd3..858223abab9d 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -766,6 +766,7 @@ static struct platform_driver owl_uart_platform_driver = { .driver = { .name = "owl-uart", .of_match_table = owl_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index b399aac530fe..3f08ac2f38b4 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -986,6 +986,7 @@ static struct platform_driver pic32_uart_platform_driver = { .driver = { .name = PIC32_DEV_NAME, .of_match_table = of_match_ptr(pic32_serial_dt_ids), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_PIC32), }, }; diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 3133446e806c..552efe9eef7b 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -1790,6 +1790,7 @@ static struct macio_driver pmz_driver = { .name = "pmac_zilog", .owner = THIS_MODULE, .of_match_table = pmz_match, + .probe_no_timeout = true, }, .probe = pmz_attach, .remove = pmz_detach, diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index e80ba8e10407..b0b91f69b24c 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -910,6 +910,7 @@ static struct platform_driver serial_pxa_driver = { #endif .suppress_bind_attrs = true, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a233bd0c..c47cfd4a5ea5 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1541,6 +1541,7 @@ static struct platform_driver qcom_geni_serial_platform_driver = { .driver = { .name = "qcom_geni_serial", .of_match_table = qcom_geni_serial_match_table, + .probe_no_timeout = true, .pm = &qcom_geni_serial_pm_ops, }, }; diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index f556b4955f59..9e7927de0972 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -797,6 +797,7 @@ static struct platform_driver rda_uart_platform_driver = { .driver = { .name = "rda-uart", .of_match_table = rda_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index d5ca904def34..e3d77bc2420f 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2939,6 +2939,7 @@ static struct platform_driver samsung_serial_driver = { .name = "samsung-uart", .pm = SERIAL_SAMSUNG_PM_OPS, .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 8472bf70477c..dfc455850908 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1652,6 +1652,7 @@ static struct spi_driver sc16is7xx_spi_uart_driver = { .driver = { .name = SC16IS7XX_NAME, .of_match_table = sc16is7xx_dt_ids, + .probe_no_timeout = true, }, .probe = sc16is7xx_spi_probe, .remove = sc16is7xx_spi_remove, diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index d942ab152f5a..240166a36569 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1653,6 +1653,7 @@ static struct platform_driver tegra_uart_platform_driver = { .driver = { .name = "serial-tegra", .of_match_table = tegra_uart_of_match, + .probe_no_timeout = true, .pm = &tegra_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0075a1420005..ee90562c7e8d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3396,6 +3396,7 @@ static struct platform_driver sci_driver = { .name = "sh-sci", .pm = &sci_dev_pm_ops, .of_match_table = of_match_ptr(of_sci_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c index c0869b080cc3..a9f3a4562205 100644 --- a/drivers/tty/serial/sifive.c +++ b/drivers/tty/serial/sifive.c @@ -1066,6 +1066,7 @@ static struct platform_driver sifive_serial_platform_driver = { .driver = { .name = SIFIVE_SERIAL_NAME, .of_match_table = of_match_ptr(sifive_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 4329b9c9cbf0..6c01e647bc4d 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -1278,6 +1278,7 @@ static struct platform_driver sprd_platform_driver = { .driver = { .name = "sprd_serial", .of_match_table = of_match_ptr(serial_ids), + .probe_no_timeout = true, .pm = &sprd_pm_ops, }, }; diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 1b0da603ab54..a01c10522bb6 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -973,6 +973,7 @@ static struct platform_driver asc_serial_driver = { .name = DRIVER_NAME, .pm = &asc_serial_pm_ops, .of_match_table = of_match_ptr(asc_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index b7b44f4050d4..5aa01cd6f24f 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -2019,6 +2019,7 @@ static struct platform_driver stm32_serial_driver = { .name = DRIVER_NAME, .pm = &stm32_serial_pm_ops, .of_match_table = of_match_ptr(stm32_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index eafada8fb6fa..05bf49af8328 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c @@ -630,6 +630,7 @@ static struct platform_driver hv_driver = { .driver = { .name = "hv", .of_match_table = hv_match, + .probe_no_timeout = true, }, .probe = hv_probe, .remove = hv_remove, diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c index 60c73662f955..b5b09aedab9c 100644 --- a/drivers/tty/serial/sunplus-uart.c +++ b/drivers/tty/serial/sunplus-uart.c @@ -709,6 +709,7 @@ static struct platform_driver sunplus_uart_platform_driver = { .driver = { .name = "sunplus_uart", .of_match_table = sp_uart_of_match, + .probe_no_timeout = true, .pm = &sunplus_uart_pm_ops, } }; diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index 6ea52293d9f3..3d2eea131a67 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c @@ -1103,6 +1103,7 @@ static struct platform_driver sab_driver = { .driver = { .name = "sab", .of_match_table = sab_match, + .probe_no_timeout = true, }, .probe = sab_probe, .remove = sab_remove, diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index fff50b5b82eb..598691174e08 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -1566,6 +1566,7 @@ static struct platform_driver su_driver = { .driver = { .name = "su", .of_match_table = su_match, + .probe_no_timeout = true, }, .probe = su_probe, .remove = su_remove, diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c14275d83b0b..15dc30f493d9 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1541,6 +1541,7 @@ static struct platform_driver zs_driver = { .driver = { .name = "zs", .of_match_table = zs_match, + .probe_no_timeout = true, }, .probe = zs_probe, .remove = zs_remove, diff --git a/drivers/tty/serial/tegra-tcu.c b/drivers/tty/serial/tegra-tcu.c index 4877c54c613d..aa0ba869e590 100644 --- a/drivers/tty/serial/tegra-tcu.c +++ b/drivers/tty/serial/tegra-tcu.c @@ -292,6 +292,7 @@ static struct platform_driver tegra_tcu_driver = { .driver = { .name = "tegra-tcu", .of_match_table = tegra_tcu_match, + .probe_no_timeout = true, }, .probe = tegra_tcu_probe, .remove = tegra_tcu_remove, diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 880e2afbb97b..a7f600e57a25 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -919,6 +919,7 @@ static struct platform_driver ulite_platform_driver = { .driver = { .name = "uartlite", .of_match_table = of_match_ptr(ulite_of_match), + .probe_no_timeout = true, .pm = &ulite_pm_ops, }, }; diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6000853973c1..a2e637876db0 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1500,6 +1500,7 @@ static struct platform_driver ucc_uart_of_driver = { .driver = { .name = "ucc_uart", .of_match_table = ucc_uart_match, + .probe_no_timeout = true, }, .probe = ucc_uart_probe, .remove = ucc_uart_remove, diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 6f08136ce78a..074b4e8b61b6 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -722,6 +722,7 @@ static struct platform_driver vt8500_platform_driver = { .driver = { .name = "vt8500_serial", .of_match_table = wmt_dt_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9e01fe6c0ab8..7e941c7e819e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1656,6 +1656,7 @@ static struct platform_driver cdns_uart_platform_driver = { .driver = { .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, + .probe_no_timeout = true, .pm = &cdns_uart_dev_pm_ops, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_XILINX_PS_UART), }, -- 2.37.0.rc0.161.g10f37bed90-goog 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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 67F78C43334 for ; Tue, 28 Jun 2022 02:03:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E953E606C0; Tue, 28 Jun 2022 02:03:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E953E606C0 Authentication-Results: smtp3.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=tZazYfWq X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2b6M2yCVQT82; Tue, 28 Jun 2022 02:03:23 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 9B0846058D; Tue, 28 Jun 2022 02:03:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 9B0846058D Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 72BCDC0039; Tue, 28 Jun 2022 02:03:22 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 388BEC002D for ; Tue, 28 Jun 2022 02:03:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0467D408FC for ; Tue, 28 Jun 2022 02:03:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0467D408FC Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=tZazYfWq 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 6EPKBcUgG4m4 for ; Tue, 28 Jun 2022 02:03:18 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 10E9A40357 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by smtp4.osuosl.org (Postfix) with ESMTPS id 10E9A40357 for ; Tue, 28 Jun 2022 02:03:17 +0000 (UTC) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-317b370cec1so91733837b3.19 for ; Mon, 27 Jun 2022 19:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tZazYfWqPcug8WNmRossg5oipKgo77iefyCMqnHhTitZ/Sv8YfR95twQm9aK30hdZW ua9MdW9VXN0O7tqZRMVlzt5QxiVEotkdX7MtUDdH531h1+43Uf9zHo6TCcYKUvXIHvxJ JV2Z8TKtz5IO721EFl27cWPTiWUIsFliEeAdguF6sS7KVsTqHrpdwac+5KfBq1IdCx9z rH9CezikHE/fjlfixLHE+xpZd5e7Ey01hNXJ81kPa73u7ek499zLwXaH8hrPh8WsICqy bhTTtOC/97yK5CNxSjUi5BQ9tPqkV3122ilIkvGGkWHDMm85vLq1kEkzU4Xu1SwXW5M2 OkWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=YFOmSPc+9hQecC6Fh2e2+73pgxjuviD7yztvaACyvuEg5ywDbnyeelbVZPuKVpj6fp i9KH5nCFZfHsCLN+sJYXoEakvHl6XURZWd27KOsXJJKfQ2kAipZedd1AaxpqfHTNgQ9q Bfau1FLorX6jguGkXa7BKL9unG/uNMOd8O59bkw+LtbR/gJWMdIhkrvvNY9izCW5FhpW M1HtVJFH+ISsAwA0mbeMIGTRMcT3HYGgf4+AtX5QkyxXuYyC1AWiiDHOh5gt7kogap8/ aOOe+njce1Q8CIvmjcMwLmn8K/hODzdpQhNqhS7NZ+vMDc87vb9iODo2Pr+0LwgQbltU 0p5w== X-Gm-Message-State: AJIora+L6Eg9EgclE/DBVeQrmcJNtDk1Wlf8gT+ziTJW5uJ2nSVCfgiD hBQijD3CwfFZ/Ac77xyesg3iCFYlchz0aag= X-Google-Smtp-Source: AGRyM1vAtXn/7Fp/6H2tWm79D2E/cuS07Z4vvtV7VYTHWvXhiS3plNYDiH6yd2eO+KsjPlD1xvpzSqGrQp700Gs= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a25:da0b:0:b0:66c:850f:1b71 with SMTP id n11-20020a25da0b000000b0066c850f1b71mr17529281ybf.336.1656381796780; Mon, 27 Jun 2022 19:03:16 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:03 -0700 In-Reply-To: <20220628020110.1601693-1-saravanak@google.com> Message-Id: <20220628020110.1601693-3-saravanak@google.com> Mime-Version: 1.0 References: <20220628020110.1601693-1-saravanak@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 2/2] serial: Set probe_no_timeout for all DT based drivers 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: andrew lunn , peng fan , linux-aspeed@lists.ozlabs.org, linus walleij , ulf hansson , linux-mips@vger.kernel.org, eric dumazet , pavel machek , sparclinux@vger.kernel.org, linux-riscv@lists.infradead.org, will deacon , linux-stm32@st-md-mailman.stormreply.com, sascha hauer , Rob Herring , linux-samsung-soc@vger.kernel.org, Ahmad Fatoum , kevin hilman , linux-serial@vger.kernel.org, jakub kicinski , paolo abeni , kernel-team@android.com, len brown , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-actions@lists.infradead.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-snps-arc@lists.infradead.org, linux-unisoc@lists.infradead.org, hideaki yoshifuji , netdev@vger.kernel.org, david ahern , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, heiner kallweit 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: , From: Saravana Kannan via iommu Reply-To: Saravana Kannan Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" 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. Fixes: 71066545b48e ("driver core: Set fw_devlink.strict=1 by default") Reported-by: Sascha Hauer Reported-by: Peng Fan Reported-by: Fabio Estevam Reported-by: Ahmad Fatoum Signed-off-by: Saravana Kannan --- 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 + 67 files changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 19d32cb6af84..6de710da99be 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -739,6 +739,7 @@ static struct platform_driver ehv_bc_tty_driver = { .driver = { .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, .probe = ehv_bc_tty_probe, diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c7968aecd870..f9760598c836 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -474,6 +474,7 @@ static struct platform_driver goldfish_tty_platform_driver = { .driver = { .name = "goldfish_tty", .of_match_table = goldfish_tty_of_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 794c7b18aa06..08202c2f8ead 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -253,6 +253,7 @@ static struct platform_driver hvc_opal_driver = { .driver = { .name = hvc_opal_name, .of_match_table = hvc_opal_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 758c4aa203ab..5a6f2f67de4f 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c @@ -114,7 +114,6 @@ static const struct ecard_id serial_cids[] = { static struct ecard_driver serial_card_driver = { .probe = serial_card_probe, .remove = serial_card_remove, - .id_table = serial_cids, .drv = { .name = "8250_acorn", }, diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c index 9d2a7856784f..ca4b89ae13a4 100644 --- a/drivers/tty/serial/8250/8250_aspeed_vuart.c +++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c @@ -592,6 +592,7 @@ static struct platform_driver aspeed_vuart_driver = { .driver = { .name = "aspeed-vuart", .of_match_table = aspeed_vuart_table, + .probe_no_timeout = true, }, .probe = aspeed_vuart_probe, .remove = aspeed_vuart_remove, diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..6c00ba7a123a 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -223,6 +223,7 @@ static struct platform_driver bcm2835aux_serial_driver = { .name = "bcm2835-aux-uart", .of_match_table = bcm2835aux_serial_match, .acpi_match_table = bcm2835aux_serial_acpi_match, + .probe_no_timeout = true, }, .probe = bcm2835aux_serial_probe, .remove = bcm2835aux_serial_remove, diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 9b878d023dac..7898dcbff07e 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -1193,6 +1193,7 @@ static struct platform_driver brcmuart_platform_driver = { .name = "bcm7271-uart", .pm = &brcmuart_dev_pm_ops, .of_match_table = brcmuart_dt_ids, + .probe_no_timeout = true, }, .probe = brcmuart_probe, .remove = brcmuart_remove, diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f57bbd32ef11..616f5197378a 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -795,6 +795,7 @@ static struct platform_driver dw8250_platform_driver = { .pm = &dw8250_pm_ops, .of_match_table = dw8250_of_match, .acpi_match_table = dw8250_acpi_match, + .probe_no_timeout = true, }, .probe = dw8250_probe, .remove = dw8250_remove, diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index f8e99995eee9..0dc9a2e45cf2 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c @@ -151,6 +151,7 @@ static struct platform_driver serial8250_em_platform_driver = { .driver = { .name = "serial8250-em", .of_match_table = serial8250_em_dt_ids, + .probe_no_timeout = true, }, .probe = serial8250_em_probe, .remove = serial8250_em_remove, diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index cff91aa03f29..dc595a4a49a0 100644 --- a/drivers/tty/serial/8250/8250_ingenic.c +++ b/drivers/tty/serial/8250/8250_ingenic.c @@ -341,6 +341,7 @@ static struct platform_driver ingenic_uart_platform_driver = { .driver = { .name = "ingenic-uart", .of_match_table = of_match, + .probe_no_timeout = true, }, .probe = ingenic_uart_probe, .remove = ingenic_uart_remove, diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c index 570e25d6f37e..d9c91c57331c 100644 --- a/drivers/tty/serial/8250/8250_lpc18xx.c +++ b/drivers/tty/serial/8250/8250_lpc18xx.c @@ -215,6 +215,7 @@ static struct platform_driver lpc18xx_serial_driver = { .driver = { .name = "lpc18xx-uart", .of_match_table = lpc18xx_serial_match, + .probe_no_timeout = true, }, }; module_platform_driver(lpc18xx_serial_driver); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 54051ec7b499..85e8a19c0929 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -671,6 +671,7 @@ static struct platform_driver mtk8250_platform_driver = { .name = "mt6577-uart", .pm = &mtk8250_pm_ops, .of_match_table = mtk8250_of_match, + .probe_no_timeout = true, }, .probe = mtk8250_probe, .remove = mtk8250_remove, diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 5a699a1aa79c..580abd22d3c6 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -343,6 +343,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .probe_no_timeout = true, .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index ac8bfa042391..8d83597174b4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1694,6 +1694,7 @@ static struct platform_driver omap8250_platform_driver = { .name = "omap8250", .pm = &omap8250_dev_pm_ops, .of_match_table = omap8250_dt_ids, + .probe_no_timeout = true, }, .probe = omap8250_probe, .remove = omap8250_remove, diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 795e55142d4c..9f7bb52fabbe 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -165,6 +165,7 @@ static struct platform_driver serial_pxa_driver = { .name = "pxa2xx-uart", .pm = &serial_pxa_pm_ops, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..45630f7d9e98 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -187,6 +187,7 @@ static struct platform_driver tegra_uart_driver = { .pm = &tegra_uart_pm_ops, .of_match_table = tegra_uart_of_match, .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), + .probe_no_timeout = true, }, .probe = tegra_uart_probe, .remove = tegra_uart_remove, diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c index a2978abab0db..7fdf45c4513d 100644 --- a/drivers/tty/serial/8250/8250_uniphier.c +++ b/drivers/tty/serial/8250/8250_uniphier.c @@ -297,6 +297,7 @@ static struct platform_driver uniphier_uart_platform_driver = { .driver = { .name = "uniphier-uart", .of_match_table = uniphier_uart_match, + .probe_no_timeout = true, .pm = &uniphier_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index cb791c5149a3..548934284691 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -493,6 +493,7 @@ static struct platform_driver altera_jtaguart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_jtaguart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 8b749ed557c6..25c834f900eb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -645,6 +645,7 @@ static struct platform_driver altera_uart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_uart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 97ef41cb2721..eae866568f14 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2912,6 +2912,7 @@ static struct platform_driver arm_sbsa_uart_platform_driver = { .pm = &pl011_dev_pm_ops, .of_match_table = of_match_ptr(sbsa_uart_of_match), .acpi_match_table = ACPI_PTR(sbsa_uart_acpi_match), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_AMBA_PL011), }, }; diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 9ef82d870ff2..72c1b7884a3b 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -583,6 +583,7 @@ static struct platform_driver grlib_apbuart_of_driver = { .driver = { .name = "grlib-apbuart", .of_match_table = apbuart_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 6269dbf93546..f0013be1a7c7 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -842,6 +842,7 @@ static struct platform_driver ar933x_uart_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ar933x_uart_of_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2a09e92ef9ed..7998c285fc6c 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c @@ -650,6 +650,7 @@ static struct platform_driver arc_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = arc_uart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dd1c7e4bd1c9..ff74ea97b305 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -3020,6 +3020,7 @@ static struct platform_driver atmel_serial_driver = { .driver = { .name = "atmel_usart_serial", .of_match_table = of_match_ptr(atmel_serial_dt_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 53b43174aa40..d91c49c50ac6 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -890,6 +890,7 @@ static struct platform_driver bcm_uart_platform_driver = { .driver = { .name = "bcm63xx_uart", .of_match_table = bcm63xx_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index b9b66ad31a08..b81710802937 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -528,6 +528,7 @@ static struct platform_driver clps711x_uart_platform = { .driver = { .name = "clps711x-uart", .of_match_table = of_match_ptr(clps711x_uart_dt_ids), + .probe_no_timeout = true, }, .probe = uart_clps711x_probe, .remove = uart_clps711x_remove, diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index db07d6a5d764..ff269637bc28 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c @@ -1470,6 +1470,7 @@ static struct platform_driver cpm_uart_driver = { .driver = { .name = "cpm_uart", .of_match_table = cpm_uart_match, + .probe_no_timeout = true, }, .probe = cpm_uart_probe, .remove = cpm_uart_remove, diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index af951e6a2ef4..b2148b48d195 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -524,6 +524,7 @@ static struct platform_driver digicolor_uart_platform = { .driver = { .name = "digicolor-usart", .of_match_table = of_match_ptr(digicolor_uart_dt_ids), + .probe_no_timeout = true, }, .probe = digicolor_uart_probe, .remove = digicolor_uart_remove, diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 98bb0c315e13..08514238af36 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -889,6 +889,7 @@ static struct platform_driver linflex_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = linflex_dt_ids, + .probe_no_timeout = true, .pm = &linflex_pm_ops, }, }; diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 0d6e62f6bb07..64e969278c72 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2857,6 +2857,7 @@ static struct platform_driver lpuart_driver = { .driver = { .name = "fsl-lpuart", .of_match_table = lpuart_dt_ids, + .probe_no_timeout = true, .pm = &lpuart_pm_ops, }, }; diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 30edb35a6a15..deb2539d0fbc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2604,6 +2604,7 @@ static struct platform_driver imx_uart_platform_driver = { .driver = { .name = "imx-uart", .of_match_table = imx_uart_dt_ids, + .probe_no_timeout = true, .pm = &imx_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index a3120c3347dd..279ee1ba6ae1 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -942,6 +942,7 @@ static struct platform_driver lqasc_driver = { .driver = { .name = DRVNAME, .of_match_table = ltq_asc_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 328b50521f14..e92cf2a1b4cc 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -324,6 +324,7 @@ static struct platform_driver liteuart_platform_driver = { .driver = { .name = "liteuart", .of_match_table = liteuart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 93140cac1ca1..bb655bd7f678 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c @@ -727,6 +727,7 @@ static struct platform_driver serial_hs_lpc32xx_driver = { .driver = { .name = MODNAME, .of_match_table = serial_hs_lpc32xx_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a0b6ea52d133..09e3cee4e0ce 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1504,6 +1504,7 @@ static struct spi_driver max310x_spi_driver = { .driver = { .name = MAX310X_NAME, .of_match_table = max310x_dt_ids, + .probe_no_timeout = true, .pm = &max310x_pm_ops, }, .probe = max310x_spi_probe, diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 4869c0059c98..f0104d85484e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -826,6 +826,7 @@ static struct platform_driver meson_uart_platform_driver = { .driver = { .name = "meson_uart", .of_match_table = meson_uart_dt_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/milbeaut_usio.c b/drivers/tty/serial/milbeaut_usio.c index 347088bb380e..e175e6e0e7c7 100644 --- a/drivers/tty/serial/milbeaut_usio.c +++ b/drivers/tty/serial/milbeaut_usio.c @@ -576,6 +576,7 @@ static struct platform_driver mlb_usio_driver = { .driver = { .name = USIO_NAME, .of_match_table = mlb_usio_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index e50f069b5ebb..da9c60baf0ed 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c @@ -1885,6 +1885,7 @@ static struct platform_driver mpc52xx_uart_of_driver = { .driver = { .name = "mpc52xx-psc-uart", .of_match_table = mpc52xx_uart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c index 5e9429dcc51f..4cb82ebe0ec7 100644 --- a/drivers/tty/serial/mps2-uart.c +++ b/drivers/tty/serial/mps2-uart.c @@ -634,6 +634,7 @@ static struct platform_driver mps2_serial_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(mps2_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index e676ec761f18..989a5cc8612c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1890,6 +1890,7 @@ static struct platform_driver msm_platform_driver = { .name = "msm_serial", .pm = &msm_serial_dev_pm_ops, .of_match_table = msm_match_table, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0429c2a54290..b5b49773fcce 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -1049,6 +1049,7 @@ static struct platform_driver mvebu_uart_platform_driver = { .driver = { .name = "mvebu-uart", .of_match_table = of_match_ptr(mvebu_uart_of_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, #if defined(CONFIG_PM) .pm = &mvebu_uart_pm_ops, diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 1944daf8593a..8bd871b5f263 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1725,6 +1725,7 @@ static struct platform_driver mxs_auart_driver = { .driver = { .name = "mxs-auart", .of_match_table = mxs_auart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 46f4d4cacb6e..2e61d9cbbecb 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1834,6 +1834,7 @@ static struct platform_driver serial_omap_driver = { .name = OMAP_SERIAL_DRIVER_NAME, .pm = &serial_omap_dev_pm_ops, .of_match_table = of_match_ptr(omap_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 44d20e5a7dd3..858223abab9d 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -766,6 +766,7 @@ static struct platform_driver owl_uart_platform_driver = { .driver = { .name = "owl-uart", .of_match_table = owl_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index b399aac530fe..3f08ac2f38b4 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -986,6 +986,7 @@ static struct platform_driver pic32_uart_platform_driver = { .driver = { .name = PIC32_DEV_NAME, .of_match_table = of_match_ptr(pic32_serial_dt_ids), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_PIC32), }, }; diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 3133446e806c..552efe9eef7b 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -1790,6 +1790,7 @@ static struct macio_driver pmz_driver = { .name = "pmac_zilog", .owner = THIS_MODULE, .of_match_table = pmz_match, + .probe_no_timeout = true, }, .probe = pmz_attach, .remove = pmz_detach, diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index e80ba8e10407..b0b91f69b24c 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -910,6 +910,7 @@ static struct platform_driver serial_pxa_driver = { #endif .suppress_bind_attrs = true, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a233bd0c..c47cfd4a5ea5 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1541,6 +1541,7 @@ static struct platform_driver qcom_geni_serial_platform_driver = { .driver = { .name = "qcom_geni_serial", .of_match_table = qcom_geni_serial_match_table, + .probe_no_timeout = true, .pm = &qcom_geni_serial_pm_ops, }, }; diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index f556b4955f59..9e7927de0972 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -797,6 +797,7 @@ static struct platform_driver rda_uart_platform_driver = { .driver = { .name = "rda-uart", .of_match_table = rda_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index d5ca904def34..e3d77bc2420f 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2939,6 +2939,7 @@ static struct platform_driver samsung_serial_driver = { .name = "samsung-uart", .pm = SERIAL_SAMSUNG_PM_OPS, .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 8472bf70477c..dfc455850908 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1652,6 +1652,7 @@ static struct spi_driver sc16is7xx_spi_uart_driver = { .driver = { .name = SC16IS7XX_NAME, .of_match_table = sc16is7xx_dt_ids, + .probe_no_timeout = true, }, .probe = sc16is7xx_spi_probe, .remove = sc16is7xx_spi_remove, diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index d942ab152f5a..240166a36569 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1653,6 +1653,7 @@ static struct platform_driver tegra_uart_platform_driver = { .driver = { .name = "serial-tegra", .of_match_table = tegra_uart_of_match, + .probe_no_timeout = true, .pm = &tegra_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0075a1420005..ee90562c7e8d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3396,6 +3396,7 @@ static struct platform_driver sci_driver = { .name = "sh-sci", .pm = &sci_dev_pm_ops, .of_match_table = of_match_ptr(of_sci_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c index c0869b080cc3..a9f3a4562205 100644 --- a/drivers/tty/serial/sifive.c +++ b/drivers/tty/serial/sifive.c @@ -1066,6 +1066,7 @@ static struct platform_driver sifive_serial_platform_driver = { .driver = { .name = SIFIVE_SERIAL_NAME, .of_match_table = of_match_ptr(sifive_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 4329b9c9cbf0..6c01e647bc4d 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -1278,6 +1278,7 @@ static struct platform_driver sprd_platform_driver = { .driver = { .name = "sprd_serial", .of_match_table = of_match_ptr(serial_ids), + .probe_no_timeout = true, .pm = &sprd_pm_ops, }, }; diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 1b0da603ab54..a01c10522bb6 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -973,6 +973,7 @@ static struct platform_driver asc_serial_driver = { .name = DRIVER_NAME, .pm = &asc_serial_pm_ops, .of_match_table = of_match_ptr(asc_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index b7b44f4050d4..5aa01cd6f24f 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -2019,6 +2019,7 @@ static struct platform_driver stm32_serial_driver = { .name = DRIVER_NAME, .pm = &stm32_serial_pm_ops, .of_match_table = of_match_ptr(stm32_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index eafada8fb6fa..05bf49af8328 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c @@ -630,6 +630,7 @@ static struct platform_driver hv_driver = { .driver = { .name = "hv", .of_match_table = hv_match, + .probe_no_timeout = true, }, .probe = hv_probe, .remove = hv_remove, diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c index 60c73662f955..b5b09aedab9c 100644 --- a/drivers/tty/serial/sunplus-uart.c +++ b/drivers/tty/serial/sunplus-uart.c @@ -709,6 +709,7 @@ static struct platform_driver sunplus_uart_platform_driver = { .driver = { .name = "sunplus_uart", .of_match_table = sp_uart_of_match, + .probe_no_timeout = true, .pm = &sunplus_uart_pm_ops, } }; diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index 6ea52293d9f3..3d2eea131a67 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c @@ -1103,6 +1103,7 @@ static struct platform_driver sab_driver = { .driver = { .name = "sab", .of_match_table = sab_match, + .probe_no_timeout = true, }, .probe = sab_probe, .remove = sab_remove, diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index fff50b5b82eb..598691174e08 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -1566,6 +1566,7 @@ static struct platform_driver su_driver = { .driver = { .name = "su", .of_match_table = su_match, + .probe_no_timeout = true, }, .probe = su_probe, .remove = su_remove, diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c14275d83b0b..15dc30f493d9 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1541,6 +1541,7 @@ static struct platform_driver zs_driver = { .driver = { .name = "zs", .of_match_table = zs_match, + .probe_no_timeout = true, }, .probe = zs_probe, .remove = zs_remove, diff --git a/drivers/tty/serial/tegra-tcu.c b/drivers/tty/serial/tegra-tcu.c index 4877c54c613d..aa0ba869e590 100644 --- a/drivers/tty/serial/tegra-tcu.c +++ b/drivers/tty/serial/tegra-tcu.c @@ -292,6 +292,7 @@ static struct platform_driver tegra_tcu_driver = { .driver = { .name = "tegra-tcu", .of_match_table = tegra_tcu_match, + .probe_no_timeout = true, }, .probe = tegra_tcu_probe, .remove = tegra_tcu_remove, diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 880e2afbb97b..a7f600e57a25 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -919,6 +919,7 @@ static struct platform_driver ulite_platform_driver = { .driver = { .name = "uartlite", .of_match_table = of_match_ptr(ulite_of_match), + .probe_no_timeout = true, .pm = &ulite_pm_ops, }, }; diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6000853973c1..a2e637876db0 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1500,6 +1500,7 @@ static struct platform_driver ucc_uart_of_driver = { .driver = { .name = "ucc_uart", .of_match_table = ucc_uart_match, + .probe_no_timeout = true, }, .probe = ucc_uart_probe, .remove = ucc_uart_remove, diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 6f08136ce78a..074b4e8b61b6 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -722,6 +722,7 @@ static struct platform_driver vt8500_platform_driver = { .driver = { .name = "vt8500_serial", .of_match_table = wmt_dt_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9e01fe6c0ab8..7e941c7e819e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1656,6 +1656,7 @@ static struct platform_driver cdns_uart_platform_driver = { .driver = { .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, + .probe_no_timeout = true, .pm = &cdns_uart_dev_pm_ops, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_XILINX_PS_UART), }, -- 2.37.0.rc0.161.g10f37bed90-goog _______________________________________________ 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 C5536C43334 for ; Tue, 28 Jun 2022 02:42:47 +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:From:Subject:References: Mime-Version:Message-Id:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Uj8cfCQAtuNEbBi/ClMWZzhWTzIW8TWVwuzWdSaXY4g=; b=NAUgchnZ1/aNe5G9Jd/sBkRNiA I/wXp5pS7cqeB8a4/fWuPqrSSiEcNEVDytD/QJoeVWQbUAR7MMhcML+sM1CGdc2DPj44nDYNcEb31 EAtpEvpmbzMDh38M7MHb+IH7XGY5yzhpnFasqW8gUgaDvdpZpRICl4ujre7qg9nfrxXu0b7zQYwJP IpCgVIEZ6w5FthjPCo+yt9W2k87uYeU4x/T+rBktSkKBHwPkHcMtPL6Iod68wvc2sNVm8dxm4utoK 6dx5fkKDjDW8cH1J0yuIe+JHIagWmkn8VtMhZqmC1ZBv03HF+LGyfu1MwALJYM5Gg6ZLssi0jr0Td S7R0UIvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o61Bb-003rHC-5q; Tue, 28 Jun 2022 02:42:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o617L-003of8-U0 for linux-snps-arc@bombadil.infradead.org; Tue, 28 Jun 2022 02:38:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Cc:To:From:Subject: References:Mime-Version:Message-Id:In-Reply-To:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=PoBfMXNMJ0UfWOuS8lqx2CsETe 214jBaN/zyBip0Q6X3C7U5tkRSPVzrS9PjU85B5U0AuLMevvAfMkUlcuHHmq2p8xmPZTYve8eHfgl 6rJhsqAIHlAxiV3gdToosVgau7tqOCk7IP/IMYqH+lA86THtp0rv7s2sQ8qAtjsV7pbjtdvPBU9EP 7n9KiRf0NgX4Rby+9YlcbYU4ESKOrYBMLLu9F7G9o2DWl9PNVC1nqv3NctYXtV4eB4vjba3QmB27v Q5MgRrWuFq4/x3v0+V1Ec2bqA2EvqRPDG9XYf9mCedDdNtMiS+Rc2Wi5TrbpJ5oi0owDC8kcHJrbJ XR5SIbrQ==; Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o60Zb-00DoS5-NI for linux-snps-arc@lists.infradead.org; Tue, 28 Jun 2022 02:03:44 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-31859b57239so91534497b3.3 for ; Mon, 27 Jun 2022 19:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tZazYfWqPcug8WNmRossg5oipKgo77iefyCMqnHhTitZ/Sv8YfR95twQm9aK30hdZW ua9MdW9VXN0O7tqZRMVlzt5QxiVEotkdX7MtUDdH531h1+43Uf9zHo6TCcYKUvXIHvxJ JV2Z8TKtz5IO721EFl27cWPTiWUIsFliEeAdguF6sS7KVsTqHrpdwac+5KfBq1IdCx9z rH9CezikHE/fjlfixLHE+xpZd5e7Ey01hNXJ81kPa73u7ek499zLwXaH8hrPh8WsICqy bhTTtOC/97yK5CNxSjUi5BQ9tPqkV3122ilIkvGGkWHDMm85vLq1kEkzU4Xu1SwXW5M2 OkWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=oAeHEeUCH6LzTjDoa10JG67ace7IQjInLb7Y2mmz7b7Iyc5BbS8uzlAr3c5DR5utUW 2PIStHSImRb1Gb+VsxOHcASWI6OV5B33bND2d7G+Zzhj3TJxQvVAeCb8MVU+Fi/UWIKz 5T8xADW7WFEBpP9AERhAvV5Hv92Z37Z/rxP8yjJIHwBfvatOCMV4buiIaaYCceUzhJSM OiDWI/HGRPXUc/uoxLgP+IbNPukX8S58YXiOwu7eu3JUGZq+GWkEnSRu4f8ptxhhevK1 k7P272UJ+uI2+a8lZVRJd05s/8e/rVVPUsnG/bm7SMaXMNC4mNm/4c8lLojtJ0HCdwhZ ML9Q== X-Gm-Message-State: AJIora+LCcnxRtdK5rOiMNuc/U1UlCgEpf+sRJyzYZC9hzofj3XMQzBe 1DvazXlvabFejDjUtAEZA9qqQ3AwT92pnZw= X-Google-Smtp-Source: AGRyM1vAtXn/7Fp/6H2tWm79D2E/cuS07Z4vvtV7VYTHWvXhiS3plNYDiH6yd2eO+KsjPlD1xvpzSqGrQp700Gs= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a25:da0b:0:b0:66c:850f:1b71 with SMTP id n11-20020a25da0b000000b0066c850f1b71mr17529281ybf.336.1656381796780; Mon, 27 Jun 2022 19:03:16 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:03 -0700 In-Reply-To: <20220628020110.1601693-1-saravanak@google.com> Message-Id: <20220628020110.1601693-3-saravanak@google.com> Mime-Version: 1.0 References: <20220628020110.1601693-1-saravanak@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 2/2] serial: Set probe_no_timeout for all DT based drivers 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, Ahmad Fatoum X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_030332_619017_E0C3A55A X-CRM114-Status: GOOD ( 17.35 ) 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 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. Fixes: 71066545b48e ("driver core: Set fw_devlink.strict=1 by default") Reported-by: Sascha Hauer Reported-by: Peng Fan Reported-by: Fabio Estevam Reported-by: Ahmad Fatoum Signed-off-by: Saravana Kannan --- 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 + 67 files changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 19d32cb6af84..6de710da99be 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -739,6 +739,7 @@ static struct platform_driver ehv_bc_tty_driver = { .driver = { .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, .probe = ehv_bc_tty_probe, diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c7968aecd870..f9760598c836 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -474,6 +474,7 @@ static struct platform_driver goldfish_tty_platform_driver = { .driver = { .name = "goldfish_tty", .of_match_table = goldfish_tty_of_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 794c7b18aa06..08202c2f8ead 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -253,6 +253,7 @@ static struct platform_driver hvc_opal_driver = { .driver = { .name = hvc_opal_name, .of_match_table = hvc_opal_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 758c4aa203ab..5a6f2f67de4f 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c @@ -114,7 +114,6 @@ static const struct ecard_id serial_cids[] = { static struct ecard_driver serial_card_driver = { .probe = serial_card_probe, .remove = serial_card_remove, - .id_table = serial_cids, .drv = { .name = "8250_acorn", }, diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c index 9d2a7856784f..ca4b89ae13a4 100644 --- a/drivers/tty/serial/8250/8250_aspeed_vuart.c +++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c @@ -592,6 +592,7 @@ static struct platform_driver aspeed_vuart_driver = { .driver = { .name = "aspeed-vuart", .of_match_table = aspeed_vuart_table, + .probe_no_timeout = true, }, .probe = aspeed_vuart_probe, .remove = aspeed_vuart_remove, diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..6c00ba7a123a 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -223,6 +223,7 @@ static struct platform_driver bcm2835aux_serial_driver = { .name = "bcm2835-aux-uart", .of_match_table = bcm2835aux_serial_match, .acpi_match_table = bcm2835aux_serial_acpi_match, + .probe_no_timeout = true, }, .probe = bcm2835aux_serial_probe, .remove = bcm2835aux_serial_remove, diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 9b878d023dac..7898dcbff07e 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -1193,6 +1193,7 @@ static struct platform_driver brcmuart_platform_driver = { .name = "bcm7271-uart", .pm = &brcmuart_dev_pm_ops, .of_match_table = brcmuart_dt_ids, + .probe_no_timeout = true, }, .probe = brcmuart_probe, .remove = brcmuart_remove, diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f57bbd32ef11..616f5197378a 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -795,6 +795,7 @@ static struct platform_driver dw8250_platform_driver = { .pm = &dw8250_pm_ops, .of_match_table = dw8250_of_match, .acpi_match_table = dw8250_acpi_match, + .probe_no_timeout = true, }, .probe = dw8250_probe, .remove = dw8250_remove, diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index f8e99995eee9..0dc9a2e45cf2 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c @@ -151,6 +151,7 @@ static struct platform_driver serial8250_em_platform_driver = { .driver = { .name = "serial8250-em", .of_match_table = serial8250_em_dt_ids, + .probe_no_timeout = true, }, .probe = serial8250_em_probe, .remove = serial8250_em_remove, diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index cff91aa03f29..dc595a4a49a0 100644 --- a/drivers/tty/serial/8250/8250_ingenic.c +++ b/drivers/tty/serial/8250/8250_ingenic.c @@ -341,6 +341,7 @@ static struct platform_driver ingenic_uart_platform_driver = { .driver = { .name = "ingenic-uart", .of_match_table = of_match, + .probe_no_timeout = true, }, .probe = ingenic_uart_probe, .remove = ingenic_uart_remove, diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c index 570e25d6f37e..d9c91c57331c 100644 --- a/drivers/tty/serial/8250/8250_lpc18xx.c +++ b/drivers/tty/serial/8250/8250_lpc18xx.c @@ -215,6 +215,7 @@ static struct platform_driver lpc18xx_serial_driver = { .driver = { .name = "lpc18xx-uart", .of_match_table = lpc18xx_serial_match, + .probe_no_timeout = true, }, }; module_platform_driver(lpc18xx_serial_driver); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 54051ec7b499..85e8a19c0929 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -671,6 +671,7 @@ static struct platform_driver mtk8250_platform_driver = { .name = "mt6577-uart", .pm = &mtk8250_pm_ops, .of_match_table = mtk8250_of_match, + .probe_no_timeout = true, }, .probe = mtk8250_probe, .remove = mtk8250_remove, diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 5a699a1aa79c..580abd22d3c6 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -343,6 +343,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .probe_no_timeout = true, .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index ac8bfa042391..8d83597174b4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1694,6 +1694,7 @@ static struct platform_driver omap8250_platform_driver = { .name = "omap8250", .pm = &omap8250_dev_pm_ops, .of_match_table = omap8250_dt_ids, + .probe_no_timeout = true, }, .probe = omap8250_probe, .remove = omap8250_remove, diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 795e55142d4c..9f7bb52fabbe 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -165,6 +165,7 @@ static struct platform_driver serial_pxa_driver = { .name = "pxa2xx-uart", .pm = &serial_pxa_pm_ops, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..45630f7d9e98 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -187,6 +187,7 @@ static struct platform_driver tegra_uart_driver = { .pm = &tegra_uart_pm_ops, .of_match_table = tegra_uart_of_match, .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), + .probe_no_timeout = true, }, .probe = tegra_uart_probe, .remove = tegra_uart_remove, diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c index a2978abab0db..7fdf45c4513d 100644 --- a/drivers/tty/serial/8250/8250_uniphier.c +++ b/drivers/tty/serial/8250/8250_uniphier.c @@ -297,6 +297,7 @@ static struct platform_driver uniphier_uart_platform_driver = { .driver = { .name = "uniphier-uart", .of_match_table = uniphier_uart_match, + .probe_no_timeout = true, .pm = &uniphier_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index cb791c5149a3..548934284691 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -493,6 +493,7 @@ static struct platform_driver altera_jtaguart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_jtaguart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 8b749ed557c6..25c834f900eb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -645,6 +645,7 @@ static struct platform_driver altera_uart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_uart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 97ef41cb2721..eae866568f14 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2912,6 +2912,7 @@ static struct platform_driver arm_sbsa_uart_platform_driver = { .pm = &pl011_dev_pm_ops, .of_match_table = of_match_ptr(sbsa_uart_of_match), .acpi_match_table = ACPI_PTR(sbsa_uart_acpi_match), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_AMBA_PL011), }, }; diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 9ef82d870ff2..72c1b7884a3b 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -583,6 +583,7 @@ static struct platform_driver grlib_apbuart_of_driver = { .driver = { .name = "grlib-apbuart", .of_match_table = apbuart_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 6269dbf93546..f0013be1a7c7 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -842,6 +842,7 @@ static struct platform_driver ar933x_uart_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ar933x_uart_of_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2a09e92ef9ed..7998c285fc6c 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c @@ -650,6 +650,7 @@ static struct platform_driver arc_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = arc_uart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dd1c7e4bd1c9..ff74ea97b305 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -3020,6 +3020,7 @@ static struct platform_driver atmel_serial_driver = { .driver = { .name = "atmel_usart_serial", .of_match_table = of_match_ptr(atmel_serial_dt_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 53b43174aa40..d91c49c50ac6 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -890,6 +890,7 @@ static struct platform_driver bcm_uart_platform_driver = { .driver = { .name = "bcm63xx_uart", .of_match_table = bcm63xx_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index b9b66ad31a08..b81710802937 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -528,6 +528,7 @@ static struct platform_driver clps711x_uart_platform = { .driver = { .name = "clps711x-uart", .of_match_table = of_match_ptr(clps711x_uart_dt_ids), + .probe_no_timeout = true, }, .probe = uart_clps711x_probe, .remove = uart_clps711x_remove, diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index db07d6a5d764..ff269637bc28 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c @@ -1470,6 +1470,7 @@ static struct platform_driver cpm_uart_driver = { .driver = { .name = "cpm_uart", .of_match_table = cpm_uart_match, + .probe_no_timeout = true, }, .probe = cpm_uart_probe, .remove = cpm_uart_remove, diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index af951e6a2ef4..b2148b48d195 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -524,6 +524,7 @@ static struct platform_driver digicolor_uart_platform = { .driver = { .name = "digicolor-usart", .of_match_table = of_match_ptr(digicolor_uart_dt_ids), + .probe_no_timeout = true, }, .probe = digicolor_uart_probe, .remove = digicolor_uart_remove, diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 98bb0c315e13..08514238af36 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -889,6 +889,7 @@ static struct platform_driver linflex_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = linflex_dt_ids, + .probe_no_timeout = true, .pm = &linflex_pm_ops, }, }; diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 0d6e62f6bb07..64e969278c72 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2857,6 +2857,7 @@ static struct platform_driver lpuart_driver = { .driver = { .name = "fsl-lpuart", .of_match_table = lpuart_dt_ids, + .probe_no_timeout = true, .pm = &lpuart_pm_ops, }, }; diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 30edb35a6a15..deb2539d0fbc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2604,6 +2604,7 @@ static struct platform_driver imx_uart_platform_driver = { .driver = { .name = "imx-uart", .of_match_table = imx_uart_dt_ids, + .probe_no_timeout = true, .pm = &imx_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index a3120c3347dd..279ee1ba6ae1 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -942,6 +942,7 @@ static struct platform_driver lqasc_driver = { .driver = { .name = DRVNAME, .of_match_table = ltq_asc_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 328b50521f14..e92cf2a1b4cc 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -324,6 +324,7 @@ static struct platform_driver liteuart_platform_driver = { .driver = { .name = "liteuart", .of_match_table = liteuart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 93140cac1ca1..bb655bd7f678 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c @@ -727,6 +727,7 @@ static struct platform_driver serial_hs_lpc32xx_driver = { .driver = { .name = MODNAME, .of_match_table = serial_hs_lpc32xx_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a0b6ea52d133..09e3cee4e0ce 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1504,6 +1504,7 @@ static struct spi_driver max310x_spi_driver = { .driver = { .name = MAX310X_NAME, .of_match_table = max310x_dt_ids, + .probe_no_timeout = true, .pm = &max310x_pm_ops, }, .probe = max310x_spi_probe, diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 4869c0059c98..f0104d85484e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -826,6 +826,7 @@ static struct platform_driver meson_uart_platform_driver = { .driver = { .name = "meson_uart", .of_match_table = meson_uart_dt_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/milbeaut_usio.c b/drivers/tty/serial/milbeaut_usio.c index 347088bb380e..e175e6e0e7c7 100644 --- a/drivers/tty/serial/milbeaut_usio.c +++ b/drivers/tty/serial/milbeaut_usio.c @@ -576,6 +576,7 @@ static struct platform_driver mlb_usio_driver = { .driver = { .name = USIO_NAME, .of_match_table = mlb_usio_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index e50f069b5ebb..da9c60baf0ed 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c @@ -1885,6 +1885,7 @@ static struct platform_driver mpc52xx_uart_of_driver = { .driver = { .name = "mpc52xx-psc-uart", .of_match_table = mpc52xx_uart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c index 5e9429dcc51f..4cb82ebe0ec7 100644 --- a/drivers/tty/serial/mps2-uart.c +++ b/drivers/tty/serial/mps2-uart.c @@ -634,6 +634,7 @@ static struct platform_driver mps2_serial_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(mps2_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index e676ec761f18..989a5cc8612c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1890,6 +1890,7 @@ static struct platform_driver msm_platform_driver = { .name = "msm_serial", .pm = &msm_serial_dev_pm_ops, .of_match_table = msm_match_table, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0429c2a54290..b5b49773fcce 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -1049,6 +1049,7 @@ static struct platform_driver mvebu_uart_platform_driver = { .driver = { .name = "mvebu-uart", .of_match_table = of_match_ptr(mvebu_uart_of_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, #if defined(CONFIG_PM) .pm = &mvebu_uart_pm_ops, diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 1944daf8593a..8bd871b5f263 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1725,6 +1725,7 @@ static struct platform_driver mxs_auart_driver = { .driver = { .name = "mxs-auart", .of_match_table = mxs_auart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 46f4d4cacb6e..2e61d9cbbecb 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1834,6 +1834,7 @@ static struct platform_driver serial_omap_driver = { .name = OMAP_SERIAL_DRIVER_NAME, .pm = &serial_omap_dev_pm_ops, .of_match_table = of_match_ptr(omap_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 44d20e5a7dd3..858223abab9d 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -766,6 +766,7 @@ static struct platform_driver owl_uart_platform_driver = { .driver = { .name = "owl-uart", .of_match_table = owl_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index b399aac530fe..3f08ac2f38b4 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -986,6 +986,7 @@ static struct platform_driver pic32_uart_platform_driver = { .driver = { .name = PIC32_DEV_NAME, .of_match_table = of_match_ptr(pic32_serial_dt_ids), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_PIC32), }, }; diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 3133446e806c..552efe9eef7b 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -1790,6 +1790,7 @@ static struct macio_driver pmz_driver = { .name = "pmac_zilog", .owner = THIS_MODULE, .of_match_table = pmz_match, + .probe_no_timeout = true, }, .probe = pmz_attach, .remove = pmz_detach, diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index e80ba8e10407..b0b91f69b24c 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -910,6 +910,7 @@ static struct platform_driver serial_pxa_driver = { #endif .suppress_bind_attrs = true, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a233bd0c..c47cfd4a5ea5 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1541,6 +1541,7 @@ static struct platform_driver qcom_geni_serial_platform_driver = { .driver = { .name = "qcom_geni_serial", .of_match_table = qcom_geni_serial_match_table, + .probe_no_timeout = true, .pm = &qcom_geni_serial_pm_ops, }, }; diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index f556b4955f59..9e7927de0972 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -797,6 +797,7 @@ static struct platform_driver rda_uart_platform_driver = { .driver = { .name = "rda-uart", .of_match_table = rda_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index d5ca904def34..e3d77bc2420f 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2939,6 +2939,7 @@ static struct platform_driver samsung_serial_driver = { .name = "samsung-uart", .pm = SERIAL_SAMSUNG_PM_OPS, .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 8472bf70477c..dfc455850908 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1652,6 +1652,7 @@ static struct spi_driver sc16is7xx_spi_uart_driver = { .driver = { .name = SC16IS7XX_NAME, .of_match_table = sc16is7xx_dt_ids, + .probe_no_timeout = true, }, .probe = sc16is7xx_spi_probe, .remove = sc16is7xx_spi_remove, diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index d942ab152f5a..240166a36569 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1653,6 +1653,7 @@ static struct platform_driver tegra_uart_platform_driver = { .driver = { .name = "serial-tegra", .of_match_table = tegra_uart_of_match, + .probe_no_timeout = true, .pm = &tegra_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0075a1420005..ee90562c7e8d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3396,6 +3396,7 @@ static struct platform_driver sci_driver = { .name = "sh-sci", .pm = &sci_dev_pm_ops, .of_match_table = of_match_ptr(of_sci_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c index c0869b080cc3..a9f3a4562205 100644 --- a/drivers/tty/serial/sifive.c +++ b/drivers/tty/serial/sifive.c @@ -1066,6 +1066,7 @@ static struct platform_driver sifive_serial_platform_driver = { .driver = { .name = SIFIVE_SERIAL_NAME, .of_match_table = of_match_ptr(sifive_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 4329b9c9cbf0..6c01e647bc4d 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -1278,6 +1278,7 @@ static struct platform_driver sprd_platform_driver = { .driver = { .name = "sprd_serial", .of_match_table = of_match_ptr(serial_ids), + .probe_no_timeout = true, .pm = &sprd_pm_ops, }, }; diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 1b0da603ab54..a01c10522bb6 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -973,6 +973,7 @@ static struct platform_driver asc_serial_driver = { .name = DRIVER_NAME, .pm = &asc_serial_pm_ops, .of_match_table = of_match_ptr(asc_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index b7b44f4050d4..5aa01cd6f24f 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -2019,6 +2019,7 @@ static struct platform_driver stm32_serial_driver = { .name = DRIVER_NAME, .pm = &stm32_serial_pm_ops, .of_match_table = of_match_ptr(stm32_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index eafada8fb6fa..05bf49af8328 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c @@ -630,6 +630,7 @@ static struct platform_driver hv_driver = { .driver = { .name = "hv", .of_match_table = hv_match, + .probe_no_timeout = true, }, .probe = hv_probe, .remove = hv_remove, diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c index 60c73662f955..b5b09aedab9c 100644 --- a/drivers/tty/serial/sunplus-uart.c +++ b/drivers/tty/serial/sunplus-uart.c @@ -709,6 +709,7 @@ static struct platform_driver sunplus_uart_platform_driver = { .driver = { .name = "sunplus_uart", .of_match_table = sp_uart_of_match, + .probe_no_timeout = true, .pm = &sunplus_uart_pm_ops, } }; diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index 6ea52293d9f3..3d2eea131a67 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c @@ -1103,6 +1103,7 @@ static struct platform_driver sab_driver = { .driver = { .name = "sab", .of_match_table = sab_match, + .probe_no_timeout = true, }, .probe = sab_probe, .remove = sab_remove, diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index fff50b5b82eb..598691174e08 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -1566,6 +1566,7 @@ static struct platform_driver su_driver = { .driver = { .name = "su", .of_match_table = su_match, + .probe_no_timeout = true, }, .probe = su_probe, .remove = su_remove, diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c14275d83b0b..15dc30f493d9 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1541,6 +1541,7 @@ static struct platform_driver zs_driver = { .driver = { .name = "zs", .of_match_table = zs_match, + .probe_no_timeout = true, }, .probe = zs_probe, .remove = zs_remove, diff --git a/drivers/tty/serial/tegra-tcu.c b/drivers/tty/serial/tegra-tcu.c index 4877c54c613d..aa0ba869e590 100644 --- a/drivers/tty/serial/tegra-tcu.c +++ b/drivers/tty/serial/tegra-tcu.c @@ -292,6 +292,7 @@ static struct platform_driver tegra_tcu_driver = { .driver = { .name = "tegra-tcu", .of_match_table = tegra_tcu_match, + .probe_no_timeout = true, }, .probe = tegra_tcu_probe, .remove = tegra_tcu_remove, diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 880e2afbb97b..a7f600e57a25 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -919,6 +919,7 @@ static struct platform_driver ulite_platform_driver = { .driver = { .name = "uartlite", .of_match_table = of_match_ptr(ulite_of_match), + .probe_no_timeout = true, .pm = &ulite_pm_ops, }, }; diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6000853973c1..a2e637876db0 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1500,6 +1500,7 @@ static struct platform_driver ucc_uart_of_driver = { .driver = { .name = "ucc_uart", .of_match_table = ucc_uart_match, + .probe_no_timeout = true, }, .probe = ucc_uart_probe, .remove = ucc_uart_remove, diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 6f08136ce78a..074b4e8b61b6 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -722,6 +722,7 @@ static struct platform_driver vt8500_platform_driver = { .driver = { .name = "vt8500_serial", .of_match_table = wmt_dt_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9e01fe6c0ab8..7e941c7e819e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1656,6 +1656,7 @@ static struct platform_driver cdns_uart_platform_driver = { .driver = { .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, + .probe_no_timeout = true, .pm = &cdns_uart_dev_pm_ops, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_XILINX_PS_UART), }, -- 2.37.0.rc0.161.g10f37bed90-goog _______________________________________________ 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 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 7AE15CCA482 for ; Tue, 28 Jun 2022 07:05:58 +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:From:Subject:References: Mime-Version:Message-Id:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qk6m7Yh82PGWRtIGtma2kLZuJ5g8zl991axrSoHakQk=; b=li+dXgD5wP20YfvDi/ksyq/zpl d75jNpzpTHsbzXf6Wyo7FuNlPKCwFAWipbEEcRqhZeU3+wl6uhtb0+KWYWgJfXCr2k0uZDC+uGCaw 6rgkPRBMQFKvwIltVhWbKK1YWqObxKpHCmAMQxCbSU2SPkuhBT2mH8W1HrSRn7VPVZ1OHwvYaFXfX a3kv1iHqSZh+OfLNQVwFDLZZ9vpfpInAsS2oYXkb75HvLA+49/eVcafjbRSC8pcAlagq3da9W6zB0 FS7ofEwxyBaCzT+YpBdXUl65skGjIcjb9kAr8lgJlRtnfK+jsMbge7YE/8TbOIDUi92g1BoreifKR yfH033ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o65IH-004sOp-PD; Tue, 28 Jun 2022 07:05:53 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o618J-003of8-PE for linux-amlogic@bombadil.infradead.org; Tue, 28 Jun 2022 02:39:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Cc:To:From:Subject: References:Mime-Version:Message-Id:In-Reply-To:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=PoBfMXNMJ0UfWOuS8lqx2CsETe 214jBaN/zyBip0Q6X3C7U5tkRSPVzrS9PjU85B5U0AuLMevvAfMkUlcuHHmq2p8xmPZTYve8eHfgl 6rJhsqAIHlAxiV3gdToosVgau7tqOCk7IP/IMYqH+lA86THtp0rv7s2sQ8qAtjsV7pbjtdvPBU9EP 7n9KiRf0NgX4Rby+9YlcbYU4ESKOrYBMLLu9F7G9o2DWl9PNVC1nqv3NctYXtV4eB4vjba3QmB27v Q5MgRrWuFq4/x3v0+V1Ec2bqA2EvqRPDG9XYf9mCedDdNtMiS+Rc2Wi5TrbpJ5oi0owDC8kcHJrbJ XR5SIbrQ==; Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o60Za-00DoRt-Qu for linux-amlogic@lists.infradead.org; Tue, 28 Jun 2022 02:03:44 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-31814f7654dso91897547b3.15 for ; Mon, 27 Jun 2022 19:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tZazYfWqPcug8WNmRossg5oipKgo77iefyCMqnHhTitZ/Sv8YfR95twQm9aK30hdZW ua9MdW9VXN0O7tqZRMVlzt5QxiVEotkdX7MtUDdH531h1+43Uf9zHo6TCcYKUvXIHvxJ JV2Z8TKtz5IO721EFl27cWPTiWUIsFliEeAdguF6sS7KVsTqHrpdwac+5KfBq1IdCx9z rH9CezikHE/fjlfixLHE+xpZd5e7Ey01hNXJ81kPa73u7ek499zLwXaH8hrPh8WsICqy bhTTtOC/97yK5CNxSjUi5BQ9tPqkV3122ilIkvGGkWHDMm85vLq1kEkzU4Xu1SwXW5M2 OkWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tRKIzTo7WpwI8uKr+WM7e0b2RvK7xN+9Ae4tYy6Cgqa9r7KijFPp+pFHVZVXWgLf89 HPscLMNymqIGtDT+j7J/XTxi0DU/72hQ8LREd6c+D6Dx1y3MqD3T+6u3b32+7ZBmAyYS NNyEnKeyUKfZZVGuxD/30/COllWSumkQknVUnW6J9tuPptouQ1F5/mNnCMZWzuA3gMJK ukq+dgIYXW5ypvdMwebrJHUWTfLmgornambB+1XbdG0cmYoHs/BAfUlKY/MNxeCVdj+K Qbue6P/PV+yaxBUi0UKj0/dEyDq307x37+mOZdWgQZa6tiNeFsXWjdNqXJCiSr8XAdtl uy4w== X-Gm-Message-State: AJIora+UUkBO6hhNi1bXd57Eh/OEWh89QF/EPGBsTK7A8KvinZ+eTbUQ vuyTrqIummvNxfmqiVaeQqPkbwEL2B4KRMc= X-Google-Smtp-Source: AGRyM1vAtXn/7Fp/6H2tWm79D2E/cuS07Z4vvtV7VYTHWvXhiS3plNYDiH6yd2eO+KsjPlD1xvpzSqGrQp700Gs= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a25:da0b:0:b0:66c:850f:1b71 with SMTP id n11-20020a25da0b000000b0066c850f1b71mr17529281ybf.336.1656381796780; Mon, 27 Jun 2022 19:03:16 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:03 -0700 In-Reply-To: <20220628020110.1601693-1-saravanak@google.com> Message-Id: <20220628020110.1601693-3-saravanak@google.com> Mime-Version: 1.0 References: <20220628020110.1601693-1-saravanak@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 2/2] serial: Set probe_no_timeout for all DT based drivers 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, Ahmad Fatoum X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_030332_618499_82762776 X-CRM114-Status: GOOD ( 17.45 ) X-Mailman-Approved-At: Tue, 28 Jun 2022 00:05:50 -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 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. Fixes: 71066545b48e ("driver core: Set fw_devlink.strict=1 by default") Reported-by: Sascha Hauer Reported-by: Peng Fan Reported-by: Fabio Estevam Reported-by: Ahmad Fatoum Signed-off-by: Saravana Kannan --- 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 + 67 files changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 19d32cb6af84..6de710da99be 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -739,6 +739,7 @@ static struct platform_driver ehv_bc_tty_driver = { .driver = { .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, .probe = ehv_bc_tty_probe, diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c7968aecd870..f9760598c836 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -474,6 +474,7 @@ static struct platform_driver goldfish_tty_platform_driver = { .driver = { .name = "goldfish_tty", .of_match_table = goldfish_tty_of_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 794c7b18aa06..08202c2f8ead 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -253,6 +253,7 @@ static struct platform_driver hvc_opal_driver = { .driver = { .name = hvc_opal_name, .of_match_table = hvc_opal_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 758c4aa203ab..5a6f2f67de4f 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c @@ -114,7 +114,6 @@ static const struct ecard_id serial_cids[] = { static struct ecard_driver serial_card_driver = { .probe = serial_card_probe, .remove = serial_card_remove, - .id_table = serial_cids, .drv = { .name = "8250_acorn", }, diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c index 9d2a7856784f..ca4b89ae13a4 100644 --- a/drivers/tty/serial/8250/8250_aspeed_vuart.c +++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c @@ -592,6 +592,7 @@ static struct platform_driver aspeed_vuart_driver = { .driver = { .name = "aspeed-vuart", .of_match_table = aspeed_vuart_table, + .probe_no_timeout = true, }, .probe = aspeed_vuart_probe, .remove = aspeed_vuart_remove, diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..6c00ba7a123a 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -223,6 +223,7 @@ static struct platform_driver bcm2835aux_serial_driver = { .name = "bcm2835-aux-uart", .of_match_table = bcm2835aux_serial_match, .acpi_match_table = bcm2835aux_serial_acpi_match, + .probe_no_timeout = true, }, .probe = bcm2835aux_serial_probe, .remove = bcm2835aux_serial_remove, diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 9b878d023dac..7898dcbff07e 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -1193,6 +1193,7 @@ static struct platform_driver brcmuart_platform_driver = { .name = "bcm7271-uart", .pm = &brcmuart_dev_pm_ops, .of_match_table = brcmuart_dt_ids, + .probe_no_timeout = true, }, .probe = brcmuart_probe, .remove = brcmuart_remove, diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f57bbd32ef11..616f5197378a 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -795,6 +795,7 @@ static struct platform_driver dw8250_platform_driver = { .pm = &dw8250_pm_ops, .of_match_table = dw8250_of_match, .acpi_match_table = dw8250_acpi_match, + .probe_no_timeout = true, }, .probe = dw8250_probe, .remove = dw8250_remove, diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index f8e99995eee9..0dc9a2e45cf2 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c @@ -151,6 +151,7 @@ static struct platform_driver serial8250_em_platform_driver = { .driver = { .name = "serial8250-em", .of_match_table = serial8250_em_dt_ids, + .probe_no_timeout = true, }, .probe = serial8250_em_probe, .remove = serial8250_em_remove, diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index cff91aa03f29..dc595a4a49a0 100644 --- a/drivers/tty/serial/8250/8250_ingenic.c +++ b/drivers/tty/serial/8250/8250_ingenic.c @@ -341,6 +341,7 @@ static struct platform_driver ingenic_uart_platform_driver = { .driver = { .name = "ingenic-uart", .of_match_table = of_match, + .probe_no_timeout = true, }, .probe = ingenic_uart_probe, .remove = ingenic_uart_remove, diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c index 570e25d6f37e..d9c91c57331c 100644 --- a/drivers/tty/serial/8250/8250_lpc18xx.c +++ b/drivers/tty/serial/8250/8250_lpc18xx.c @@ -215,6 +215,7 @@ static struct platform_driver lpc18xx_serial_driver = { .driver = { .name = "lpc18xx-uart", .of_match_table = lpc18xx_serial_match, + .probe_no_timeout = true, }, }; module_platform_driver(lpc18xx_serial_driver); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 54051ec7b499..85e8a19c0929 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -671,6 +671,7 @@ static struct platform_driver mtk8250_platform_driver = { .name = "mt6577-uart", .pm = &mtk8250_pm_ops, .of_match_table = mtk8250_of_match, + .probe_no_timeout = true, }, .probe = mtk8250_probe, .remove = mtk8250_remove, diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 5a699a1aa79c..580abd22d3c6 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -343,6 +343,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .probe_no_timeout = true, .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index ac8bfa042391..8d83597174b4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1694,6 +1694,7 @@ static struct platform_driver omap8250_platform_driver = { .name = "omap8250", .pm = &omap8250_dev_pm_ops, .of_match_table = omap8250_dt_ids, + .probe_no_timeout = true, }, .probe = omap8250_probe, .remove = omap8250_remove, diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 795e55142d4c..9f7bb52fabbe 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -165,6 +165,7 @@ static struct platform_driver serial_pxa_driver = { .name = "pxa2xx-uart", .pm = &serial_pxa_pm_ops, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..45630f7d9e98 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -187,6 +187,7 @@ static struct platform_driver tegra_uart_driver = { .pm = &tegra_uart_pm_ops, .of_match_table = tegra_uart_of_match, .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), + .probe_no_timeout = true, }, .probe = tegra_uart_probe, .remove = tegra_uart_remove, diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c index a2978abab0db..7fdf45c4513d 100644 --- a/drivers/tty/serial/8250/8250_uniphier.c +++ b/drivers/tty/serial/8250/8250_uniphier.c @@ -297,6 +297,7 @@ static struct platform_driver uniphier_uart_platform_driver = { .driver = { .name = "uniphier-uart", .of_match_table = uniphier_uart_match, + .probe_no_timeout = true, .pm = &uniphier_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index cb791c5149a3..548934284691 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -493,6 +493,7 @@ static struct platform_driver altera_jtaguart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_jtaguart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 8b749ed557c6..25c834f900eb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -645,6 +645,7 @@ static struct platform_driver altera_uart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_uart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 97ef41cb2721..eae866568f14 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2912,6 +2912,7 @@ static struct platform_driver arm_sbsa_uart_platform_driver = { .pm = &pl011_dev_pm_ops, .of_match_table = of_match_ptr(sbsa_uart_of_match), .acpi_match_table = ACPI_PTR(sbsa_uart_acpi_match), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_AMBA_PL011), }, }; diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 9ef82d870ff2..72c1b7884a3b 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -583,6 +583,7 @@ static struct platform_driver grlib_apbuart_of_driver = { .driver = { .name = "grlib-apbuart", .of_match_table = apbuart_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 6269dbf93546..f0013be1a7c7 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -842,6 +842,7 @@ static struct platform_driver ar933x_uart_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ar933x_uart_of_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2a09e92ef9ed..7998c285fc6c 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c @@ -650,6 +650,7 @@ static struct platform_driver arc_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = arc_uart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dd1c7e4bd1c9..ff74ea97b305 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -3020,6 +3020,7 @@ static struct platform_driver atmel_serial_driver = { .driver = { .name = "atmel_usart_serial", .of_match_table = of_match_ptr(atmel_serial_dt_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 53b43174aa40..d91c49c50ac6 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -890,6 +890,7 @@ static struct platform_driver bcm_uart_platform_driver = { .driver = { .name = "bcm63xx_uart", .of_match_table = bcm63xx_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index b9b66ad31a08..b81710802937 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -528,6 +528,7 @@ static struct platform_driver clps711x_uart_platform = { .driver = { .name = "clps711x-uart", .of_match_table = of_match_ptr(clps711x_uart_dt_ids), + .probe_no_timeout = true, }, .probe = uart_clps711x_probe, .remove = uart_clps711x_remove, diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index db07d6a5d764..ff269637bc28 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c @@ -1470,6 +1470,7 @@ static struct platform_driver cpm_uart_driver = { .driver = { .name = "cpm_uart", .of_match_table = cpm_uart_match, + .probe_no_timeout = true, }, .probe = cpm_uart_probe, .remove = cpm_uart_remove, diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index af951e6a2ef4..b2148b48d195 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -524,6 +524,7 @@ static struct platform_driver digicolor_uart_platform = { .driver = { .name = "digicolor-usart", .of_match_table = of_match_ptr(digicolor_uart_dt_ids), + .probe_no_timeout = true, }, .probe = digicolor_uart_probe, .remove = digicolor_uart_remove, diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 98bb0c315e13..08514238af36 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -889,6 +889,7 @@ static struct platform_driver linflex_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = linflex_dt_ids, + .probe_no_timeout = true, .pm = &linflex_pm_ops, }, }; diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 0d6e62f6bb07..64e969278c72 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2857,6 +2857,7 @@ static struct platform_driver lpuart_driver = { .driver = { .name = "fsl-lpuart", .of_match_table = lpuart_dt_ids, + .probe_no_timeout = true, .pm = &lpuart_pm_ops, }, }; diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 30edb35a6a15..deb2539d0fbc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2604,6 +2604,7 @@ static struct platform_driver imx_uart_platform_driver = { .driver = { .name = "imx-uart", .of_match_table = imx_uart_dt_ids, + .probe_no_timeout = true, .pm = &imx_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index a3120c3347dd..279ee1ba6ae1 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -942,6 +942,7 @@ static struct platform_driver lqasc_driver = { .driver = { .name = DRVNAME, .of_match_table = ltq_asc_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 328b50521f14..e92cf2a1b4cc 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -324,6 +324,7 @@ static struct platform_driver liteuart_platform_driver = { .driver = { .name = "liteuart", .of_match_table = liteuart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 93140cac1ca1..bb655bd7f678 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c @@ -727,6 +727,7 @@ static struct platform_driver serial_hs_lpc32xx_driver = { .driver = { .name = MODNAME, .of_match_table = serial_hs_lpc32xx_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a0b6ea52d133..09e3cee4e0ce 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1504,6 +1504,7 @@ static struct spi_driver max310x_spi_driver = { .driver = { .name = MAX310X_NAME, .of_match_table = max310x_dt_ids, + .probe_no_timeout = true, .pm = &max310x_pm_ops, }, .probe = max310x_spi_probe, diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 4869c0059c98..f0104d85484e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -826,6 +826,7 @@ static struct platform_driver meson_uart_platform_driver = { .driver = { .name = "meson_uart", .of_match_table = meson_uart_dt_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/milbeaut_usio.c b/drivers/tty/serial/milbeaut_usio.c index 347088bb380e..e175e6e0e7c7 100644 --- a/drivers/tty/serial/milbeaut_usio.c +++ b/drivers/tty/serial/milbeaut_usio.c @@ -576,6 +576,7 @@ static struct platform_driver mlb_usio_driver = { .driver = { .name = USIO_NAME, .of_match_table = mlb_usio_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index e50f069b5ebb..da9c60baf0ed 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c @@ -1885,6 +1885,7 @@ static struct platform_driver mpc52xx_uart_of_driver = { .driver = { .name = "mpc52xx-psc-uart", .of_match_table = mpc52xx_uart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c index 5e9429dcc51f..4cb82ebe0ec7 100644 --- a/drivers/tty/serial/mps2-uart.c +++ b/drivers/tty/serial/mps2-uart.c @@ -634,6 +634,7 @@ static struct platform_driver mps2_serial_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(mps2_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index e676ec761f18..989a5cc8612c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1890,6 +1890,7 @@ static struct platform_driver msm_platform_driver = { .name = "msm_serial", .pm = &msm_serial_dev_pm_ops, .of_match_table = msm_match_table, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0429c2a54290..b5b49773fcce 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -1049,6 +1049,7 @@ static struct platform_driver mvebu_uart_platform_driver = { .driver = { .name = "mvebu-uart", .of_match_table = of_match_ptr(mvebu_uart_of_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, #if defined(CONFIG_PM) .pm = &mvebu_uart_pm_ops, diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 1944daf8593a..8bd871b5f263 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1725,6 +1725,7 @@ static struct platform_driver mxs_auart_driver = { .driver = { .name = "mxs-auart", .of_match_table = mxs_auart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 46f4d4cacb6e..2e61d9cbbecb 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1834,6 +1834,7 @@ static struct platform_driver serial_omap_driver = { .name = OMAP_SERIAL_DRIVER_NAME, .pm = &serial_omap_dev_pm_ops, .of_match_table = of_match_ptr(omap_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 44d20e5a7dd3..858223abab9d 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -766,6 +766,7 @@ static struct platform_driver owl_uart_platform_driver = { .driver = { .name = "owl-uart", .of_match_table = owl_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index b399aac530fe..3f08ac2f38b4 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -986,6 +986,7 @@ static struct platform_driver pic32_uart_platform_driver = { .driver = { .name = PIC32_DEV_NAME, .of_match_table = of_match_ptr(pic32_serial_dt_ids), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_PIC32), }, }; diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 3133446e806c..552efe9eef7b 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -1790,6 +1790,7 @@ static struct macio_driver pmz_driver = { .name = "pmac_zilog", .owner = THIS_MODULE, .of_match_table = pmz_match, + .probe_no_timeout = true, }, .probe = pmz_attach, .remove = pmz_detach, diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index e80ba8e10407..b0b91f69b24c 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -910,6 +910,7 @@ static struct platform_driver serial_pxa_driver = { #endif .suppress_bind_attrs = true, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a233bd0c..c47cfd4a5ea5 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1541,6 +1541,7 @@ static struct platform_driver qcom_geni_serial_platform_driver = { .driver = { .name = "qcom_geni_serial", .of_match_table = qcom_geni_serial_match_table, + .probe_no_timeout = true, .pm = &qcom_geni_serial_pm_ops, }, }; diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index f556b4955f59..9e7927de0972 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -797,6 +797,7 @@ static struct platform_driver rda_uart_platform_driver = { .driver = { .name = "rda-uart", .of_match_table = rda_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index d5ca904def34..e3d77bc2420f 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2939,6 +2939,7 @@ static struct platform_driver samsung_serial_driver = { .name = "samsung-uart", .pm = SERIAL_SAMSUNG_PM_OPS, .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 8472bf70477c..dfc455850908 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1652,6 +1652,7 @@ static struct spi_driver sc16is7xx_spi_uart_driver = { .driver = { .name = SC16IS7XX_NAME, .of_match_table = sc16is7xx_dt_ids, + .probe_no_timeout = true, }, .probe = sc16is7xx_spi_probe, .remove = sc16is7xx_spi_remove, diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index d942ab152f5a..240166a36569 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1653,6 +1653,7 @@ static struct platform_driver tegra_uart_platform_driver = { .driver = { .name = "serial-tegra", .of_match_table = tegra_uart_of_match, + .probe_no_timeout = true, .pm = &tegra_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0075a1420005..ee90562c7e8d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3396,6 +3396,7 @@ static struct platform_driver sci_driver = { .name = "sh-sci", .pm = &sci_dev_pm_ops, .of_match_table = of_match_ptr(of_sci_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c index c0869b080cc3..a9f3a4562205 100644 --- a/drivers/tty/serial/sifive.c +++ b/drivers/tty/serial/sifive.c @@ -1066,6 +1066,7 @@ static struct platform_driver sifive_serial_platform_driver = { .driver = { .name = SIFIVE_SERIAL_NAME, .of_match_table = of_match_ptr(sifive_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 4329b9c9cbf0..6c01e647bc4d 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -1278,6 +1278,7 @@ static struct platform_driver sprd_platform_driver = { .driver = { .name = "sprd_serial", .of_match_table = of_match_ptr(serial_ids), + .probe_no_timeout = true, .pm = &sprd_pm_ops, }, }; diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 1b0da603ab54..a01c10522bb6 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -973,6 +973,7 @@ static struct platform_driver asc_serial_driver = { .name = DRIVER_NAME, .pm = &asc_serial_pm_ops, .of_match_table = of_match_ptr(asc_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index b7b44f4050d4..5aa01cd6f24f 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -2019,6 +2019,7 @@ static struct platform_driver stm32_serial_driver = { .name = DRIVER_NAME, .pm = &stm32_serial_pm_ops, .of_match_table = of_match_ptr(stm32_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index eafada8fb6fa..05bf49af8328 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c @@ -630,6 +630,7 @@ static struct platform_driver hv_driver = { .driver = { .name = "hv", .of_match_table = hv_match, + .probe_no_timeout = true, }, .probe = hv_probe, .remove = hv_remove, diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c index 60c73662f955..b5b09aedab9c 100644 --- a/drivers/tty/serial/sunplus-uart.c +++ b/drivers/tty/serial/sunplus-uart.c @@ -709,6 +709,7 @@ static struct platform_driver sunplus_uart_platform_driver = { .driver = { .name = "sunplus_uart", .of_match_table = sp_uart_of_match, + .probe_no_timeout = true, .pm = &sunplus_uart_pm_ops, } }; diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index 6ea52293d9f3..3d2eea131a67 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c @@ -1103,6 +1103,7 @@ static struct platform_driver sab_driver = { .driver = { .name = "sab", .of_match_table = sab_match, + .probe_no_timeout = true, }, .probe = sab_probe, .remove = sab_remove, diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index fff50b5b82eb..598691174e08 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -1566,6 +1566,7 @@ static struct platform_driver su_driver = { .driver = { .name = "su", .of_match_table = su_match, + .probe_no_timeout = true, }, .probe = su_probe, .remove = su_remove, diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c14275d83b0b..15dc30f493d9 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1541,6 +1541,7 @@ static struct platform_driver zs_driver = { .driver = { .name = "zs", .of_match_table = zs_match, + .probe_no_timeout = true, }, .probe = zs_probe, .remove = zs_remove, diff --git a/drivers/tty/serial/tegra-tcu.c b/drivers/tty/serial/tegra-tcu.c index 4877c54c613d..aa0ba869e590 100644 --- a/drivers/tty/serial/tegra-tcu.c +++ b/drivers/tty/serial/tegra-tcu.c @@ -292,6 +292,7 @@ static struct platform_driver tegra_tcu_driver = { .driver = { .name = "tegra-tcu", .of_match_table = tegra_tcu_match, + .probe_no_timeout = true, }, .probe = tegra_tcu_probe, .remove = tegra_tcu_remove, diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 880e2afbb97b..a7f600e57a25 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -919,6 +919,7 @@ static struct platform_driver ulite_platform_driver = { .driver = { .name = "uartlite", .of_match_table = of_match_ptr(ulite_of_match), + .probe_no_timeout = true, .pm = &ulite_pm_ops, }, }; diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6000853973c1..a2e637876db0 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1500,6 +1500,7 @@ static struct platform_driver ucc_uart_of_driver = { .driver = { .name = "ucc_uart", .of_match_table = ucc_uart_match, + .probe_no_timeout = true, }, .probe = ucc_uart_probe, .remove = ucc_uart_remove, diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 6f08136ce78a..074b4e8b61b6 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -722,6 +722,7 @@ static struct platform_driver vt8500_platform_driver = { .driver = { .name = "vt8500_serial", .of_match_table = wmt_dt_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9e01fe6c0ab8..7e941c7e819e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1656,6 +1656,7 @@ static struct platform_driver cdns_uart_platform_driver = { .driver = { .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, + .probe_no_timeout = true, .pm = &cdns_uart_dev_pm_ops, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_XILINX_PS_UART), }, -- 2.37.0.rc0.161.g10f37bed90-goog _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic 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 529F0C43334 for ; Tue, 28 Jun 2022 13:32:09 +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:From:Subject:References: Mime-Version:Message-Id:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=AbC4bBckG+lYMQqaNB3930U6cF3mALUhoW69Gxr3d4Y=; b=M/ND3V94dmp8zEPtcNrmCcnPCd HQFSvvXIrs/lMcXcRGB5+4I1CPJ+FsFUXpFM1Ddfmg53gWKwSs/Hus8hXCAp7cNB7KXi6NUcbWgsh 8Zq0ufCjxc4O64ZaItRATLylM3vxt2et9Z0KhZtDM5umMVNCY0wg7WXLSmxGlk4JZ4CNd5eUH9L4G gbfc3REl9ys9k4Wox0pMGzNmsBweq7XboseNhPOo8WxEu7YBA3mSQu4RTFP2CsHn2Qx6RtktPH5Ud aytJbLqcU2eh5UqlKUqikWJIb6ljTy1siDF4h9HiPcnVqItMuYk9tXlKQzOqj1KiTlyExeyggX714 wIzsz3bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6BJv-006QOB-Qv; Tue, 28 Jun 2022 13:31:59 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o617G-003of8-E1 for linux-riscv@bombadil.infradead.org; Tue, 28 Jun 2022 02:38:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Cc:To:From:Subject: References:Mime-Version:Message-Id:In-Reply-To:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=PoBfMXNMJ0UfWOuS8lqx2CsETe 214jBaN/zyBip0Q6X3C7U5tkRSPVzrS9PjU85B5U0AuLMevvAfMkUlcuHHmq2p8xmPZTYve8eHfgl 6rJhsqAIHlAxiV3gdToosVgau7tqOCk7IP/IMYqH+lA86THtp0rv7s2sQ8qAtjsV7pbjtdvPBU9EP 7n9KiRf0NgX4Rby+9YlcbYU4ESKOrYBMLLu9F7G9o2DWl9PNVC1nqv3NctYXtV4eB4vjba3QmB27v Q5MgRrWuFq4/x3v0+V1Ec2bqA2EvqRPDG9XYf9mCedDdNtMiS+Rc2Wi5TrbpJ5oi0owDC8kcHJrbJ XR5SIbrQ==; Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o60Zg-00DoS9-Qk for linux-riscv@lists.infradead.org; Tue, 28 Jun 2022 02:03:44 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-2fed274f3fbso91947787b3.17 for ; Mon, 27 Jun 2022 19:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tZazYfWqPcug8WNmRossg5oipKgo77iefyCMqnHhTitZ/Sv8YfR95twQm9aK30hdZW ua9MdW9VXN0O7tqZRMVlzt5QxiVEotkdX7MtUDdH531h1+43Uf9zHo6TCcYKUvXIHvxJ JV2Z8TKtz5IO721EFl27cWPTiWUIsFliEeAdguF6sS7KVsTqHrpdwac+5KfBq1IdCx9z rH9CezikHE/fjlfixLHE+xpZd5e7Ey01hNXJ81kPa73u7ek499zLwXaH8hrPh8WsICqy bhTTtOC/97yK5CNxSjUi5BQ9tPqkV3122ilIkvGGkWHDMm85vLq1kEkzU4Xu1SwXW5M2 OkWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=y+Wwnt2NblKbW2y+K6Yl0LMZh93vtK3ft58r1fF/8zI/V4hLsAxhDiS6QMRaxrZjeF v4SkI/P4NgSpeDWAewVRdA7Ux/ECBSeuaCqBBrJvy1Xic2Xp8lb4R0uLR5KZdWxTXy2k Jlp9gD5BBPoflbrRkpCzecZTh1fMdLwQtPYsK6HZmHc4lgRVW4bu74zaB6W3dCF0Yj4w ok3Sc3SpC3hgCtsCcRR+D5Ex7fEdDcoG5Vh/hEz+TP+7t5d876S8bf+kg76YJtDdzSqV U+KkGxW0hrmAjciLlTEpxM1QMQ5ExXJsx/Mzh72zu/XkPb7U2lmBvy7HhOoCUQnoJcK1 5SMw== X-Gm-Message-State: AJIora8hJuc2panVZB0gak01s1tgl7iPUJ2LTKmmNsbPZrk3Rk/CLuXI pXbzuSkh2xoH3+SuWpaWuGg09H31xUQVstg= X-Google-Smtp-Source: AGRyM1vAtXn/7Fp/6H2tWm79D2E/cuS07Z4vvtV7VYTHWvXhiS3plNYDiH6yd2eO+KsjPlD1xvpzSqGrQp700Gs= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a25:da0b:0:b0:66c:850f:1b71 with SMTP id n11-20020a25da0b000000b0066c850f1b71mr17529281ybf.336.1656381796780; Mon, 27 Jun 2022 19:03:16 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:03 -0700 In-Reply-To: <20220628020110.1601693-1-saravanak@google.com> Message-Id: <20220628020110.1601693-3-saravanak@google.com> Mime-Version: 1.0 References: <20220628020110.1601693-1-saravanak@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 2/2] serial: Set probe_no_timeout for all DT based drivers 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, Ahmad Fatoum X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_030334_118815_2133DD4F X-CRM114-Status: GOOD ( 17.35 ) X-Mailman-Approved-At: Tue, 28 Jun 2022 06:31:53 -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 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. Fixes: 71066545b48e ("driver core: Set fw_devlink.strict=1 by default") Reported-by: Sascha Hauer Reported-by: Peng Fan Reported-by: Fabio Estevam Reported-by: Ahmad Fatoum Signed-off-by: Saravana Kannan --- 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 + 67 files changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 19d32cb6af84..6de710da99be 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -739,6 +739,7 @@ static struct platform_driver ehv_bc_tty_driver = { .driver = { .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, .probe = ehv_bc_tty_probe, diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c7968aecd870..f9760598c836 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -474,6 +474,7 @@ static struct platform_driver goldfish_tty_platform_driver = { .driver = { .name = "goldfish_tty", .of_match_table = goldfish_tty_of_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 794c7b18aa06..08202c2f8ead 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -253,6 +253,7 @@ static struct platform_driver hvc_opal_driver = { .driver = { .name = hvc_opal_name, .of_match_table = hvc_opal_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 758c4aa203ab..5a6f2f67de4f 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c @@ -114,7 +114,6 @@ static const struct ecard_id serial_cids[] = { static struct ecard_driver serial_card_driver = { .probe = serial_card_probe, .remove = serial_card_remove, - .id_table = serial_cids, .drv = { .name = "8250_acorn", }, diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c index 9d2a7856784f..ca4b89ae13a4 100644 --- a/drivers/tty/serial/8250/8250_aspeed_vuart.c +++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c @@ -592,6 +592,7 @@ static struct platform_driver aspeed_vuart_driver = { .driver = { .name = "aspeed-vuart", .of_match_table = aspeed_vuart_table, + .probe_no_timeout = true, }, .probe = aspeed_vuart_probe, .remove = aspeed_vuart_remove, diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..6c00ba7a123a 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -223,6 +223,7 @@ static struct platform_driver bcm2835aux_serial_driver = { .name = "bcm2835-aux-uart", .of_match_table = bcm2835aux_serial_match, .acpi_match_table = bcm2835aux_serial_acpi_match, + .probe_no_timeout = true, }, .probe = bcm2835aux_serial_probe, .remove = bcm2835aux_serial_remove, diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 9b878d023dac..7898dcbff07e 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -1193,6 +1193,7 @@ static struct platform_driver brcmuart_platform_driver = { .name = "bcm7271-uart", .pm = &brcmuart_dev_pm_ops, .of_match_table = brcmuart_dt_ids, + .probe_no_timeout = true, }, .probe = brcmuart_probe, .remove = brcmuart_remove, diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f57bbd32ef11..616f5197378a 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -795,6 +795,7 @@ static struct platform_driver dw8250_platform_driver = { .pm = &dw8250_pm_ops, .of_match_table = dw8250_of_match, .acpi_match_table = dw8250_acpi_match, + .probe_no_timeout = true, }, .probe = dw8250_probe, .remove = dw8250_remove, diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index f8e99995eee9..0dc9a2e45cf2 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c @@ -151,6 +151,7 @@ static struct platform_driver serial8250_em_platform_driver = { .driver = { .name = "serial8250-em", .of_match_table = serial8250_em_dt_ids, + .probe_no_timeout = true, }, .probe = serial8250_em_probe, .remove = serial8250_em_remove, diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index cff91aa03f29..dc595a4a49a0 100644 --- a/drivers/tty/serial/8250/8250_ingenic.c +++ b/drivers/tty/serial/8250/8250_ingenic.c @@ -341,6 +341,7 @@ static struct platform_driver ingenic_uart_platform_driver = { .driver = { .name = "ingenic-uart", .of_match_table = of_match, + .probe_no_timeout = true, }, .probe = ingenic_uart_probe, .remove = ingenic_uart_remove, diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c index 570e25d6f37e..d9c91c57331c 100644 --- a/drivers/tty/serial/8250/8250_lpc18xx.c +++ b/drivers/tty/serial/8250/8250_lpc18xx.c @@ -215,6 +215,7 @@ static struct platform_driver lpc18xx_serial_driver = { .driver = { .name = "lpc18xx-uart", .of_match_table = lpc18xx_serial_match, + .probe_no_timeout = true, }, }; module_platform_driver(lpc18xx_serial_driver); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 54051ec7b499..85e8a19c0929 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -671,6 +671,7 @@ static struct platform_driver mtk8250_platform_driver = { .name = "mt6577-uart", .pm = &mtk8250_pm_ops, .of_match_table = mtk8250_of_match, + .probe_no_timeout = true, }, .probe = mtk8250_probe, .remove = mtk8250_remove, diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 5a699a1aa79c..580abd22d3c6 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -343,6 +343,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .probe_no_timeout = true, .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index ac8bfa042391..8d83597174b4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1694,6 +1694,7 @@ static struct platform_driver omap8250_platform_driver = { .name = "omap8250", .pm = &omap8250_dev_pm_ops, .of_match_table = omap8250_dt_ids, + .probe_no_timeout = true, }, .probe = omap8250_probe, .remove = omap8250_remove, diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 795e55142d4c..9f7bb52fabbe 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -165,6 +165,7 @@ static struct platform_driver serial_pxa_driver = { .name = "pxa2xx-uart", .pm = &serial_pxa_pm_ops, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..45630f7d9e98 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -187,6 +187,7 @@ static struct platform_driver tegra_uart_driver = { .pm = &tegra_uart_pm_ops, .of_match_table = tegra_uart_of_match, .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), + .probe_no_timeout = true, }, .probe = tegra_uart_probe, .remove = tegra_uart_remove, diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c index a2978abab0db..7fdf45c4513d 100644 --- a/drivers/tty/serial/8250/8250_uniphier.c +++ b/drivers/tty/serial/8250/8250_uniphier.c @@ -297,6 +297,7 @@ static struct platform_driver uniphier_uart_platform_driver = { .driver = { .name = "uniphier-uart", .of_match_table = uniphier_uart_match, + .probe_no_timeout = true, .pm = &uniphier_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index cb791c5149a3..548934284691 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -493,6 +493,7 @@ static struct platform_driver altera_jtaguart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_jtaguart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 8b749ed557c6..25c834f900eb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -645,6 +645,7 @@ static struct platform_driver altera_uart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_uart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 97ef41cb2721..eae866568f14 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2912,6 +2912,7 @@ static struct platform_driver arm_sbsa_uart_platform_driver = { .pm = &pl011_dev_pm_ops, .of_match_table = of_match_ptr(sbsa_uart_of_match), .acpi_match_table = ACPI_PTR(sbsa_uart_acpi_match), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_AMBA_PL011), }, }; diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 9ef82d870ff2..72c1b7884a3b 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -583,6 +583,7 @@ static struct platform_driver grlib_apbuart_of_driver = { .driver = { .name = "grlib-apbuart", .of_match_table = apbuart_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 6269dbf93546..f0013be1a7c7 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -842,6 +842,7 @@ static struct platform_driver ar933x_uart_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ar933x_uart_of_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2a09e92ef9ed..7998c285fc6c 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c @@ -650,6 +650,7 @@ static struct platform_driver arc_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = arc_uart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dd1c7e4bd1c9..ff74ea97b305 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -3020,6 +3020,7 @@ static struct platform_driver atmel_serial_driver = { .driver = { .name = "atmel_usart_serial", .of_match_table = of_match_ptr(atmel_serial_dt_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 53b43174aa40..d91c49c50ac6 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -890,6 +890,7 @@ static struct platform_driver bcm_uart_platform_driver = { .driver = { .name = "bcm63xx_uart", .of_match_table = bcm63xx_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index b9b66ad31a08..b81710802937 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -528,6 +528,7 @@ static struct platform_driver clps711x_uart_platform = { .driver = { .name = "clps711x-uart", .of_match_table = of_match_ptr(clps711x_uart_dt_ids), + .probe_no_timeout = true, }, .probe = uart_clps711x_probe, .remove = uart_clps711x_remove, diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index db07d6a5d764..ff269637bc28 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c @@ -1470,6 +1470,7 @@ static struct platform_driver cpm_uart_driver = { .driver = { .name = "cpm_uart", .of_match_table = cpm_uart_match, + .probe_no_timeout = true, }, .probe = cpm_uart_probe, .remove = cpm_uart_remove, diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index af951e6a2ef4..b2148b48d195 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -524,6 +524,7 @@ static struct platform_driver digicolor_uart_platform = { .driver = { .name = "digicolor-usart", .of_match_table = of_match_ptr(digicolor_uart_dt_ids), + .probe_no_timeout = true, }, .probe = digicolor_uart_probe, .remove = digicolor_uart_remove, diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 98bb0c315e13..08514238af36 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -889,6 +889,7 @@ static struct platform_driver linflex_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = linflex_dt_ids, + .probe_no_timeout = true, .pm = &linflex_pm_ops, }, }; diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 0d6e62f6bb07..64e969278c72 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2857,6 +2857,7 @@ static struct platform_driver lpuart_driver = { .driver = { .name = "fsl-lpuart", .of_match_table = lpuart_dt_ids, + .probe_no_timeout = true, .pm = &lpuart_pm_ops, }, }; diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 30edb35a6a15..deb2539d0fbc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2604,6 +2604,7 @@ static struct platform_driver imx_uart_platform_driver = { .driver = { .name = "imx-uart", .of_match_table = imx_uart_dt_ids, + .probe_no_timeout = true, .pm = &imx_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index a3120c3347dd..279ee1ba6ae1 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -942,6 +942,7 @@ static struct platform_driver lqasc_driver = { .driver = { .name = DRVNAME, .of_match_table = ltq_asc_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 328b50521f14..e92cf2a1b4cc 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -324,6 +324,7 @@ static struct platform_driver liteuart_platform_driver = { .driver = { .name = "liteuart", .of_match_table = liteuart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 93140cac1ca1..bb655bd7f678 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c @@ -727,6 +727,7 @@ static struct platform_driver serial_hs_lpc32xx_driver = { .driver = { .name = MODNAME, .of_match_table = serial_hs_lpc32xx_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a0b6ea52d133..09e3cee4e0ce 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1504,6 +1504,7 @@ static struct spi_driver max310x_spi_driver = { .driver = { .name = MAX310X_NAME, .of_match_table = max310x_dt_ids, + .probe_no_timeout = true, .pm = &max310x_pm_ops, }, .probe = max310x_spi_probe, diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 4869c0059c98..f0104d85484e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -826,6 +826,7 @@ static struct platform_driver meson_uart_platform_driver = { .driver = { .name = "meson_uart", .of_match_table = meson_uart_dt_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/milbeaut_usio.c b/drivers/tty/serial/milbeaut_usio.c index 347088bb380e..e175e6e0e7c7 100644 --- a/drivers/tty/serial/milbeaut_usio.c +++ b/drivers/tty/serial/milbeaut_usio.c @@ -576,6 +576,7 @@ static struct platform_driver mlb_usio_driver = { .driver = { .name = USIO_NAME, .of_match_table = mlb_usio_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index e50f069b5ebb..da9c60baf0ed 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c @@ -1885,6 +1885,7 @@ static struct platform_driver mpc52xx_uart_of_driver = { .driver = { .name = "mpc52xx-psc-uart", .of_match_table = mpc52xx_uart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c index 5e9429dcc51f..4cb82ebe0ec7 100644 --- a/drivers/tty/serial/mps2-uart.c +++ b/drivers/tty/serial/mps2-uart.c @@ -634,6 +634,7 @@ static struct platform_driver mps2_serial_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(mps2_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index e676ec761f18..989a5cc8612c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1890,6 +1890,7 @@ static struct platform_driver msm_platform_driver = { .name = "msm_serial", .pm = &msm_serial_dev_pm_ops, .of_match_table = msm_match_table, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0429c2a54290..b5b49773fcce 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -1049,6 +1049,7 @@ static struct platform_driver mvebu_uart_platform_driver = { .driver = { .name = "mvebu-uart", .of_match_table = of_match_ptr(mvebu_uart_of_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, #if defined(CONFIG_PM) .pm = &mvebu_uart_pm_ops, diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 1944daf8593a..8bd871b5f263 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1725,6 +1725,7 @@ static struct platform_driver mxs_auart_driver = { .driver = { .name = "mxs-auart", .of_match_table = mxs_auart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 46f4d4cacb6e..2e61d9cbbecb 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1834,6 +1834,7 @@ static struct platform_driver serial_omap_driver = { .name = OMAP_SERIAL_DRIVER_NAME, .pm = &serial_omap_dev_pm_ops, .of_match_table = of_match_ptr(omap_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 44d20e5a7dd3..858223abab9d 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -766,6 +766,7 @@ static struct platform_driver owl_uart_platform_driver = { .driver = { .name = "owl-uart", .of_match_table = owl_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index b399aac530fe..3f08ac2f38b4 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -986,6 +986,7 @@ static struct platform_driver pic32_uart_platform_driver = { .driver = { .name = PIC32_DEV_NAME, .of_match_table = of_match_ptr(pic32_serial_dt_ids), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_PIC32), }, }; diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 3133446e806c..552efe9eef7b 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -1790,6 +1790,7 @@ static struct macio_driver pmz_driver = { .name = "pmac_zilog", .owner = THIS_MODULE, .of_match_table = pmz_match, + .probe_no_timeout = true, }, .probe = pmz_attach, .remove = pmz_detach, diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index e80ba8e10407..b0b91f69b24c 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -910,6 +910,7 @@ static struct platform_driver serial_pxa_driver = { #endif .suppress_bind_attrs = true, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a233bd0c..c47cfd4a5ea5 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1541,6 +1541,7 @@ static struct platform_driver qcom_geni_serial_platform_driver = { .driver = { .name = "qcom_geni_serial", .of_match_table = qcom_geni_serial_match_table, + .probe_no_timeout = true, .pm = &qcom_geni_serial_pm_ops, }, }; diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index f556b4955f59..9e7927de0972 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -797,6 +797,7 @@ static struct platform_driver rda_uart_platform_driver = { .driver = { .name = "rda-uart", .of_match_table = rda_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index d5ca904def34..e3d77bc2420f 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2939,6 +2939,7 @@ static struct platform_driver samsung_serial_driver = { .name = "samsung-uart", .pm = SERIAL_SAMSUNG_PM_OPS, .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 8472bf70477c..dfc455850908 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1652,6 +1652,7 @@ static struct spi_driver sc16is7xx_spi_uart_driver = { .driver = { .name = SC16IS7XX_NAME, .of_match_table = sc16is7xx_dt_ids, + .probe_no_timeout = true, }, .probe = sc16is7xx_spi_probe, .remove = sc16is7xx_spi_remove, diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index d942ab152f5a..240166a36569 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1653,6 +1653,7 @@ static struct platform_driver tegra_uart_platform_driver = { .driver = { .name = "serial-tegra", .of_match_table = tegra_uart_of_match, + .probe_no_timeout = true, .pm = &tegra_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0075a1420005..ee90562c7e8d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3396,6 +3396,7 @@ static struct platform_driver sci_driver = { .name = "sh-sci", .pm = &sci_dev_pm_ops, .of_match_table = of_match_ptr(of_sci_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c index c0869b080cc3..a9f3a4562205 100644 --- a/drivers/tty/serial/sifive.c +++ b/drivers/tty/serial/sifive.c @@ -1066,6 +1066,7 @@ static struct platform_driver sifive_serial_platform_driver = { .driver = { .name = SIFIVE_SERIAL_NAME, .of_match_table = of_match_ptr(sifive_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 4329b9c9cbf0..6c01e647bc4d 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -1278,6 +1278,7 @@ static struct platform_driver sprd_platform_driver = { .driver = { .name = "sprd_serial", .of_match_table = of_match_ptr(serial_ids), + .probe_no_timeout = true, .pm = &sprd_pm_ops, }, }; diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 1b0da603ab54..a01c10522bb6 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -973,6 +973,7 @@ static struct platform_driver asc_serial_driver = { .name = DRIVER_NAME, .pm = &asc_serial_pm_ops, .of_match_table = of_match_ptr(asc_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index b7b44f4050d4..5aa01cd6f24f 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -2019,6 +2019,7 @@ static struct platform_driver stm32_serial_driver = { .name = DRIVER_NAME, .pm = &stm32_serial_pm_ops, .of_match_table = of_match_ptr(stm32_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index eafada8fb6fa..05bf49af8328 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c @@ -630,6 +630,7 @@ static struct platform_driver hv_driver = { .driver = { .name = "hv", .of_match_table = hv_match, + .probe_no_timeout = true, }, .probe = hv_probe, .remove = hv_remove, diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c index 60c73662f955..b5b09aedab9c 100644 --- a/drivers/tty/serial/sunplus-uart.c +++ b/drivers/tty/serial/sunplus-uart.c @@ -709,6 +709,7 @@ static struct platform_driver sunplus_uart_platform_driver = { .driver = { .name = "sunplus_uart", .of_match_table = sp_uart_of_match, + .probe_no_timeout = true, .pm = &sunplus_uart_pm_ops, } }; diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index 6ea52293d9f3..3d2eea131a67 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c @@ -1103,6 +1103,7 @@ static struct platform_driver sab_driver = { .driver = { .name = "sab", .of_match_table = sab_match, + .probe_no_timeout = true, }, .probe = sab_probe, .remove = sab_remove, diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index fff50b5b82eb..598691174e08 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -1566,6 +1566,7 @@ static struct platform_driver su_driver = { .driver = { .name = "su", .of_match_table = su_match, + .probe_no_timeout = true, }, .probe = su_probe, .remove = su_remove, diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c14275d83b0b..15dc30f493d9 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1541,6 +1541,7 @@ static struct platform_driver zs_driver = { .driver = { .name = "zs", .of_match_table = zs_match, + .probe_no_timeout = true, }, .probe = zs_probe, .remove = zs_remove, diff --git a/drivers/tty/serial/tegra-tcu.c b/drivers/tty/serial/tegra-tcu.c index 4877c54c613d..aa0ba869e590 100644 --- a/drivers/tty/serial/tegra-tcu.c +++ b/drivers/tty/serial/tegra-tcu.c @@ -292,6 +292,7 @@ static struct platform_driver tegra_tcu_driver = { .driver = { .name = "tegra-tcu", .of_match_table = tegra_tcu_match, + .probe_no_timeout = true, }, .probe = tegra_tcu_probe, .remove = tegra_tcu_remove, diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 880e2afbb97b..a7f600e57a25 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -919,6 +919,7 @@ static struct platform_driver ulite_platform_driver = { .driver = { .name = "uartlite", .of_match_table = of_match_ptr(ulite_of_match), + .probe_no_timeout = true, .pm = &ulite_pm_ops, }, }; diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6000853973c1..a2e637876db0 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1500,6 +1500,7 @@ static struct platform_driver ucc_uart_of_driver = { .driver = { .name = "ucc_uart", .of_match_table = ucc_uart_match, + .probe_no_timeout = true, }, .probe = ucc_uart_probe, .remove = ucc_uart_remove, diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 6f08136ce78a..074b4e8b61b6 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -722,6 +722,7 @@ static struct platform_driver vt8500_platform_driver = { .driver = { .name = "vt8500_serial", .of_match_table = wmt_dt_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9e01fe6c0ab8..7e941c7e819e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1656,6 +1656,7 @@ static struct platform_driver cdns_uart_platform_driver = { .driver = { .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, + .probe_no_timeout = true, .pm = &cdns_uart_dev_pm_ops, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_XILINX_PS_UART), }, -- 2.37.0.rc0.161.g10f37bed90-goog _______________________________________________ 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 8498FC433EF for ; Tue, 28 Jun 2022 07:00:39 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LXFq95QrLz3by6 for ; Tue, 28 Jun 2022 17:00:37 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=tZazYfWq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=flex--saravanak.bounces.google.com (client-ip=2607:f8b0:4864:20::114a; helo=mail-yw1-x114a.google.com; envelope-from=3zgg6ygkkdc0bjajejwjtpxxpun.lxvurwdgyyl-mneurbcb.xiujkb.xap@flex--saravanak.bounces.google.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=tZazYfWq; dkim-atps=neutral Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) (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 4LX7D71QQRz3bhm for ; Tue, 28 Jun 2022 12:03:18 +1000 (AEST) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-317ae1236feso91070567b3.11 for ; Mon, 27 Jun 2022 19:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=tZazYfWqPcug8WNmRossg5oipKgo77iefyCMqnHhTitZ/Sv8YfR95twQm9aK30hdZW ua9MdW9VXN0O7tqZRMVlzt5QxiVEotkdX7MtUDdH531h1+43Uf9zHo6TCcYKUvXIHvxJ JV2Z8TKtz5IO721EFl27cWPTiWUIsFliEeAdguF6sS7KVsTqHrpdwac+5KfBq1IdCx9z rH9CezikHE/fjlfixLHE+xpZd5e7Ey01hNXJ81kPa73u7ek499zLwXaH8hrPh8WsICqy bhTTtOC/97yK5CNxSjUi5BQ9tPqkV3122ilIkvGGkWHDMm85vLq1kEkzU4Xu1SwXW5M2 OkWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=TbUo6qLtXESTFAjobbepx6w7vljxcWK6r0xPksVpHL4=; b=Kw/U+n+Au5QivQB+oW7odlpnmAMKO4axbuob4qyt95JUwbbZNXMNmiwZFTkQckON9b /x5j5yBIhmCYPo2xhfjjj0tYIm/vHhjR0TnaTo/wGqe4pGJ4GCr9hbYE6/CrvQJZP02Q myZMLCY+RufXdjKpR8Xv6Gp1aeVw1w/bpuzL9Dtj3iPG2YmClYcPLPpTmyPezfne9snq 4Hlni2bzoC7ohFsRc7XMloQlajfHLC1+grhkO/VF9SSy0mNMpOI1cJ1+QCCI2A6hAb8y 2Un4D0LLimu5xdmyQngY59VKxLf05F6Khj7OwVsB3r7A6hB0Z5iwqF8C7LvWhjHWDrLg 28Rw== X-Gm-Message-State: AJIora8K4t7oBKLtuFN4tH5EObRKW7ha2roccZ4aQ97MgZgleCKcG/1W P9uM6KspzXhDrr2ptbeG/K390sHDMNEq1bw= X-Google-Smtp-Source: AGRyM1vAtXn/7Fp/6H2tWm79D2E/cuS07Z4vvtV7VYTHWvXhiS3plNYDiH6yd2eO+KsjPlD1xvpzSqGrQp700Gs= X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:1f27:a302:2101:1c82]) (user=saravanak job=sendgmr) by 2002:a25:da0b:0:b0:66c:850f:1b71 with SMTP id n11-20020a25da0b000000b0066c850f1b71mr17529281ybf.336.1656381796780; Mon, 27 Jun 2022 19:03:16 -0700 (PDT) Date: Mon, 27 Jun 2022 19:01:03 -0700 In-Reply-To: <20220628020110.1601693-1-saravanak@google.com> Message-Id: <20220628020110.1601693-3-saravanak@google.com> Mime-Version: 1.0 References: <20220628020110.1601693-1-saravanak@google.com> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog Subject: [PATCH v1 2/2] serial: Set probe_no_timeout for all DT based drivers 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 Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Tue, 28 Jun 2022 16:58:59 +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 , linux-aspeed@lists.ozlabs.org, linus walleij , ulf hansson , linux-mips@vger.kernel.org, eric dumazet , pavel machek , sparclinux@vger.kernel.org, linux-riscv@lists.infradead.org, will deacon , linux-stm32@st-md-mailman.stormreply.com, sascha hauer , Rob Herring , linux-samsung-soc@vger.kernel.org, Ahmad Fatoum , kevin hilman , joerg roedel , linux-serial@vger.kernel.org, jakub kicinski , paolo abeni , kernel-team@android.com, len brown , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-actions@lists.infradead.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-amlog ic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-snps-arc@lists.infradead.org, linux-unisoc@lists.infradead.org, hideaki yoshifuji , netdev@vger.kernel.org, david ahern , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, heiner kallweit Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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. Fixes: 71066545b48e ("driver core: Set fw_devlink.strict=1 by default") Reported-by: Sascha Hauer Reported-by: Peng Fan Reported-by: Fabio Estevam Reported-by: Ahmad Fatoum Signed-off-by: Saravana Kannan --- 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 + 67 files changed, 66 insertions(+), 1 deletion(-) diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 19d32cb6af84..6de710da99be 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c @@ -739,6 +739,7 @@ static struct platform_driver ehv_bc_tty_driver = { .driver = { .name = "ehv-bc", .of_match_table = ehv_bc_tty_of_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, .probe = ehv_bc_tty_probe, diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c7968aecd870..f9760598c836 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -474,6 +474,7 @@ static struct platform_driver goldfish_tty_platform_driver = { .driver = { .name = "goldfish_tty", .of_match_table = goldfish_tty_of_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index 794c7b18aa06..08202c2f8ead 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -253,6 +253,7 @@ static struct platform_driver hvc_opal_driver = { .driver = { .name = hvc_opal_name, .of_match_table = hvc_opal_match, + .probe_no_timeout = true, } }; diff --git a/drivers/tty/serial/8250/8250_acorn.c b/drivers/tty/serial/8250/8250_acorn.c index 758c4aa203ab..5a6f2f67de4f 100644 --- a/drivers/tty/serial/8250/8250_acorn.c +++ b/drivers/tty/serial/8250/8250_acorn.c @@ -114,7 +114,6 @@ static const struct ecard_id serial_cids[] = { static struct ecard_driver serial_card_driver = { .probe = serial_card_probe, .remove = serial_card_remove, - .id_table = serial_cids, .drv = { .name = "8250_acorn", }, diff --git a/drivers/tty/serial/8250/8250_aspeed_vuart.c b/drivers/tty/serial/8250/8250_aspeed_vuart.c index 9d2a7856784f..ca4b89ae13a4 100644 --- a/drivers/tty/serial/8250/8250_aspeed_vuart.c +++ b/drivers/tty/serial/8250/8250_aspeed_vuart.c @@ -592,6 +592,7 @@ static struct platform_driver aspeed_vuart_driver = { .driver = { .name = "aspeed-vuart", .of_match_table = aspeed_vuart_table, + .probe_no_timeout = true, }, .probe = aspeed_vuart_probe, .remove = aspeed_vuart_remove, diff --git a/drivers/tty/serial/8250/8250_bcm2835aux.c b/drivers/tty/serial/8250/8250_bcm2835aux.c index 2a1226a78a0c..6c00ba7a123a 100644 --- a/drivers/tty/serial/8250/8250_bcm2835aux.c +++ b/drivers/tty/serial/8250/8250_bcm2835aux.c @@ -223,6 +223,7 @@ static struct platform_driver bcm2835aux_serial_driver = { .name = "bcm2835-aux-uart", .of_match_table = bcm2835aux_serial_match, .acpi_match_table = bcm2835aux_serial_acpi_match, + .probe_no_timeout = true, }, .probe = bcm2835aux_serial_probe, .remove = bcm2835aux_serial_remove, diff --git a/drivers/tty/serial/8250/8250_bcm7271.c b/drivers/tty/serial/8250/8250_bcm7271.c index 9b878d023dac..7898dcbff07e 100644 --- a/drivers/tty/serial/8250/8250_bcm7271.c +++ b/drivers/tty/serial/8250/8250_bcm7271.c @@ -1193,6 +1193,7 @@ static struct platform_driver brcmuart_platform_driver = { .name = "bcm7271-uart", .pm = &brcmuart_dev_pm_ops, .of_match_table = brcmuart_dt_ids, + .probe_no_timeout = true, }, .probe = brcmuart_probe, .remove = brcmuart_remove, diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index f57bbd32ef11..616f5197378a 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -795,6 +795,7 @@ static struct platform_driver dw8250_platform_driver = { .pm = &dw8250_pm_ops, .of_match_table = dw8250_of_match, .acpi_match_table = dw8250_acpi_match, + .probe_no_timeout = true, }, .probe = dw8250_probe, .remove = dw8250_remove, diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index f8e99995eee9..0dc9a2e45cf2 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c @@ -151,6 +151,7 @@ static struct platform_driver serial8250_em_platform_driver = { .driver = { .name = "serial8250-em", .of_match_table = serial8250_em_dt_ids, + .probe_no_timeout = true, }, .probe = serial8250_em_probe, .remove = serial8250_em_remove, diff --git a/drivers/tty/serial/8250/8250_ingenic.c b/drivers/tty/serial/8250/8250_ingenic.c index cff91aa03f29..dc595a4a49a0 100644 --- a/drivers/tty/serial/8250/8250_ingenic.c +++ b/drivers/tty/serial/8250/8250_ingenic.c @@ -341,6 +341,7 @@ static struct platform_driver ingenic_uart_platform_driver = { .driver = { .name = "ingenic-uart", .of_match_table = of_match, + .probe_no_timeout = true, }, .probe = ingenic_uart_probe, .remove = ingenic_uart_remove, diff --git a/drivers/tty/serial/8250/8250_lpc18xx.c b/drivers/tty/serial/8250/8250_lpc18xx.c index 570e25d6f37e..d9c91c57331c 100644 --- a/drivers/tty/serial/8250/8250_lpc18xx.c +++ b/drivers/tty/serial/8250/8250_lpc18xx.c @@ -215,6 +215,7 @@ static struct platform_driver lpc18xx_serial_driver = { .driver = { .name = "lpc18xx-uart", .of_match_table = lpc18xx_serial_match, + .probe_no_timeout = true, }, }; module_platform_driver(lpc18xx_serial_driver); diff --git a/drivers/tty/serial/8250/8250_mtk.c b/drivers/tty/serial/8250/8250_mtk.c index 54051ec7b499..85e8a19c0929 100644 --- a/drivers/tty/serial/8250/8250_mtk.c +++ b/drivers/tty/serial/8250/8250_mtk.c @@ -671,6 +671,7 @@ static struct platform_driver mtk8250_platform_driver = { .name = "mt6577-uart", .pm = &mtk8250_pm_ops, .of_match_table = mtk8250_of_match, + .probe_no_timeout = true, }, .probe = mtk8250_probe, .remove = mtk8250_remove, diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index 5a699a1aa79c..580abd22d3c6 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -343,6 +343,7 @@ static struct platform_driver of_platform_serial_driver = { .driver = { .name = "of_serial", .of_match_table = of_platform_serial_table, + .probe_no_timeout = true, .pm = &of_serial_pm_ops, }, .probe = of_platform_serial_probe, diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index ac8bfa042391..8d83597174b4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -1694,6 +1694,7 @@ static struct platform_driver omap8250_platform_driver = { .name = "omap8250", .pm = &omap8250_dev_pm_ops, .of_match_table = omap8250_dt_ids, + .probe_no_timeout = true, }, .probe = omap8250_probe, .remove = omap8250_remove, diff --git a/drivers/tty/serial/8250/8250_pxa.c b/drivers/tty/serial/8250/8250_pxa.c index 795e55142d4c..9f7bb52fabbe 100644 --- a/drivers/tty/serial/8250/8250_pxa.c +++ b/drivers/tty/serial/8250/8250_pxa.c @@ -165,6 +165,7 @@ static struct platform_driver serial_pxa_driver = { .name = "pxa2xx-uart", .pm = &serial_pxa_pm_ops, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..45630f7d9e98 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -187,6 +187,7 @@ static struct platform_driver tegra_uart_driver = { .pm = &tegra_uart_pm_ops, .of_match_table = tegra_uart_of_match, .acpi_match_table = ACPI_PTR(tegra_uart_acpi_match), + .probe_no_timeout = true, }, .probe = tegra_uart_probe, .remove = tegra_uart_remove, diff --git a/drivers/tty/serial/8250/8250_uniphier.c b/drivers/tty/serial/8250/8250_uniphier.c index a2978abab0db..7fdf45c4513d 100644 --- a/drivers/tty/serial/8250/8250_uniphier.c +++ b/drivers/tty/serial/8250/8250_uniphier.c @@ -297,6 +297,7 @@ static struct platform_driver uniphier_uart_platform_driver = { .driver = { .name = "uniphier-uart", .of_match_table = uniphier_uart_match, + .probe_no_timeout = true, .pm = &uniphier_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index cb791c5149a3..548934284691 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c @@ -493,6 +493,7 @@ static struct platform_driver altera_jtaguart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_jtaguart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 8b749ed557c6..25c834f900eb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c @@ -645,6 +645,7 @@ static struct platform_driver altera_uart_platform_driver = { .driver = { .name = DRV_NAME, .of_match_table = of_match_ptr(altera_uart_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 97ef41cb2721..eae866568f14 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2912,6 +2912,7 @@ static struct platform_driver arm_sbsa_uart_platform_driver = { .pm = &pl011_dev_pm_ops, .of_match_table = of_match_ptr(sbsa_uart_of_match), .acpi_match_table = ACPI_PTR(sbsa_uart_acpi_match), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_AMBA_PL011), }, }; diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index 9ef82d870ff2..72c1b7884a3b 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c @@ -583,6 +583,7 @@ static struct platform_driver grlib_apbuart_of_driver = { .driver = { .name = "grlib-apbuart", .of_match_table = apbuart_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 6269dbf93546..f0013be1a7c7 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -842,6 +842,7 @@ static struct platform_driver ar933x_uart_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(ar933x_uart_of_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index 2a09e92ef9ed..7998c285fc6c 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c @@ -650,6 +650,7 @@ static struct platform_driver arc_platform_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = arc_uart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dd1c7e4bd1c9..ff74ea97b305 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -3020,6 +3020,7 @@ static struct platform_driver atmel_serial_driver = { .driver = { .name = "atmel_usart_serial", .of_match_table = of_match_ptr(atmel_serial_dt_ids), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 53b43174aa40..d91c49c50ac6 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -890,6 +890,7 @@ static struct platform_driver bcm_uart_platform_driver = { .driver = { .name = "bcm63xx_uart", .of_match_table = bcm63xx_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index b9b66ad31a08..b81710802937 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -528,6 +528,7 @@ static struct platform_driver clps711x_uart_platform = { .driver = { .name = "clps711x-uart", .of_match_table = of_match_ptr(clps711x_uart_dt_ids), + .probe_no_timeout = true, }, .probe = uart_clps711x_probe, .remove = uart_clps711x_remove, diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index db07d6a5d764..ff269637bc28 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c @@ -1470,6 +1470,7 @@ static struct platform_driver cpm_uart_driver = { .driver = { .name = "cpm_uart", .of_match_table = cpm_uart_match, + .probe_no_timeout = true, }, .probe = cpm_uart_probe, .remove = cpm_uart_remove, diff --git a/drivers/tty/serial/digicolor-usart.c b/drivers/tty/serial/digicolor-usart.c index af951e6a2ef4..b2148b48d195 100644 --- a/drivers/tty/serial/digicolor-usart.c +++ b/drivers/tty/serial/digicolor-usart.c @@ -524,6 +524,7 @@ static struct platform_driver digicolor_uart_platform = { .driver = { .name = "digicolor-usart", .of_match_table = of_match_ptr(digicolor_uart_dt_ids), + .probe_no_timeout = true, }, .probe = digicolor_uart_probe, .remove = digicolor_uart_remove, diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 98bb0c315e13..08514238af36 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -889,6 +889,7 @@ static struct platform_driver linflex_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = linflex_dt_ids, + .probe_no_timeout = true, .pm = &linflex_pm_ops, }, }; diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 0d6e62f6bb07..64e969278c72 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -2857,6 +2857,7 @@ static struct platform_driver lpuart_driver = { .driver = { .name = "fsl-lpuart", .of_match_table = lpuart_dt_ids, + .probe_no_timeout = true, .pm = &lpuart_pm_ops, }, }; diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 30edb35a6a15..deb2539d0fbc 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -2604,6 +2604,7 @@ static struct platform_driver imx_uart_platform_driver = { .driver = { .name = "imx-uart", .of_match_table = imx_uart_dt_ids, + .probe_no_timeout = true, .pm = &imx_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index a3120c3347dd..279ee1ba6ae1 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -942,6 +942,7 @@ static struct platform_driver lqasc_driver = { .driver = { .name = DRVNAME, .of_match_table = ltq_asc_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/liteuart.c b/drivers/tty/serial/liteuart.c index 328b50521f14..e92cf2a1b4cc 100644 --- a/drivers/tty/serial/liteuart.c +++ b/drivers/tty/serial/liteuart.c @@ -324,6 +324,7 @@ static struct platform_driver liteuart_platform_driver = { .driver = { .name = "liteuart", .of_match_table = liteuart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 93140cac1ca1..bb655bd7f678 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c @@ -727,6 +727,7 @@ static struct platform_driver serial_hs_lpc32xx_driver = { .driver = { .name = MODNAME, .of_match_table = serial_hs_lpc32xx_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c index a0b6ea52d133..09e3cee4e0ce 100644 --- a/drivers/tty/serial/max310x.c +++ b/drivers/tty/serial/max310x.c @@ -1504,6 +1504,7 @@ static struct spi_driver max310x_spi_driver = { .driver = { .name = MAX310X_NAME, .of_match_table = max310x_dt_ids, + .probe_no_timeout = true, .pm = &max310x_pm_ops, }, .probe = max310x_spi_probe, diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 4869c0059c98..f0104d85484e 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -826,6 +826,7 @@ static struct platform_driver meson_uart_platform_driver = { .driver = { .name = "meson_uart", .of_match_table = meson_uart_dt_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/milbeaut_usio.c b/drivers/tty/serial/milbeaut_usio.c index 347088bb380e..e175e6e0e7c7 100644 --- a/drivers/tty/serial/milbeaut_usio.c +++ b/drivers/tty/serial/milbeaut_usio.c @@ -576,6 +576,7 @@ static struct platform_driver mlb_usio_driver = { .driver = { .name = USIO_NAME, .of_match_table = mlb_usio_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index e50f069b5ebb..da9c60baf0ed 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c @@ -1885,6 +1885,7 @@ static struct platform_driver mpc52xx_uart_of_driver = { .driver = { .name = "mpc52xx-psc-uart", .of_match_table = mpc52xx_uart_of_match, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mps2-uart.c b/drivers/tty/serial/mps2-uart.c index 5e9429dcc51f..4cb82ebe0ec7 100644 --- a/drivers/tty/serial/mps2-uart.c +++ b/drivers/tty/serial/mps2-uart.c @@ -634,6 +634,7 @@ static struct platform_driver mps2_serial_driver = { .driver = { .name = DRIVER_NAME, .of_match_table = of_match_ptr(mps2_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index e676ec761f18..989a5cc8612c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1890,6 +1890,7 @@ static struct platform_driver msm_platform_driver = { .name = "msm_serial", .pm = &msm_serial_dev_pm_ops, .of_match_table = msm_match_table, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c index 0429c2a54290..b5b49773fcce 100644 --- a/drivers/tty/serial/mvebu-uart.c +++ b/drivers/tty/serial/mvebu-uart.c @@ -1049,6 +1049,7 @@ static struct platform_driver mvebu_uart_platform_driver = { .driver = { .name = "mvebu-uart", .of_match_table = of_match_ptr(mvebu_uart_of_match), + .probe_no_timeout = true, .suppress_bind_attrs = true, #if defined(CONFIG_PM) .pm = &mvebu_uart_pm_ops, diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 1944daf8593a..8bd871b5f263 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c @@ -1725,6 +1725,7 @@ static struct platform_driver mxs_auart_driver = { .driver = { .name = "mxs-auart", .of_match_table = mxs_auart_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 46f4d4cacb6e..2e61d9cbbecb 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1834,6 +1834,7 @@ static struct platform_driver serial_omap_driver = { .name = OMAP_SERIAL_DRIVER_NAME, .pm = &serial_omap_dev_pm_ops, .of_match_table = of_match_ptr(omap_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 44d20e5a7dd3..858223abab9d 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -766,6 +766,7 @@ static struct platform_driver owl_uart_platform_driver = { .driver = { .name = "owl-uart", .of_match_table = owl_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c index b399aac530fe..3f08ac2f38b4 100644 --- a/drivers/tty/serial/pic32_uart.c +++ b/drivers/tty/serial/pic32_uart.c @@ -986,6 +986,7 @@ static struct platform_driver pic32_uart_platform_driver = { .driver = { .name = PIC32_DEV_NAME, .of_match_table = of_match_ptr(pic32_serial_dt_ids), + .probe_no_timeout = true, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_PIC32), }, }; diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 3133446e806c..552efe9eef7b 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -1790,6 +1790,7 @@ static struct macio_driver pmz_driver = { .name = "pmac_zilog", .owner = THIS_MODULE, .of_match_table = pmz_match, + .probe_no_timeout = true, }, .probe = pmz_attach, .remove = pmz_detach, diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index e80ba8e10407..b0b91f69b24c 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -910,6 +910,7 @@ static struct platform_driver serial_pxa_driver = { #endif .suppress_bind_attrs = true, .of_match_table = serial_pxa_dt_ids, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 4733a233bd0c..c47cfd4a5ea5 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1541,6 +1541,7 @@ static struct platform_driver qcom_geni_serial_platform_driver = { .driver = { .name = "qcom_geni_serial", .of_match_table = qcom_geni_serial_match_table, + .probe_no_timeout = true, .pm = &qcom_geni_serial_pm_ops, }, }; diff --git a/drivers/tty/serial/rda-uart.c b/drivers/tty/serial/rda-uart.c index f556b4955f59..9e7927de0972 100644 --- a/drivers/tty/serial/rda-uart.c +++ b/drivers/tty/serial/rda-uart.c @@ -797,6 +797,7 @@ static struct platform_driver rda_uart_platform_driver = { .driver = { .name = "rda-uart", .of_match_table = rda_uart_dt_matches, + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index d5ca904def34..e3d77bc2420f 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -2939,6 +2939,7 @@ static struct platform_driver samsung_serial_driver = { .name = "samsung-uart", .pm = SERIAL_SAMSUNG_PM_OPS, .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index 8472bf70477c..dfc455850908 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1652,6 +1652,7 @@ static struct spi_driver sc16is7xx_spi_uart_driver = { .driver = { .name = SC16IS7XX_NAME, .of_match_table = sc16is7xx_dt_ids, + .probe_no_timeout = true, }, .probe = sc16is7xx_spi_probe, .remove = sc16is7xx_spi_remove, diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c index d942ab152f5a..240166a36569 100644 --- a/drivers/tty/serial/serial-tegra.c +++ b/drivers/tty/serial/serial-tegra.c @@ -1653,6 +1653,7 @@ static struct platform_driver tegra_uart_platform_driver = { .driver = { .name = "serial-tegra", .of_match_table = tegra_uart_of_match, + .probe_no_timeout = true, .pm = &tegra_uart_pm_ops, }, }; diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0075a1420005..ee90562c7e8d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3396,6 +3396,7 @@ static struct platform_driver sci_driver = { .name = "sh-sci", .pm = &sci_dev_pm_ops, .of_match_table = of_match_ptr(of_sci_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c index c0869b080cc3..a9f3a4562205 100644 --- a/drivers/tty/serial/sifive.c +++ b/drivers/tty/serial/sifive.c @@ -1066,6 +1066,7 @@ static struct platform_driver sifive_serial_platform_driver = { .driver = { .name = SIFIVE_SERIAL_NAME, .of_match_table = of_match_ptr(sifive_serial_of_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 4329b9c9cbf0..6c01e647bc4d 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -1278,6 +1278,7 @@ static struct platform_driver sprd_platform_driver = { .driver = { .name = "sprd_serial", .of_match_table = of_match_ptr(serial_ids), + .probe_no_timeout = true, .pm = &sprd_pm_ops, }, }; diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index 1b0da603ab54..a01c10522bb6 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -973,6 +973,7 @@ static struct platform_driver asc_serial_driver = { .name = DRIVER_NAME, .pm = &asc_serial_pm_ops, .of_match_table = of_match_ptr(asc_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index b7b44f4050d4..5aa01cd6f24f 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -2019,6 +2019,7 @@ static struct platform_driver stm32_serial_driver = { .name = DRIVER_NAME, .pm = &stm32_serial_pm_ops, .of_match_table = of_match_ptr(stm32_match), + .probe_no_timeout = true, }, }; diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index eafada8fb6fa..05bf49af8328 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c @@ -630,6 +630,7 @@ static struct platform_driver hv_driver = { .driver = { .name = "hv", .of_match_table = hv_match, + .probe_no_timeout = true, }, .probe = hv_probe, .remove = hv_remove, diff --git a/drivers/tty/serial/sunplus-uart.c b/drivers/tty/serial/sunplus-uart.c index 60c73662f955..b5b09aedab9c 100644 --- a/drivers/tty/serial/sunplus-uart.c +++ b/drivers/tty/serial/sunplus-uart.c @@ -709,6 +709,7 @@ static struct platform_driver sunplus_uart_platform_driver = { .driver = { .name = "sunplus_uart", .of_match_table = sp_uart_of_match, + .probe_no_timeout = true, .pm = &sunplus_uart_pm_ops, } }; diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index 6ea52293d9f3..3d2eea131a67 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c @@ -1103,6 +1103,7 @@ static struct platform_driver sab_driver = { .driver = { .name = "sab", .of_match_table = sab_match, + .probe_no_timeout = true, }, .probe = sab_probe, .remove = sab_remove, diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index fff50b5b82eb..598691174e08 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c @@ -1566,6 +1566,7 @@ static struct platform_driver su_driver = { .driver = { .name = "su", .of_match_table = su_match, + .probe_no_timeout = true, }, .probe = su_probe, .remove = su_remove, diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index c14275d83b0b..15dc30f493d9 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c @@ -1541,6 +1541,7 @@ static struct platform_driver zs_driver = { .driver = { .name = "zs", .of_match_table = zs_match, + .probe_no_timeout = true, }, .probe = zs_probe, .remove = zs_remove, diff --git a/drivers/tty/serial/tegra-tcu.c b/drivers/tty/serial/tegra-tcu.c index 4877c54c613d..aa0ba869e590 100644 --- a/drivers/tty/serial/tegra-tcu.c +++ b/drivers/tty/serial/tegra-tcu.c @@ -292,6 +292,7 @@ static struct platform_driver tegra_tcu_driver = { .driver = { .name = "tegra-tcu", .of_match_table = tegra_tcu_match, + .probe_no_timeout = true, }, .probe = tegra_tcu_probe, .remove = tegra_tcu_remove, diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 880e2afbb97b..a7f600e57a25 100644 --- a/drivers/tty/serial/uartlite.c +++ b/drivers/tty/serial/uartlite.c @@ -919,6 +919,7 @@ static struct platform_driver ulite_platform_driver = { .driver = { .name = "uartlite", .of_match_table = of_match_ptr(ulite_of_match), + .probe_no_timeout = true, .pm = &ulite_pm_ops, }, }; diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6000853973c1..a2e637876db0 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1500,6 +1500,7 @@ static struct platform_driver ucc_uart_of_driver = { .driver = { .name = "ucc_uart", .of_match_table = ucc_uart_match, + .probe_no_timeout = true, }, .probe = ucc_uart_probe, .remove = ucc_uart_remove, diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index 6f08136ce78a..074b4e8b61b6 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c @@ -722,6 +722,7 @@ static struct platform_driver vt8500_platform_driver = { .driver = { .name = "vt8500_serial", .of_match_table = wmt_dt_ids, + .probe_no_timeout = true, .suppress_bind_attrs = true, }, }; diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 9e01fe6c0ab8..7e941c7e819e 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1656,6 +1656,7 @@ static struct platform_driver cdns_uart_platform_driver = { .driver = { .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, + .probe_no_timeout = true, .pm = &cdns_uart_dev_pm_ops, .suppress_bind_attrs = IS_BUILTIN(CONFIG_SERIAL_XILINX_PS_UART), }, -- 2.37.0.rc0.161.g10f37bed90-goog