]> www.infradead.org Git - users/willy/pagecache.git/commitdiff
Merge tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/printk...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Sep 2023 20:20:19 +0000 (13:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 4 Sep 2023 20:20:19 +0000 (13:20 -0700)
Pull printk updates from Petr Mladek:

 - Do not try to get the console lock when it is not need or useful in
   panic()

 - Replace the global console_suspended state by a per-console flag

 - Export symbols needed for dumping the raw printk buffer in panic()

 - Fix documentation of printf formats for integer types

 - Moved Sergey Senozhatsky to the reviewer role

 - Misc cleanups

* tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
  printk: export symbols for debug modules
  lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
  printk: ringbuffer: Fix truncating buffer size min_t cast
  printk: Rename abandon_console_lock_in_panic() to other_cpu_in_panic()
  printk: Add per-console suspended state
  printk: Consolidate console deferred printing
  printk: Do not take console lock for console_flush_on_panic()
  printk: Keep non-panic-CPUs out of console lock
  printk: Reduce console_unblank() usage in unsafe scenarios
  kdb: Do not assume write() callback available
  docs: printk-formats: Treat char as always unsigned
  docs: printk-formats: Fix hex printing of signed values
  MAINTAINERS: adjust printk/vsprintf entries

1  2 
Documentation/core-api/printk-formats.rst
MAINTAINERS
kernel/debug/kdb/kdb_io.c
kernel/printk/printk.c

diff --cc MAINTAINERS
Simple merge
Simple merge
index 357a4d18f6387cc5a626346dea2d3518fc2e4c86,1524893aebedb41d4b391a7df7a6c40a35208338..96fc38cb2e8415f6d1572384833ea8a55b3b90b7
@@@ -88,10 -86,10 +88,10 @@@ EXPORT_SYMBOL(oops_in_progress)
  static DEFINE_MUTEX(console_mutex);
  
  /*
-  * console_sem protects updates to console->seq and console_suspended,
+  * console_sem protects updates to console->seq
   * and also provides serialization for console printing.
   */
 -static DEFINE_SEMAPHORE(console_sem);
 +static DEFINE_SEMAPHORE(console_sem, 1);
  HLIST_HEAD(console_list);
  EXPORT_SYMBOL_GPL(console_list);
  DEFINE_STATIC_SRCU(console_srcu);