mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] More printk hotfixes for 7.3
@ 2026-10-16 16:40 Petr Mladek
  2026-10-17  0:45 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Mladek @ 2026-10-16 16:40 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 2 more hot-fixes from

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

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

- Switch NBCON consoles to the emergency mode in emergency_restart() to
  see messages even in this shutdown code path.

- Postpone the start of printk kthreads after smp_init(). It prevents
  boot stalls on some HW.

- Typo fix in a previous hot-fix patch.

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

The postponed start of printk kthreads obviously looks like a workaround.
I wish we understood what was going on there.

It seems that it happens only on some (likely) older hardware.
John was not able to reproduce it on several systems so we were
not able to put hands on it.

We double checked the nbcon design and were not able to find any
location where it might cause a deadlock.

It rather looks like a HW specific problem. I do not have enough
experience with HW-specific bugs so it is not easier for me to
focus on some particular code path. It just seems that smp_init()
is not happy when another CPU is emitting the messages on the serial
port (manipulating interrupts?).

Anyway, the change looks safe. It just prolongs the time when
printk() tries to flush the messages directly even on NBCON
consoles. It might slowdown the boot a bit. But it won't be
worse than in the pre-NBCON era. And the direct flushing
increases the chance to see the messages. It makes printk()
more reliable for longer early boot period so some people
might even like this change.

I want to continue debugging of the problem. But let's move 7.3
to the safe side.

----------------------------------------------------------------
John Ogness (1):
      printk: Postpone kthread startup

Muhammad Mahdi Amirpour (1):
      printk: fix kernel-doc name for nbcon_write_context_is_braille

Petr Mladek (2):
      nbcon/reboot: Switch NBCON consoles into the emergency mode in emergency_restart()
      Merge branch 'for-7.3-hotfix' into for-linus

 kernel/printk/nbcon.c  | 3 ++-
 kernel/printk/printk.c | 2 +-
 kernel/reboot.c        | 9 +++++++++
 3 files changed, 12 insertions(+), 2 deletions(-)

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

* Re: [GIT PULL] More printk hotfixes for 7.3
  2026-10-16 16:40 [GIT PULL] More printk hotfixes for 7.3 Petr Mladek
@ 2026-10-17  0:45 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-10-17  0:45 UTC (permalink / raw)
  To: Petr Mladek
  Cc: Linus Torvalds, Sergey Senozhatsky, Steven Rostedt, John Ogness,
	Andy Shevchenko, Rasmus Villemoes, Peter Zijlstra, Petr Mladek,
	linux-kernel, Greg Kroah-Hartman

The pull request you sent on Fri, 16 Oct 2026 18:40:04 +0200:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9d586910e3d858fb25d061b7bf3f9642eca89213

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2026-10-17  0:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 16:40 [GIT PULL] More printk hotfixes for 7.3 Petr Mladek
2026-10-17  0:45 ` 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®