[GIT PULL] printk for 4.20

From: Petr Mladek
Date: Wed Oct 24 2018 - 09:48:30 EST


Linus,

please pull the latest printk changes from

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

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

- Fix two more locations where printf formatting leaked pointers.
- Better log_buf_len parameter handling.
- Add prefix to messages from printk code.
- Do not miss messages on other consoles when the log is replayed
on a new one.
- Reduce race between console registration and panic() when the log
might get replayed on all consoles.
- Some cont buffer code clean up.
- Call console only when there is something to do (log vs. cont buffer).

----------------------------------------------------------------
Geert Uytterhoeven (4):
lib/vsprintf: Make ptr argument conts in ptr_to_id()
lib/vsprintf: Prepare for more general use of ptr_to_id()
lib/vsprintf: Hash legacy clock addresses
lib/vsprintf: Hash printed address for netdev bits fallback

He Zhe (4):
printk: Fix panic caused by passing log_buf_len to command line
printk: Correct wrong casting
printk: Add KBUILD_MODNAME and remove a redundant print prefix
printk: Give error on attempt to set log buffer length to over 2G

Petr Mladek (2):
printk: Do not miss new messages when replaying the log
Merge branch 'for-4.20-vsprintf-hash-fixes' into for-linus

Sergey Senozhatsky (5):
printk: CON_PRINTBUFFER console registration is a bit racy
printk: keep kernel cont support always enabled
printk: lock/unlock console only for new logbuf entries
printk: do not preliminary split up cont buffer
printk: fix integer overflow in setup_log_buf()

Documentation/core-api/printk-formats.rst | 5 +-
kernel/printk/printk.c | 86 ++++++------
lib/vsprintf.c | 216 +++++++++++++++---------------
3 files changed, 158 insertions(+), 149 deletions(-)