[GIT PULL] printk for 5.20
From: Petr Mladek
Date: Mon Aug 01 2022 - 11:08:18 EST
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.20
=====================================
- Completely disable printing on consoles with CONFIG_RT. They break
RT guarantees. They are too slow to be called with raw spinlocks.
They can't be called with normal spinlocks in an atomic context because
RT spinlocks might sleep. It is going to get fixed by the kthreads and
atomic consoles. In the meantime, the debugging of CONFIG_RT kernel
will be possible only by the user space kernel log readers.
- Allow to read kernel log in gdb even on 32 bits systems.
- More granular check of the buffer usage in printf selftest.
- Clang warning fix.
----------------------------------------------------------------
Antonio Borneo (1):
scripts/gdb: fix 'lx-dmesg' on 32 bits arch
Justin Stitt (1):
lib/test_printf.c: fix clang -Wformat warnings
Petr Mladek (2):
Merge branch 'for-5.20' into for-linus
Merge branch 'rework/kthreads' into for-linus
Rasmus Villemoes (1):
lib/test_printf.c: split write-beyond-buffer check in two
Sebastian Andrzej Siewior (1):
printk: Skip console drivers on PREEMPT_RT.
kernel/printk/printk.c | 10 ++++++++++
lib/test_printf.c | 21 +++++++++++++++++----
scripts/gdb/linux/dmesg.py | 9 +++------
scripts/gdb/linux/utils.py | 14 ++++++++++++--
4 files changed, 42 insertions(+), 12 deletions(-)