printk for 6.18
Hi Linus,
please pull the latest printk changes from
git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git tags/printk-for-6.18
=======================================
- Add KUnit test for the printk ring buffer.
- Fix the check of the maximal record size which is allowed to be stored into the printk ring buffer. It prevents corruptions of the ring buffer.
Note that printk() is on the safe side. The messages are limited by 1kB buffer and are always small enough for the minimal log buffer size 4kB, see CONFIG_LOG_BUF_SHIFT definition.
----------------------------------------------------------------
Arnd Bergmann (1):
printk: kunit: support offstack cpumask
John Ogness (1):
printk: ringbuffer: Fix data block max size check
Petr Mladek (3):
printk: ringbuffer: Explain why the KUnit test ignores failed writes
printk: kunit: Fix __counted_by() in struct prbtest_rbdata Merge branch 'rework/ringbuffer-kunit-test' into for-linus
Thomas Weißschuh (1):
printk: ringbuffer: Add KUnit test
init/Kconfig | 12 + kernel/printk/.kunitconfig | 3 + kernel/printk/Makefile | 2 + kernel/printk/printk_ringbuffer.c | 48 ++-- kernel/printk/printk_ringbuffer_kunit_test.c | 327 +++++++++++++++++++++++++++ 5 files changed, 378 insertions(+), 14 deletions(-) create mode 100644 kernel/printk/.kunitconfig create mode 100644 kernel/printk/printk_ringbuffer_kunit_test.c
The pull request you sent on Thu, 2 Oct 2025 12:53:57 +0200:
The pull request you sent on Thu, 2 Oct 2025 12:53:57 +0200:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.gittags/printk-for-6.18
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/48e3694ae7fae347c1193c84f384f4ea41086075
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html