[GIT PULL] TTY/Serial driver fixes for 6.5-rc7

From: Greg KH
Date: Sat Aug 19 2023 - 20:12:21 EST


The following changes since commit 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4:

Linux 6.5-rc4 (2023-07-30 13:23:47 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-6.5-rc7

for you to fetch changes up to 04c7f60ca477ffbf7b7910320482335050f0d23a:

serial: core: Fix serial core port id, including multiport devices (2023-08-11 21:19:22 +0200)

----------------------------------------------------------------
TTY/Serial fixes for 6.5-rc7

Here are some small tty and serial core fixes for 6.5-rc7 that resolve a
lot of reported issues.

Primarily in here is the fixes for the serial bus code from Tony that
came in -rc1, as it hit wider testing with the huge number of different
types of systems and serial ports. All of the reported issues with
duplicate names and other issues with this code are now resolved.

Other than that included in here is:
- n_gsm fix for a previous fix
- 8250 lockdep annotation fix
- fsl_lpuart serial driver fix
- TIOCSTI documentation update for previous CAP_SYS_ADMIN change

All of these have been in linux-next for a while with no reported
problems.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Günther Noack (1):
TIOCSTI: Document CAP_SYS_ADMIN behaviour in Kconfig

Jiri Slaby (SUSE) (1):
serial: 8250: drop lockdep annotation from serial8250_clear_IER()

Sherry Sun (1):
tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms

Tony Lindgren (10):
serial: core: Controller id cannot be negative
serial: core: Fix serial core port id to not use port->line
serial: core: Fix serial core controller port name to show controller id
serial: core: Fix serial_base_match() after fixing controller port name
MAINTAINERS: Merge TTY layer and serial drivers
serial: core: Fix kmemleak issue for serial core device remove
serial: 8250: Reinit port_id when adding back serial8250_isa_devs
serial: 8250: Fix oops for port->pm on uart_change_pm()
serial: core: Revert port_id use
serial: core: Fix serial core port id, including multiport devices

Yi Yang (1):
tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux

MAINTAINERS | 15 ++------
drivers/tty/Kconfig | 3 ++
drivers/tty/n_gsm.c | 3 +-
drivers/tty/serial/8250/8250_core.c | 3 ++
drivers/tty/serial/8250/8250_port.c | 4 +--
drivers/tty/serial/fsl_lpuart.c | 4 +--
drivers/tty/serial/serial_base.h | 1 +
drivers/tty/serial/serial_base_bus.c | 70 ++++++++++++++++++++++++++++--------
include/linux/serial_core.h | 3 +-
9 files changed, 72 insertions(+), 34 deletions(-)