Jan Kiszka
ab0721893e
serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
...
commit e0bf2d4982fe7d9ddaf550dd023803ea286f47fc upstream.
Apparently, this driver (or the hardware) does not support character
length settings. It's apparently running in 8-bit mode, but it makes
userspace believe it's in 5-bit mode. That makes tcsetattr with CS8
incorrectly fail, breaking e.g. getty from busybox, thus the login shell
on ttyMVx.
Fix by hard-wiring CS8 into c_cflag.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Fixes: 30530791a7 ("serial: mvebu-uart: initial support for Armada-3700 serial port")
Cc: stable <stable@vger.kernel.org> # 4.6+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-10 08:53:17 +02:00
..
8250
drivers/tty: add error handling for pcmcia_loop_config
2018-10-03 17:01:46 -07:00
cpm_uart
serial: cpm_uart: return immediately from console poll
2018-10-03 17:01:49 -07:00
jsm
tty: serial: jsm_tty: constify uart_ops structures
2016-09-02 15:01:16 +02:00
21285.c
altera_jtaguart.c
serial: altera: constify uart_ops structures
2016-09-02 15:01:16 +02:00
altera_uart.c
serial: altera: constify uart_ops structures
2016-09-02 15:01:16 +02:00
amba-pl010.c
amba-pl011.c
tty: pl011: Avoid spuriously stuck-off interrupts
2018-06-16 09:52:34 +02:00
amba-pl011.h
apbuart.c
apbuart.h
ar933x_uart.c
tree-wide: replace config_enabled() with IS_ENABLED()
2016-08-04 08:50:07 -04:00
arc_uart.c
serial: arc_uart: Fix out-of-bounds access through DT alias
2018-05-25 16:13:14 +02:00
atmel_serial.c
tty/serial: atmel: use port->name as name in request_irq()
2018-06-16 09:52:34 +02:00
bcm63xx_uart.c
serial/bcm63xx_uart: constify uart_ops structures
2016-09-02 15:01:16 +02:00
bfin_sport_uart.c
bfin_sport_uart.h
bfin_uart.c
clps711x.c
serial: clps711x: Changing the compatibility string to match with the smallest supported chip
2016-07-06 17:38:16 +02:00
crisv10.c
tty: Replace ASYNC_INITIALIZED bit and update atomically
2016-04-30 09:26:55 -07:00
crisv10.h
digicolor-usart.c
tty/serial: digicolor: Fix bad usage of IS_ERR_VALUE
2016-02-14 17:39:36 -08:00
dz.c
dz.h
earlycon-arm-semihost.c
tty/serial: mark __init early_smh_setup() static
2016-09-02 15:03:35 +02:00
earlycon.c
earlycon: Use a pointer table to fix __earlycon_table stride
2018-05-01 15:13:09 -07:00
efm32-uart.c
serial: efm32: Fix parity management in 'efm32_uart_console_get_options()'
2017-06-24 07:11:14 +02:00
etraxfs-uart.c
fsl_lpuart.c
tty: serial: lpuart: avoid leaking struct tty_struct
2018-10-03 17:01:49 -07:00
icom.c
icom.h
ifx6x60.c
serial: ifx6x60: fix use-after-free on module unload
2017-06-14 15:05:54 +02:00
ifx6x60.h
imx.c
serial: imx: restore handshaking irq for imx1
2018-10-03 17:01:51 -07:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig
serial: SERIAL_STM32 should depend on HAS_DMA
2016-10-27 16:00:31 +02:00
kgdb_nmi.c
kgdboc.c
lantiq.c
lpc32xx_hs.c
m32r_sio.c
serial: m32r_sio: make it explicitly non-modular
2016-06-25 14:00:06 -07:00
m32r_sio_reg.h
Makefile
TTY and Serial driver update for 4.7-rc1
2016-05-20 20:57:27 -07:00
max310x.c
serial: max310x: Set IRQF_TRIGGER_FALLING flag when dev.of_node is not NULL
2016-09-15 12:35:49 +02:00
max3100.c
tty: serial: constify uart_ops structures
2016-09-02 15:01:16 +02:00
mcf.c
men_z135_uart.c
tty: serial: constify uart_ops structures
2016-09-02 15:01:16 +02:00
meson_uart.c
tty: serial: meson: Implement earlycon support
2016-04-30 09:26:55 -07:00
mpc52xx_uart.c
tty: serial: constify psc_ops structs
2016-02-06 22:31:47 -08:00
mps2-uart.c
serial: mps2-uart: make driver explicitly non-modular
2016-06-25 14:01:57 -07:00
mpsc.c
TTY: serial/mpsc, remove unused fields
2016-02-06 22:16:21 -08:00
msm_serial.c
tty: serial: msm: Fix module autoload
2017-02-26 11:10:51 +01:00
mux.c
mvebu-uart.c
serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
2018-10-10 08:53:17 +02:00
mxs-auart.c
serial: mxs-auart: Fix out-of-bounds access through serial port index
2018-05-25 16:13:14 +02:00
netx-serial.c
omap-serial.c
serial: omap: Fix EFR write on RTS deassertion
2017-11-24 08:33:42 +01:00
pch_uart.c
serial: pch_uart: add terminate entry for dmi_system_id tables
2016-10-27 16:01:31 +02:00
pic32_uart.c
serial: pic32_uart: Fix double free of 'sport->irq_fault_name'.
2016-06-25 13:50:53 -07:00
pic32_uart.h
serial: pic32_uart: Add PIC32 UART driver
2016-05-13 14:01:56 +02:00
pmac_zilog.c
TTY: serial, handle platform_get_irq retval properly
2016-06-25 09:01:52 -07:00
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
serial: pxa: make it explicitly non-modular
2016-06-25 14:00:06 -07:00
rp2.c
sa1100.c
samsung.c
serial: samsung: fix maxburst parameter for DMA transactions
2018-06-16 09:52:34 +02:00
samsung.h
serial: samsung: Register cpufreq notifier only on S3C24xx
2016-08-31 15:39:58 +02:00
sb1250-duart.c
sc16is7xx.c
sc16is7xx: Drop bogus use of IRQF_ONESHOT
2017-01-09 08:32:22 +01:00
sccnxp.c
serial: sccnxp: Fix error handling in sccnxp_probe()
2018-05-19 10:27:00 +02:00
serial-tegra.c
TTY: serial, handle platform_get_irq retval properly
2016-06-25 09:01:52 -07:00
serial_core.c
uart: fix race between uart_put_char() and uart_shutdown()
2018-09-09 20:01:21 +02:00
serial_ks8695.c
serial: Fix ASYNC_* => UPF_* flags misuse
2016-01-28 14:17:42 -08:00
serial_mctrl_gpio.c
serial: mctrl_gpio: enable API usage only for initialized mctrl_gpios struct
2016-06-25 14:30:42 -07:00
serial_mctrl_gpio.h
serial: mctrl_gpio: add modem control read routine
2016-06-25 14:30:42 -07:00
serial_txx9.c
sh-sci.c
serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version
2018-07-03 11:23:06 +02:00
sh-sci.h
serial: sh-sci: Clear (H)SCIF timeout and overrun during reset
2016-06-25 09:09:53 -07:00
sirfsoc_uart.c
serial: sirf: Use generic uart-has-rtscts DT property
2016-04-30 09:26:55 -07:00
sirfsoc_uart.h
serial: sirf: make fifo functions static
2016-06-25 14:01:57 -07:00
sn_console.c
sprd_serial.c
remove lots of IS_ERR_VALUE abuses
2016-05-27 15:26:11 -07:00
st-asc.c
serial: st-asc: constify uart_ops structures
2016-09-02 15:01:16 +02:00
stm32-usart.c
serial: stm32: mark symbols static where possible
2016-09-27 12:55:27 +02:00
stm32-usart.h
serial: stm32: Fix comparisons with undefined register
2016-10-27 16:00:31 +02:00
suncore.c
sunhv.c
sparc64: Migrate hvcons irq to panicked cpu
2017-10-21 17:21:35 +02:00
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tilegx.c
timbuart.c
tty: serial: constify uart_ops structures
2016-09-02 15:01:16 +02:00
timbuart.h
uartlite.c
serial-uartlite: constify uart_ops structures
2016-09-02 15:01:16 +02:00
ucc_uart.c
QE-UART: add "fsl,t1040-ucc-uart" to of_device_id
2016-05-01 13:55:12 -07:00
vr41xx_siu.c
vt8500_serial.c
serial: vt8500_serial: Fix a parameter of find_first_zero_bit.
2016-08-31 15:42:28 +02:00
xilinx_uartps.c
serial: xuartps: Fix out-of-bounds access through DT alias
2018-05-25 16:13:13 +02:00
zs.c
serial: zs: Fix a transmit lockup in console output
2016-02-06 23:13:30 -08:00
zs.h