[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2602101736150.63149@angie.orcam.me.uk>
Date: Tue, 10 Feb 2026 17:49:17 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Sheng Yu <yushenglive@...il.com>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, jirislaby@...nel.org,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] serial: 8250: add CONFIG_SERIAL_8250_PROBE_BAUD
option
On Sun, 8 Feb 2026, Sheng Yu wrote:
> Currently, the 8250 driver defaults to 9600 baud if no console options
> are provided via the command line. This can result in garbled output if
> the firmware or bootloader has already initialized the UART to a
> different speed.
FWIW this seems like a generic option that shouldn't be limited to 8250
hardware, i.e. for drivers/tty/serial/Kconfig and to be named accordingly,
as there's nothing specific to the 8250 in it. Then individual drivers
could opt in via a dependency where feasible (i.e. the baud rate generator
setting being readable) and someone actually did it, such as you for the
8250 driver. This could be mentioned in the option description so as not
to confuse people with configurations featuring multiple serial device
drivers.
Maciej
Powered by blists - more mailing lists