OpenCloudOS-Kernel/drivers/tty/serial
Rob Herring 60efcf0414 tty/serial: fix 8250 early console option passing to regular console
In the conversion to generic early console, the passing of options from
the early 8250 console to the regular ttyS console was broken. This
resulted in the baud rate changing when switching consoles during boot.

This feature allows specifying a single console option on the kernel
command line rather than both an early console and regular serial tty
console. It would be nice to generalize this feature. However, it only
works if the correct baud rate can be probed early which is not the
case on many platforms which have non-standard UART clock rates. So for
now, this is left as an 8250 specific feature.

Reported-and-tested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-19 13:07:26 -07:00
..
8250 tty/serial: fix 8250 early console option passing to regular console 2014-06-19 13:07:26 -07:00
cpm_uart serial: cpm_uart: No LF conversion in put_poll_char() 2014-05-29 11:28:05 -07:00
jsm TTY: jsm, remove superfluous check 2013-03-18 16:17:20 -07:00
21285.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
68328serial.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2013-05-10 07:22:35 -07:00
Kconfig tty/serial: at91: use mctrl_gpio helpers 2014-05-28 12:49:44 -07:00
Makefile tty/serial: Add GPIOLIB helpers for controlling modem lines 2014-05-28 12:49:14 -07:00
altera_jtaguart.c ARM: SoC DT updates for 3.12 2013-09-06 13:26:27 -07:00
altera_uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
amba-pl010.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
amba-pl011.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
apbuart.c tty: serial: apbuart: drop uart_port->lock before calling tty_flip_buffer_push() 2013-08-27 16:17:33 -07:00
apbuart.h
ar933x_uart.c tty: ar933x_uart: add device tree support and binding documentation 2013-08-30 14:11:27 -07:00
arc_uart.c serial: arc_uart: Remove casting the return value which is a void pointer 2013-09-26 14:29:58 -07:00
atmel_serial.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
bcm63xx_uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
bfin_sport_uart.c serial: bfin_sport_uart: Remove casting the return value which is a void pointer 2013-09-26 14:29:58 -07:00
bfin_sport_uart.h
bfin_uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
clps711x.c Revert "serial: clps711x: Give a chance to perform useful tasks during wait loop" 2014-04-16 14:17:44 -07:00
crisv10.c tty: serial: crisv10: Drop remaining code for CRISv10 CPU simulator 2014-02-15 12:16:21 -08:00
crisv10.h crisv10: use counts from tty_port 2013-03-18 16:26:33 -07:00
dz.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
dz.h
earlycon-arm-semihost.c tty/serial: add arm/arm64 semihosting earlycon 2014-04-24 16:32:27 -07:00
earlycon.c tty/serial: fix 8250 early console option passing to regular console 2014-06-19 13:07:26 -07:00
efm32-uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
fsl_lpuart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
icom.c serial: icom: dereference after free in load_code() 2013-12-08 17:16:05 -08:00
icom.h
ifx6x60.c serial: ifx6x60: Remove casting the return value which is a void pointer 2013-09-26 14:29:58 -07:00
ifx6x60.h serial:ifx6x60:Prevent data transfer when IFX6x60 port is shutdown 2012-11-01 08:50:01 -07:00
imx.c Revert "serial: imx: remove the DMA wait queue" 2014-05-29 19:30:54 -07:00
ioc3_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ioc4_serial.c serial: ioc4_serial: Staticize ioc4_serial_attach_one() 2013-08-12 11:35:32 -07:00
ip22zilog.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
ip22zilog.h
kgdb_nmi.c serial: kgdb_nmi: Improve console integration with KDB I/O 2014-05-29 11:28:05 -07:00
kgdboc.c treewide: Convert retrun typos to return 2013-09-04 12:26:36 +02:00
lantiq.c serial: MIPS: lantiq: fix clock error check 2013-08-12 11:37:48 -07:00
lpc32xx_hs.c tty: serial: lpc32xx_hs: drop uart_port->lock before calling tty_flip_buffer_push() 2013-08-27 16:17:34 -07:00
m32r_sio.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
m32r_sio.h
m32r_sio_reg.h
max310x.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
max3100.c serial: use dev_get_platdata() 2013-07-31 17:56:15 -07:00
mcf.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
men_z135_uart.c tty: serial: men_z135_uart: Don't activate TX Space available IRQ on startup 2014-05-28 12:27:22 -07:00
mfd.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
mpc52xx_uart.c serial: mpc512x: setup the PSC FIFO clock as well 2014-01-12 18:53:05 +01:00
mpsc.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
mrst_max3110.c mrst_max3110: fix unbalanced IRQ issue during resume 2013-10-29 16:26:54 -07:00
mrst_max3110.h
msm_serial.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
msm_serial.h tty: serial: msm: Remove direct access to GSBI 2014-05-29 11:06:20 -05:00
msm_serial_hs.c serial: use dev_get_platdata() 2013-07-31 17:56:15 -07:00
msm_smd_tty.c TTY: msm_smd_tty, clean up activate/shutdown 2013-03-18 16:19:44 -07:00
mux.c tty: serial: replace del_timer by del_timer_sync 2014-04-24 16:13:01 -07:00
mxs-auart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
netx-serial.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
nwpserial.c tty: serial: nwpserial: drop uart_port->lock before calling tty_flip_buffer_push() 2013-08-27 16:17:35 -07:00
of_serial.c printk/of_serial: fix serial console cessation part way through boot. 2014-05-28 13:07:27 -07:00
omap-serial.c tty: serial: omap: fix Sparse warnings 2014-04-24 16:19:02 -07:00
pch_uart.c serial_core: Commonalize crlf when working w/ a non open console port 2014-04-24 16:13:01 -07:00
pmac_zilog.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
pmac_zilog.h
pnx8xxx_uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
pxa.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
rp2.c tty: remove DEFINE_PCI_DEVICE_TABLE macro 2013-12-08 17:09:07 -08:00
sa1100.c serial: sa1100: delete .set_wake callback 2013-10-16 13:16:18 -07:00
samsung.c serial: samsung: Fix build error 2014-06-17 17:09:36 -07:00
samsung.h serial: samsung: Neaten dbg uses 2014-05-28 12:27:22 -07:00
sb1250-duart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
sc16is7xx.c serial: sc16is7xx: dynamically allocate tx/rx buffer 2014-05-28 12:22:42 -07:00
sccnxp.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
serial-tegra.c serial: tegra: convert to standard DMA DT bindings 2013-12-11 16:44:35 -07:00
serial_core.c serial: uart: add hw flow control support configuration 2014-05-28 13:04:46 -07:00
serial_ks8695.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
serial_mctrl_gpio.c tty/serial: Add GPIOLIB helpers for controlling modem lines 2014-05-28 12:49:14 -07:00
serial_mctrl_gpio.h tty/serial: Add GPIOLIB helpers for controlling modem lines 2014-05-28 12:49:14 -07:00
serial_txx9.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
sh-sci.c Revert "serial: sh-sci: Add device tree support for r8a7779" 2014-04-24 19:26:16 -07:00
sh-sci.h serial: sh-sci: Move overrun_bit and error_mask fields out of pdata 2013-12-24 11:17:48 +09:00
sirfsoc_uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
sirfsoc_uart.h serial: sirf: fix spinlock deadlock issue 2014-05-28 12:22:43 -07:00
sn_console.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
st-asc.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
suncore.c
sunhv.c sparc: serial: Clean up the locking for -rt 2014-03-06 16:32:25 -05:00
sunsab.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
sunsab.h
sunsu.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
sunzilog.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
sunzilog.h
tilegx.c tile: serial: Use irq_alloc/free_hwirq 2014-05-16 14:05:20 +02:00
timbuart.c serial: timbuart: Staticize local symbols 2013-08-12 11:35:31 -07:00
timbuart.h
uartlite.c tty: serial: uartlite: Specify time for sending chars 2014-05-28 12:24:31 -07:00
ucc_uart.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
vr41xx_siu.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
vt8500_serial.c serial: vt8500: add missing braces 2013-10-16 13:22:16 -07:00
xilinx_uartps.c tty: xuartps: Rebrand driver as Cadence UART 2014-04-24 16:21:51 -07:00
zs.c serial: Fix IGNBRK handling 2014-06-19 13:04:52 -07:00
zs.h