LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Petr Mladek <pmladek@suse.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	John Ogness <john.ogness@linutronix.de>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] printk for 5.15
Date: Tue, 31 Aug 2021 12:44:11 +0200	[thread overview]
Message-ID: <YS4H+87KIBcdc0m2@alley> (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

             reply	other threads:[~2021-08-31 10:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-31 10:44 Petr Mladek [this message]
2021-09-02  2:14 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YS4H+87KIBcdc0m2@alley \
    --to=pmladek@suse.com \
    --cc=akpm@linux-foundation.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=senozhatsky@chromium.org \
    --cc=torvalds@linux-foundation.org \
    --subject='Re: [GIT PULL] printk for 5.15' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).