[PATCH v2 0/2] Fix console probe delay when stdout-path isn't set
From: Saravana Kannan
Date: Thu Jun 30 2022 - 21:26:59 EST
These patches are on top of driver-core-next.
Even if stdout-path isn't set in DT, this patch should take console
probe times back to how they were before the deferred_probe_timeout
clean up series[1].
v1->v2:
- Fixed the accidental change that Tobias pointed out.
- Added Tested-by tag
[1] - https://lore.kernel.org/lkml/20220601070707.3946847-1-saravanak@xxxxxxxxxx/
-Saravana
cc: Rob Herring <robh@xxxxxxxxxx>
cc: sascha hauer <sha@xxxxxxxxxxxxxx>
cc: peng fan <peng.fan@xxxxxxx>
cc: kevin hilman <khilman@xxxxxxxxxx>
cc: ulf hansson <ulf.hansson@xxxxxxxxxx>
cc: len brown <len.brown@xxxxxxxxx>
cc: pavel machek <pavel@xxxxxx>
cc: joerg roedel <joro@xxxxxxxxxx>
cc: will deacon <will@xxxxxxxxxx>
cc: andrew lunn <andrew@xxxxxxx>
cc: heiner kallweit <hkallweit1@xxxxxxxxx>
cc: russell king <linux@xxxxxxxxxxxxxxx>
cc: "david s. miller" <davem@xxxxxxxxxxxxx>
cc: eric dumazet <edumazet@xxxxxxxxxx>
cc: jakub kicinski <kuba@xxxxxxxxxx>
cc: paolo abeni <pabeni@xxxxxxxxxx>
cc: linus walleij <linus.walleij@xxxxxxxxxx>
cc: hideaki yoshifuji <yoshfuji@xxxxxxxxxxxxxx>
cc: david ahern <dsahern@xxxxxxxxxx>
cc: kernel-team@xxxxxxxxxxx
cc: linux-kernel@xxxxxxxxxxxxxxx
cc: linux-pm@xxxxxxxxxxxxxxx
cc: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
cc: netdev@xxxxxxxxxxxxxxx
cc: linux-gpio@xxxxxxxxxxxxxxx
Cc: kernel@xxxxxxxxxxxxxx
Saravana Kannan (2):
driver core: Add probe_no_timeout flag for drivers
serial: Set probe_no_timeout for all DT based drivers
drivers/base/base.h | 1 +
drivers/base/core.c | 7 +++++++
drivers/base/dd.c | 3 +++
drivers/tty/ehv_bytechan.c | 1 +
drivers/tty/goldfish.c | 1 +
drivers/tty/hvc/hvc_opal.c | 1 +
drivers/tty/serial/8250/8250_aspeed_vuart.c | 1 +
drivers/tty/serial/8250/8250_bcm2835aux.c | 1 +
drivers/tty/serial/8250/8250_bcm7271.c | 1 +
drivers/tty/serial/8250/8250_dw.c | 1 +
drivers/tty/serial/8250/8250_em.c | 1 +
drivers/tty/serial/8250/8250_ingenic.c | 1 +
drivers/tty/serial/8250/8250_lpc18xx.c | 1 +
drivers/tty/serial/8250/8250_mtk.c | 1 +
drivers/tty/serial/8250/8250_of.c | 1 +
drivers/tty/serial/8250/8250_omap.c | 1 +
drivers/tty/serial/8250/8250_pxa.c | 1 +
drivers/tty/serial/8250/8250_tegra.c | 1 +
drivers/tty/serial/8250/8250_uniphier.c | 1 +
drivers/tty/serial/altera_jtaguart.c | 1 +
drivers/tty/serial/altera_uart.c | 1 +
drivers/tty/serial/amba-pl011.c | 1 +
drivers/tty/serial/apbuart.c | 1 +
drivers/tty/serial/ar933x_uart.c | 1 +
drivers/tty/serial/arc_uart.c | 1 +
drivers/tty/serial/atmel_serial.c | 1 +
drivers/tty/serial/bcm63xx_uart.c | 1 +
drivers/tty/serial/clps711x.c | 1 +
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 1 +
drivers/tty/serial/digicolor-usart.c | 1 +
drivers/tty/serial/fsl_linflexuart.c | 1 +
drivers/tty/serial/fsl_lpuart.c | 1 +
drivers/tty/serial/imx.c | 1 +
drivers/tty/serial/lantiq.c | 1 +
drivers/tty/serial/liteuart.c | 1 +
drivers/tty/serial/lpc32xx_hs.c | 1 +
drivers/tty/serial/max310x.c | 1 +
drivers/tty/serial/meson_uart.c | 1 +
drivers/tty/serial/milbeaut_usio.c | 1 +
drivers/tty/serial/mpc52xx_uart.c | 1 +
drivers/tty/serial/mps2-uart.c | 1 +
drivers/tty/serial/msm_serial.c | 1 +
drivers/tty/serial/mvebu-uart.c | 1 +
drivers/tty/serial/mxs-auart.c | 1 +
drivers/tty/serial/omap-serial.c | 1 +
drivers/tty/serial/owl-uart.c | 1 +
drivers/tty/serial/pic32_uart.c | 1 +
drivers/tty/serial/pmac_zilog.c | 1 +
drivers/tty/serial/pxa.c | 1 +
drivers/tty/serial/qcom_geni_serial.c | 1 +
drivers/tty/serial/rda-uart.c | 1 +
drivers/tty/serial/samsung_tty.c | 1 +
drivers/tty/serial/sc16is7xx.c | 1 +
drivers/tty/serial/serial-tegra.c | 1 +
drivers/tty/serial/sh-sci.c | 1 +
drivers/tty/serial/sifive.c | 1 +
drivers/tty/serial/sprd_serial.c | 1 +
drivers/tty/serial/st-asc.c | 1 +
drivers/tty/serial/stm32-usart.c | 1 +
drivers/tty/serial/sunhv.c | 1 +
drivers/tty/serial/sunplus-uart.c | 1 +
drivers/tty/serial/sunsab.c | 1 +
drivers/tty/serial/sunsu.c | 1 +
drivers/tty/serial/sunzilog.c | 1 +
drivers/tty/serial/tegra-tcu.c | 1 +
drivers/tty/serial/uartlite.c | 1 +
drivers/tty/serial/ucc_uart.c | 1 +
drivers/tty/serial/vt8500_serial.c | 1 +
drivers/tty/serial/xilinx_uartps.c | 1 +
include/linux/device.h | 7 +++++++
include/linux/device/driver.h | 11 +++++++++++
71 files changed, 95 insertions(+)
--
2.37.0.rc0.161.g10f37bed90-goog