mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] printk for 7.3-rc3
@ 2026-10-06  6:57 Petr Mladek
  2026-10-06  6:59 ` Petr Mladek
  2026-10-06  9:36 ` pr-tracker-bot
  0 siblings, 2 replies; 5+ messages in thread
From: Petr Mladek @ 2026-10-06  6:57 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Sergey Senozhatsky, Steven Rostedt, John Ogness, Andy Shevchenko,
	Rasmus Villemoes, Peter Zijlstra, Petr Mladek, linux-kernel,
	Greg Kroah-Hartman

Hi Linus,

please pull one fix from

  git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-7.3-rc7

================================================================

- Allow using Braille console with a serial console driver converted
  to NBCON API.

================================================================

Note that Braille console is not a classic printk console. It uses
the printk code for registration and the printk callbacks for emitting
messages. But it is not added into console_list. Instead, it is wired
into the VT code and shows the content displayed on the terminal.

The current solution is a kind of hack. John has started working
on converting the Braille console driver to use the serdev API
so that we do not have to deal with NBCON API in the VT context
which is historically under console_lock...

We would like to get this temporary solution into 7.3 so that
the Braille console does not stop working with the newly converted
uart 8250 serial console driver.

----------------------------------------------------------------
Petr Mladek (1):
      braille: nbcon: Allow to use a serial console with NBCON API as Braille console

 drivers/accessibility/braille/braille_console.c | 57 +++++++++++++++++-
 drivers/tty/serial/8250/8250_port.c             |  5 +-
 drivers/tty/serial/amba-pl011.c                 |  2 +-
 drivers/tty/serial/imx.c                        |  2 +-
 drivers/tty/serial/sifive.c                     |  2 +-
 include/linux/console.h                         | 15 +++++
 kernel/printk/nbcon.c                           | 79 +++++++++++++++++++++++++
 7 files changed, 156 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [GIT PULL] printk for 7.3-rc3
@ 2026-09-09  9:08 Petr Mladek
  2026-09-09 18:38 ` pr-tracker-bot
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Mladek @ 2026-09-09  9:08 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Sergey Senozhatsky, Steven Rostedt, John Ogness, Andy Shevchenko,
	Rasmus Villemoes, Peter Zijlstra, Petr Mladek, linux-kernel,
	Jon Hunter, Greg Kroah-Hartman, Thierry Reding,
	Sebastian Andrzej Siewior

Hi Linus,

please pull some printk fixes from

  git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-7.3-rc3

=======================================

- Use lazy irq_work for waking printk kthreads.

- Flush pending irq_work before destroying printk kthreads.

- Remove redundant WARN() when a printk kthread can't be created.

- Typo fix.

----------------------------------------------------------------

The primary motivation for making the irq_work lazy is that pending
IRQs block suspending and entering idle states on Tegra20 and Tegra30
platforms. They even did not boot after converting uart 8250 console
driver to the nbcon API.

It should be acceptable because printk kthreads are used for
non-emergency messages. They have to wait until they get
scheduled anyway.

This seems to be the least hacky solution which might even have
some positive effect in reducing the IRQ noise. And it allows
to keep the converted uart 8250 console driver in 7.3.

The discussion about the Tegra problems can be found at
https://lore.kernel.org/lkml/f3757a75-0ba1-4558-bf57-f19ab7e59a4c@nvidia.com/
https://lore.kernel.org/all/20260828155811.270462-1-john.ogness@linutronix.de/

----------------------------------------------------------------

Johan Hovold (1):
      console: fix /dev/kmsg reference in flags kernel doc

John Ogness (2):
      printk/nbcon: Flush nbcon_irq_work in nbcon_free()
      printk/nbcon: Change nbcon_irq_work to IRQ_WORK_LAZY

Petr Mladek (1):
      Merge branch 'for-7.4-trivial' into for-linus

Tetsuo Handa (1):
      printk: Don't WARN on kthread_run failure.

 include/linux/console.h | 2 +-
 kernel/printk/nbcon.c   | 6 ++++--
 kernel/printk/printk.c  | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-06  9:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06  6:57 [GIT PULL] printk for 7.3-rc3 Petr Mladek
2026-10-06  6:59 ` Petr Mladek
2026-10-06  9:36 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2026-09-09  9:08 Petr Mladek
2026-09-09 18:38 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®