From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: John Ogness <john.ogness@linutronix.de>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Petr Mladek" <pmladek@suse.com>,
"Sergey Senozhatsky" <senozhatsky@chromium.org>,
"Steven Rostedt" <rostedt@goodmis.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
"Tony Lindgren" <tony@atomide.com>,
"Paul E. McKenney" <paulmck@kernel.org>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Serge Semin" <fancer.lancer@gmail.com>,
"Rengarajan S" <rengarajan.s@microchip.com>,
"Wolfram Sang" <wsa+renesas@sang-engineering.com>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Jeff Johnson" <quic_jjohnson@quicinc.com>,
"Lino Sanfilippo" <l.sanfilippo@kunbus.com>,
"Derek Barbosa" <debarbos@redhat.com>
Subject: Re: [PATCH tty-next v1 0/2] convert 8250 to nbcon
Date: Thu, 5 Sep 2024 16:53:46 +0300 [thread overview]
Message-ID: <Ztm36qPI7fVteSX_@smile.fi.intel.com> (raw)
In-Reply-To: <20240905134719.142554-1-john.ogness@linutronix.de>
On Thu, Sep 05, 2024 at 03:53:17PM +0206, John Ogness wrote:
> The recent printk rework introduced a new type of console NBCON
> that will perform printing via a dedicated kthread during
> normal operation. For times when the kthread is not available
> (early boot, panic, reboot/shutdown) the NBCON console will
> print directly from the printk() calling context (even if from
> NMI).
>
> Futher details about NBCON consoles are available here [0].
>
> This series converts the 8250 driver to an NBCON console,
> providing both threaded and atomic printing implementations.
> Users can verify the UART console is an NBCON console via the
> proc filesystem. For example:
>
> $ cat /proc/consoles
> ttyS0 -W- (EC N a) 4:64
>
> The 'N' shows that it is an NBCON console.
>
> There will also be a dedicated printing kthread. For example:
>
> $ ps ax | grep pr/
> 16 root 0:00 [pr/ttyS0]
Wondering if this can use the DEVNAME instead of opaque (to some extent) ttySx?
Or is it using the same what has been passed to the console= kernel command line
parameter?
> Derek Barbosa performed extensive tests [1] using this driver
> and encountered no issues. On the contrary, his tests showed
> the improved reliability and non-interference features of the
> NBCON-based driver.
>
> Since this is the first console driver to be converted to an
> NBCON console, it may include variables and functions that
> could be abstracted to all UART consoles (such as the
> @console_newline_needed field). However, we can abstract such
> things later as more consoles are converted to NBCON.
>
> John Ogness
>
> [0] https://lore.kernel.org/lkml/20230302195618.156940-1-john.ogness@linutronix.de
> [1] https://lore.kernel.org/lkml/ZsdoD6PomBRsB-ow@debarbos-thinkpadt14sgen2i.remote.csb
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2024-09-05 13:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 13:47 [PATCH tty-next v1 0/2] convert 8250 to nbcon John Ogness
2024-09-05 13:47 ` [PATCH next v1 1/2] serial: 8250: Switch to nbcon console John Ogness
2024-09-05 14:15 ` Andy Shevchenko
2024-09-05 19:23 ` John Ogness
2024-09-05 19:30 ` Andy Shevchenko
2024-09-06 10:10 ` Greg Kroah-Hartman
2024-09-06 12:37 ` Petr Mladek
2024-09-06 13:35 ` John Ogness
2024-09-06 16:38 ` John Ogness
2024-09-07 20:39 ` Thomas Gleixner
2024-09-09 9:53 ` Andy Shevchenko
2024-09-09 12:13 ` Thomas Gleixner
2024-09-09 9:50 ` Andy Shevchenko
2024-09-05 13:47 ` [PATCH next v1 2/2] serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()" John Ogness
2024-09-05 13:53 ` Andy Shevchenko [this message]
2024-09-05 14:05 ` [PATCH tty-next v1 0/2] convert 8250 to nbcon John Ogness
2024-09-05 14:09 ` Greg Kroah-Hartman
2024-09-05 14:12 ` John Ogness
2024-09-05 14:17 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Ztm36qPI7fVteSX_@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=debarbos@redhat.com \
--cc=f.fainelli@gmail.com \
--cc=fancer.lancer@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jirislaby@kernel.org \
--cc=john.ogness@linutronix.de \
--cc=l.sanfilippo@kunbus.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=pmladek@suse.com \
--cc=quic_jjohnson@quicinc.com \
--cc=rengarajan.s@microchip.com \
--cc=rostedt@goodmis.org \
--cc=senozhatsky@chromium.org \
--cc=tglx@linutronix.de \
--cc=tony@atomide.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wsa+renesas@sang-engineering.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).