Skip to content

nbcon locking issue with v6.6.10-rt18 kernel

Junxiao Chang linux-rt-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2printk: nbcon: move locked_port flag to struct uart_portinclude/linux/console.h include/linux/serial_core.h kernel/printk/nbcon.c+5 -67 replies
2/2printk: nbcon: check uart port is nbcon or not in nbcon_releasekernel/printk/nbcon.c+3 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJohn Ogness
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] nbcon locking issue with v6.6.10-rt18 kernel

There are two serial port devices in one Intel ADL hardware, one is 8250 lpss, another is 8250 dw. Multiple uart devices are enumerated as ttyS0, ttyS4, ttyS5,... With 6.6.10 rt18 kernel, booting hangs in nbcon_release if console is enabled by appending "console=ttySx,115200n8" to kernel command line. According to nbcon author John's suggestion, lock flag is moved from console structure to uart_port. Another patch is to add uart_is_nbcon checking in nbcon_release.

Junxiao Chang (2):
printk: nbcon: move locked_port flag to struct uart_port
printk: nbcon: check uart port is nbcon or not in nbcon_release

 include/linux/console.h     |  2 --
 include/linux/serial_core.h |  1 +
 kernel/printk/nbcon.c       | 11 +++++++----
 3 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1