[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8735c88x2c.fsf@jogness.linutronix.de>
Date: Fri, 30 Sep 2022 21:52:35 +0206
From: John Ogness <john.ogness@...utronix.de>
To: Helge Deller <deller@....de>, Petr Mladek <pmladek@...e.com>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-parisc@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH printk 11/18] printk: Convert console_drivers list to hlist
On 2022-09-30, Helge Deller <deller@....de> wrote:
>> I know that it is all hope for good. But there is also a race between
>> the hlist_empty() and hlist_entry().
>
> I wonder if pdc_console() is still needed as it is today. When this
> was written, early_console and such didn't worked for parisc as it
> should. That's proably why we have this register/unregister in here.
>
> Would it make sense, and would we gain something for this
> printk-series, if I'd try to convert pdc_console to a standard
> earlycon or earlyprintk device?
Having an earlycon or earlyprintk device will not really help you here
since those drivers will have already unregistered.
However, once we get the new atomic/kthread interface available, it
certainly would be useful to implement the pdc_console as an atomic
console.
John Ogness
Powered by blists - more mailing lists