Merge tag 'printk-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/printk... 51/281551/1
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Feb 2021 19:04:36 +0000 (11:04 -0800)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 20 Sep 2022 02:45:26 +0000 (11:45 +0900)
commitf0e2bb4198dba33f5fa962ea3ff553727fcd5c8c
treec4e0cc5ce6a96c5554fb52577637338e21c3aab4
parent7d57216abf67f02b939504343e836d0a17762a3d
Merge tag 'printk-for-5.12' of git://git./linux/kernel/git/printk/linux

Pull printk updates from Petr Mladek:

 - 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.

* tag 'printk-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
  lib/vsprintf: no_hash_pointers prints all addresses as unhashed
  kselftest: add support for skipped tests
  lib: use KSTM_MODULE_GLOBALS macro in kselftest drivers
  printk: avoid prb_first_valid_seq() where possible
  printk: fix deadlock when kernel panic
  printk: rectify kernel-doc for prb_rec_init_wr()

[port kfence feature to rpi-5.10.95]
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I13558832bbd4970d2b35f39db052df735a6ced4f
Documentation/admin-guide/kernel-parameters.txt
kernel/printk/printk_ringbuffer.h
lib/test_bitmap.c
lib/test_printf.c
lib/vsprintf.c
tools/testing/selftests/kselftest_module.h