Skip to contentSkip to conversation

printk for 5.15

GIT PULL Merged Petr Mladek 2 participants 2 messages Aug 31, 2021 – Sep 2, 2021

lore
Share & tools
lore
#0 lore raw

Linus,

please pull the latest printk changes from

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

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

- Optionally, provide an index of possible printk messages via <debugfs>/printk/index/. It might be used when monitoring important kernel messages on a farm of various hosts. The monitor has to be updated when some messages has changed or are not longer available by a newly deployed kernel.

- Add printk.console_no_auto_verbose boot parameter. It allows to generate crash dump even with slow consoles in a reasonable time frame.

- Remove printk_safe buffers. The messages are always stored directly to the main logbuffer, even in NMI or recursive context. Also it allows to serialize syslog operations by a mutex instead of a spin lock.

- Misc clean up and build fixes.

----------------------------------------------------------------
Andy Shevchenko (1):

      lib/test_scanf: Handle n_bits == 0 in random tests

Chris Down (5):
string_helpers: Escape double quotes in escape_special
printk: Straighten out log_flags into printk_info_flags
printk: Rework parse_prefix into printk_parse_prefix
printk: Userspace format indexing support
printk: index: Add indexing support to dev_printk

Dmitry Safonov (2):
printk: Remove console_silent()
printk: Add printk.console_no_auto_verbose boot parameter

John Ogness (6):
lib/nmi_backtrace: explicitly serialize banner and regs
printk: track/limit recursion
printk: remove safe buffers
printk: remove NMI tracking
printk: convert @syslog_lock to mutex
printk: syslog: close window between wait and read

Jonathan Corbet (1):
printk: Move the printk() kerneldoc comment to its new home

Petr Mladek (8):
printk/console: Check consistent sequence number when handling race in console_unlock() MIPS/asm/printk: Fix build failure caused by printk
printk/index: Fix warning about missing prototypes
lib/nmi_backtrace: Serialize even messages about idle CPUs
Merge branch 'for-5.15-printk-index' into for-linus
Merge branch 'for-5.15-verbose-console' into for-linus
Merge branch 'rework/fixup-for-5.15' into for-linus
Merge branch 'rework/printk_safe-removal' into for-linus

YueHaibing (1):
printk/index: Fix -Wunused-function warning

 Documentation/admin-guide/kernel-parameters.txt |   9 +
 Documentation/core-api/printk-basics.rst        |   5 +-
 MAINTAINERS                                     |   5 +
 arch/arm/kernel/entry-v7m.S                     |   2 +-
 arch/arm/kernel/smp.c                           |   4 +-
 arch/arm/lib/backtrace-clang.S                  |   2 +-
 arch/arm/lib/backtrace.S                        |   2 +-
 arch/arm/mach-rpc/io-acorn.S                    |   2 +-
 arch/arm/vfp/vfphw.S                            |   6 +-
 arch/ia64/include/uapi/asm/cmpxchg.h            |   4 +-
 arch/mips/include/asm/asm.h                     |   2 +-
 arch/openrisc/kernel/entry.S                    |   6 +-
 arch/powerpc/kernel/head_fsl_booke.S            |   2 +-
 arch/powerpc/kernel/traps.c                     |   1 -
 arch/powerpc/kernel/watchdog.c                  |   5 -
 arch/powerpc/kexec/crash.c                      |   2 +-
 arch/um/include/shared/user.h                   |   3 +-
 arch/x86/kernel/head_32.S                       |   2 +-
 drivers/base/core.c                             |   6 +-
 include/asm-generic/vmlinux.lds.h               |  13 +
 include/linux/dev_printk.h                      |  66 +++--
 include/linux/hardirq.h                         |   2 -
 include/linux/module.h                          |   5 +
 include/linux/printk.h                          | 171 ++++++++---
 init/Kconfig                                    |  19 +-
 kernel/kexec_core.c                             |   1 -
 kernel/module.c                                 |   5 +
 kernel/panic.c                                  |   3 -
 kernel/printk/Makefile                          |   1 +
 kernel/printk/index.c                           | 195 +++++++++++++
 kernel/printk/internal.h                        |  31 +-
 kernel/printk/printk.c                          | 361 +++++++++++++----------
 kernel/printk/printk_safe.c                     | 364 +-----------------------
 kernel/trace/trace.c                            |   2 -
 lib/nmi_backtrace.c                             |  13 +-
 lib/string_helpers.c                            |   4 +
 lib/test-string_helpers.c                       |  14 +-
 lib/test_scanf.c                                |   4 +-
 38 files changed, 687 insertions(+), 657 deletions(-)
 create mode 100644 kernel/printk/index.c
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 31 Aug 2021 12:44:11 +0200:

The pull request you sent on Tue, 31 Aug 2021 12:44:11 +0200:

Quoted 1 line

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

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

Thank you!

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