linux-stable/drivers/tty/serial/8250
Maciej W. Rozycki 9906890c89 serial: 8250: Let drivers request full 16550A feature probing
A SERIAL_8250_16550A_VARIANTS configuration option has been recently
defined that lets one request the 8250 driver not to probe for 16550A
device features so as to reduce the driver's device startup time in
virtual machines.

Some actual hardware devices require these features to have been fully
determined however for their driver to work correctly, so define a flag
to let drivers request full 16550A feature probing on a device-by-device
basis if required regardless of the SERIAL_8250_16550A_VARIANTS option
setting chosen.

Fixes: dc56ecb81a ("serial: 8250: Support disabling mdelay-filled probes of 16550A variants")
Cc: stable@vger.kernel.org # v5.6+
Reported-by: Anders Blomdell <anders.blomdell@control.lth.se>
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2209202357520.41633@angie.orcam.me.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-22 16:28:47 +02:00
..
8250.h serial: take termios_rwsem for ->rs485_config() & pass termios as param 2022-06-27 14:44:20 +02:00
8250_accent.c
8250_acorn.c
8250_alpha.c serial: 8250: Move Alpha-specific quirk out of the core 2021-12-30 13:23:44 +01:00
8250_aspeed_vuart.c serial: 8250_aspeed_vuart: Fix potential NULL dereference in aspeed_vuart_probe 2022-04-15 11:31:29 +02:00
8250_bcm2835aux.c serial: 8250_bcm2835aux: Add missing clk_disable_unprepare() 2022-07-28 10:33:44 +02:00
8250_bcm7271.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_boca.c
8250_core.c TTY / Serial driver changes for 6.0-rc1 2022-08-08 11:31:40 -07:00
8250_dma.c serial: 8250: Clear dma tx_err unconditionally 2022-08-30 14:15:20 +02:00
8250_dw.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_dwlib.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_dwlib.h serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_early.c serial: Consolidate BOTH_EMPTY use 2022-06-27 14:41:31 +02:00
8250_em.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
8250_exar.c serial: Embed rs485_supported to uart_port 2022-07-08 15:14:09 +02:00
8250_exar_st16c554.c
8250_fintek.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_fourport.c
8250_fsl.c serial: 8250_fsl: Don't report FE, PE and OE twice 2022-07-08 15:13:22 +02:00
8250_gsc.c serial: parisc: GSC: fix build when IOSAPIC is not set 2022-02-14 19:34:42 +01:00
8250_hp300.c
8250_hub6.c
8250_ingenic.c serial: 8250: make saved LSR larger 2022-06-27 14:44:20 +02:00
8250_ioc3.c Fix up remaining devm_ioremap_nocache() in SGI IOC3 8250 UART driver 2020-02-08 14:19:39 -08:00
8250_lpc18xx.c serial: 8250: lpc18xx: Remove redundant sanity check for RS485 flags 2022-07-14 16:34:24 +02:00
8250_lpss.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_men_mcb.c serial: 8250_men_mcb: Remove duplicate UAPI:serial_core inclusion 2022-09-01 15:59:36 +02:00
8250_mid.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_mtk.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_of.c serial: Embed rs485_supported to uart_port 2022-07-08 15:14:09 +02:00
8250_omap.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
8250_pci.c tty: 8250: Add support for Brainboxes PX cards. 2022-07-14 16:27:33 +02:00
8250_pericom.c serial: 8250_pericom: Use UART_LCR_DLAB 2022-06-27 14:33:15 +02:00
8250_pnp.c serial: 8250: remove duplicated BRI0A49 and BDP3336 entries 2021-09-22 16:59:13 +02:00
8250_port.c serial: 8250: Let drivers request full 16550A feature probing 2022-09-22 16:28:47 +02:00
8250_pxa.c serial: 8250: pxa: Remove unneeded <linux/pm_runtime.h> 2022-05-05 22:34:27 +02:00
8250_tegra.c serial: 8250_tegra: mark acpi_device_id as unused with !ACPI 2022-03-18 13:18:25 +01:00
8250_uniphier.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kconfig serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED 2022-07-14 16:27:55 +02:00
Makefile serial: 8250: Move Alpha-specific quirk out of the core 2021-12-30 13:23:44 +01:00
serial_cs.c serial_cs: Add Option International GSM-Ready 56K/ISDN modem 2021-06-16 09:20:29 +02:00