Skip to contentSkip to conversation

printk for 5.18

GIT PULL Merged Petr Mladek 2 participants 2 messages Mar 21, 2022 – Mar 23, 2022

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull the latest printk changes from

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

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

- Make %pK behave the same as %p for kptr_restrict == 0 also with no_hash_pointers parameter.

- Ignore the default console in the device tree also when console=null or console="" is used on the command line.

- Document console=null and console="" behavior.

- Prevent a deadlock and a livelock caused by console_lock in panic().

- Make console_lock available for panicking CPU.

- Fast query for the next to-be-used sequence number.

- Use the expected return values in printk.devkmsg __setup handler.

- Use the correct atomic operations in wake_up_klogd() irq_work handler.

- Avoid possible unaligned access when handling %4cc printing format.

----------------------------------------------------------------
Andre Kalb (1):

      printk: Set console_set_on_cmdline=1 when __add_preferred_console() is called with user_specified == true

Andy Shevchenko (2):
vsprintf: Fix potential unaligned access
vsprintf: Move space out of string literals in fourcc_string()

Christophe Leroy (1):

      vsprintf: Fix %pK with kptr_restrict == 0

Jiapeng Chong (1):
printk: make suppress_panic_printk static

John Ogness (1):
printk: use atomic updates for klogd work

Petr Mladek (4):
printk: ringbuffer: Improve prb_next_seq() performance Merge branch 'for-5.18-vsprintf-fourcc-fixup' into for-linus Merge branch 'for-5.18-panic-deadlocks' into for-linus Merge branch 'rework/fast-next-seq' into for-linus

Randy Dunlap (2):
Docs: printk: add 'console=null|""' to admin/kernel-parameters
printk: fix return value of printk.devkmsg __setup handler

Stephen Brennan (4):
printk: Add panic_in_progress helper
printk: disable optimistic spin during panic
printk: Avoid livelock with heavy printk during panic
printk: Drop console_sem during panic

 Documentation/admin-guide/kernel-parameters.txt |  9 ++-
 kernel/printk/printk.c                          | 85 ++++++++++++++++++++++---
 kernel/printk/printk_ringbuffer.c               | 52 +++++++++++++--
 kernel/printk/printk_ringbuffer.h               |  2 +
 lib/vsprintf.c                                  | 49 ++++++++------
 5 files changed, 161 insertions(+), 36 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 21 Mar 2022 15:28:26 +0100:

The pull request you sent on Mon, 21 Mar 2022 15:28:26 +0100:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3ef4ea3d84ca568dcd57816b9521e82e3bd94f08

Thank you!

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