[GIT PULL] printk for 7.3-rc3
From: Petr Mladek
Date: Wed Sep 09 2026 - 05:24:09 EST
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@xxxxxxxxxx/
https://lore.kernel.org/all/20260828155811.270462-1-john.ogness@xxxxxxxxxxxxx/
----------------------------------------------------------------
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(-)