linux/drivers/tty/serial
Jeremy Kerr 4f79409779 serial: expose buf_overrun count through proc interface
The buf_overrun count is only every written, and not exposed to
userspace anywhere. This means that dropped characters due to flip
buffer overruns are never visible to userspace.

The /proc/tty/driver/serial file exports a bunch of metrics (including
hardware overruns) already, so add the buf_overrun (as "bo:") to this
file.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-23 16:34:06 +01:00
..
8250 Merge 4.16-rc6 into tty-next 2018-03-20 11:27:18 +01:00
cpm_uart
jsm tty: serial: jsm: Add one check against NULL pointer dereference 2018-01-09 16:37:03 +01:00
21285.c
altera_jtaguart.c
altera_uart.c serial: altera: set RRDY flag also without irq 2018-02-28 13:30:09 +01:00
amba-pl010.c
amba-pl011.c serial: pl011: Use cached copy of IMSC register 2017-11-28 15:35:51 +01:00
amba-pl011.h
apbuart.c
apbuart.h
ar933x_uart.c
arc_uart.c serial: arc_uart: Fix out-of-bounds access through DT alias 2018-02-28 15:29:59 +01:00
atmel_serial.c tty/serial: atmel: add new version check for usart 2018-02-28 13:48:20 +01:00
atmel_serial.h
bcm63xx_uart.c
bfin_sport_uart.c
bfin_sport_uart.h
bfin_uart.c
clps711x.c
crisv10.c
crisv10.h
digicolor-usart.c
dz.c
dz.h
earlycon-arm-semihost.c
earlycon.c earlycon: add reg-offset to physical address before mapping 2018-02-28 13:48:21 +01:00
efm32-uart.c
etraxfs-uart.c
fsl_lpuart.c serial: fsl_lpuart: Fix out-of-bounds access through DT alias 2018-02-28 15:29:59 +01:00
icom.c
icom.h
ifx6x60.c
ifx6x60.h
imx.c Merge 4.16-rc6 into tty-next 2018-03-20 11:27:18 +01:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig tty: serial: msm_geni_serial: Add serial driver support for GENI based QUP 2018-03-20 09:13:15 +01:00
kgdb_nmi.c
kgdboc.c
lantiq.c
lpc32xx_hs.c
m32r_sio_reg.h
m32r_sio.c
Makefile tty: serial: msm_geni_serial: Add serial driver support for GENI based QUP 2018-03-20 09:13:15 +01:00
max310x.c gpio: serial: max310x: Use HW type for gpio_chip's label 2018-02-28 13:40:22 +01:00
max3100.c
mcf.c
men_z135_uart.c
meson_uart.c
mpc52xx_uart.c
mps2-uart.c
mpsc.c
msm_serial.c
mux.c
mvebu-uart.c serial: mvebu-uart: fix tx lost characters 2018-03-22 21:27:44 +01:00
mxs-auart.c serial: mxs-auart: disable clks of Alphascale ASM9260 2018-03-09 11:01:19 -08:00
netx-serial.c
omap-serial.c tty: omap-serial: Fix initial on-boot RTS GPIO level 2018-01-09 16:45:17 +01:00
owl-uart.c
pch_uart.c
pic32_uart.c
pic32_uart.h
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c serial: pxa: Fix out-of-bounds access through serial port index 2018-02-28 15:29:59 +01:00
qcom_geni_serial.c tty: serial: msm_geni_serial: Fix return value check in qcom_geni_serial_probe() 2018-03-22 18:33:44 +01:00
rp2.c
sa1100.c
samsung.c serial: samsung: Fix out-of-bounds access through serial port index 2018-02-28 15:30:00 +01:00
samsung.h
sb1250-duart.c
sc16is7xx.c
sccnxp.c
serial_core.c serial: expose buf_overrun count through proc interface 2018-03-23 16:34:06 +01:00
serial_ks8695.c
serial_mctrl_gpio.c
serial_mctrl_gpio.h
serial_txx9.c
serial-tegra.c
sh-sci.c Merge 4.16-rc6 into tty-next 2018-03-20 11:27:18 +01:00
sh-sci.h
sirfsoc_uart.c serial: sirf: Fix out-of-bounds access through DT alias 2018-02-28 15:30:00 +01:00
sirfsoc_uart.h
sn_console.c
sprd_serial.c
st-asc.c tty: st-asc: Update tty alias 2018-03-14 14:57:04 +01:00
stm32-usart.c serial: stm32: fix initialization of RS485 mode 2018-03-15 17:39:43 +01:00
stm32-usart.h serial: stm32: add support for RS485 hardware control mode 2018-03-14 13:35:37 +01:00
suncore.c
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tilegx.c
timbuart.c
timbuart.h
uartlite.c
ucc_uart.c
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c serial: xuartps: Fix out-of-bounds access through DT alias 2018-02-28 15:30:00 +01:00
zs.c
zs.h