• Linus Torvalds's avatar
    Merge tag 'printk-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · 3ef4ea3d
    Linus Torvalds authored
    Pull printk updates from Petr Mladek:
    
     - Make %pK behave the same as %p for kptr_restrict == 0 also with
       no_hash_pointers parameter
    
     - Ignore the default console in the device tree also when console=null
       or console="" is used on the command line
    
     - Document console=null and console="" behavior
    
     - Prevent a deadlock and a livelock caused by console_lock in panic()
    
     - Make console_lock available for panicking CPU
    
     - Fast query for the next to-be-used sequence number
    
     - Use the expected return values in printk.devkmsg __setup handler
    
     - Use the correct atomic operations in wake_up_klogd() irq_work handler
    
     - Avoid possible unaligned access when handling %4cc printing format
    
    * tag 'printk-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
      printk: fix return value of printk.devkmsg __setup handler
      vsprintf: Fix %pK with kptr_restrict == 0
      printk: make suppress_panic_printk static
      printk: Set console_set_on_cmdline=1 when __add_preferred_console() is called with user_specified == true
      Docs: printk: add 'console=null|""' to admin/kernel-parameters
      printk: use atomic updates for klogd work
      printk: Drop console_sem during panic
      printk: Avoid livelock with heavy printk during panic
      printk: disable optimistic spin during panic
      printk: Add panic_in_progress helper
      vsprintf: Move space out of string literals in fourcc_string()
      vsprintf: Fix potential unaligned access
      printk: ringbuffer: Improve prb_next_seq() performance
    3ef4ea3d
printk.c 96.4 KB