Re: [PATCH printk v2 08/26] printk: nbcon: Implement processing in port->lock wrapper

From: Tony Lindgren
Date: Fri Mar 22 2024 - 02:23:49 EST


* John Ogness <john.ogness@xxxxxxxxxxxxx> [240313 09:50]:
> One nice thing that has risen from this is we are starting to see
> exactly what the console lock is needed for. At this point I would say
> its main function is synchronizing boot consoles with real
> drivers. Which means we will not be able to remove the console lock
> until we find a real solution to match boot consoles (which circumvent
> the Linux driver model) with the real drivers.

Would it help if earlycon handles all the boot consoles?
Then just have the serial driver take over when it probes?

Regards,

Tony