[GIT PULL] printk for 5.12

From: Petr Mladek
Date: Mon Feb 22 2021 - 09:13:23 EST


Linus,

please pull the latest printk changes from

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

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

- New "no_hash_pointers" kernel parameter causes that %p shows raw
pointer values instead of hashed ones. It is intended only for
debugging purposes. Misuse is prevented by a fat warning message
that is inspired by trace_printk().

- Prevent a possible deadlock when flushing printk_safe buffers during
panic().

- Fix performance regression caused by the lockless printk ringbuffer.
It was visible with huge log buffer and long messages.

- Documentation fix-up.

----------------------------------------------------------------
John Ogness (1):
printk: avoid prb_first_valid_seq() where possible

Lukas Bulwahn (1):
printk: rectify kernel-doc for prb_rec_init_wr()

Muchun Song (1):
printk: fix deadlock when kernel panic

Petr Mladek (2):
Merge branch 'for-5.12-no_hash_pointers' into for-linus
Merge branch 'printk-rework' into for-linus

Timur Tabi (3):
lib: use KSTM_MODULE_GLOBALS macro in kselftest drivers
kselftest: add support for skipped tests
lib/vsprintf: no_hash_pointers prints all addresses as unhashed

Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++
kernel/printk/printk.c | 28 ++++++++++++-------
kernel/printk/printk_ringbuffer.h | 2 +-
kernel/printk/printk_safe.c | 16 ++++++++---
lib/test_bitmap.c | 3 +--
lib/test_printf.c | 12 +++++++--
lib/vsprintf.c | 36 +++++++++++++++++++++++--
tools/testing/selftests/kselftest_module.h | 18 ++++++++-----
8 files changed, 103 insertions(+), 27 deletions(-)