linux_dsm_epyc7002/drivers/tty/serial/8250
Henrik Nordström 258a9fd17b tty/8250_early: Don't truncate last character of options
The earlier change to use strlcpy uncovered a bug in the options
argument length calculation causing last character to be truncated.
This makes the actual console to be configured with incorrect
baudrate when specifying the console using console=uart,... syntax.

Bug symptom seen in kernel log output:

Kernel command line: console=uart,mmio,0x90000000,115200
Early serial console at MMIO 0x90000000 (options '11520')

which then results in a invalid baud rate 11520 instead of the
expected 115200 when the console is switched to ttyS0 later
in the boot process.

Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-24 15:23:38 -07:00
..
8250_accent.c
8250_acorn.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_boca.c
8250_core.c Revert "serial: 8250: Make SERIAL_8250_RUNTIME_UARTS work correctly" 2013-06-03 10:08:28 -07:00
8250_dma.c serial: 8250_dma: Provide default slave configuration parameters 2013-04-11 13:20:19 -07:00
8250_dw.c tty/8250_dw: Add support for OCTEON UARTS. 2013-07-01 15:10:54 +02:00
8250_early.c tty/8250_early: Don't truncate last character of options 2013-07-24 15:23:38 -07:00
8250_em.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_fsl.c
8250_gsc.c parisc: fix serial ports on C8000 workstation 2013-06-18 20:29:07 +02:00
8250_hp300.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_hub6.c
8250_pci.c Revert "serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller" 2013-06-30 09:03:06 -07:00
8250_pnp.c Revert "tty/8250_pnp: serial port detection regression since v3.7" 2013-04-08 11:30:04 -07:00
8250.h serial: 8250: remove a few lines of dead code 2013-03-25 16:36:48 -07:00
Kconfig stallion: final cleanup 2013-06-03 14:31:39 -07:00
Makefile TTY: 8250, revert module name change 2013-03-25 16:26:23 -07:00
serial_cs.c drivers/tty: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:26:38 -07:00