Re: [PATCH 1/2] printk: nbcon: move locked_port flag to struct uart_port

From: Sebastian Andrzej Siewior
Date: Wed Jan 24 2024 - 05:05:41 EST


On 2024-01-24 10:53:10 [+0106], John Ogness wrote:
> On 2024-01-23, Junxiao Chang <junxiao.chang@xxxxxxxxx> wrote:
> > Console pointer in uart_port might be shared among multiple uart
> > ports.
>
> I still want to investigate why the pointer is shared. This sounds
> sloppy or dangerous.

I have x86 a server box and PNP enumerates two UARTs (8250). Only one is
wired up but both can be specified as console=.
What do I need to do to reproduce this here? Using console= twice does
not do the trick.

Sebastian