Messages in this thread | | | Date | Tue, 14 Aug 2018 17:05:10 +0200 | From | Petr Mladek <> | Subject | [GIT PULL] printk for 4.19 |
| |
Linus,
please pull the latest printk changes from
git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk tags/printk-for-4.19
================
- Different vendors have a different expectation about a console quietness. Make it configurable to reduce bike-shedding about the upstream default.
- Decide about the message visibility when the message is stored. It avoids races caused by a delayed console handling.
- Always store printk() messages into the per-CPU buffers again in NMI. The only exception is when flushing trace log in panic(). There the risk of loosing messages is worth an eventual reordering.
- Handle invalid %pO printf modifiers correctly.
- Better handle %p printf modifier tests before crng is initialized.
- Some clean up.
---------------------------------------------------------------- Bart Van Assche (1): lib/vsprintf: Do not handle %pO[^F] as %px
Hans de Goede (1): printk: Make CONSOLE_LOGLEVEL_QUIET configurable
Maninder Singh (1): printk: make sure to print log on console.
Namit Gupta (1): printk: Remove unnecessary kmalloc() from syslog during clear
Petr Mladek (6): printk: Clean up syslog_print_all() printk: Split the code for storing a message into the log buffer printk: Create helper function to queue deferred console handling printk/nmi: Prevent deadlock when accessing the main log buffer in NMI printk: Fix warning about unused suppress_message_printing Merge branch 'for-4.19-nmi' into for-linus
Thierry Escande (1): lib/test_printf.c: accept "ptrval" as valid result for plain 'p' tests
include/linux/printk.h | 10 ++- kernel/printk/internal.h | 9 ++- kernel/printk/printk.c | 181 ++++++++++++++++++++++++-------------------- kernel/printk/printk_safe.c | 58 +++++++++----- kernel/trace/trace.c | 4 +- lib/Kconfig.debug | 11 +++ lib/nmi_backtrace.c | 3 - lib/test_printf.c | 24 +++++- lib/vsprintf.c | 1 + 9 files changed, 189 insertions(+), 112 deletions(-)
| |