]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/boot: Add bootdebug option to control debug messages
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 20 Nov 2024 21:23:48 +0000 (22:23 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 26 Jan 2025 16:24:01 +0000 (17:24 +0100)
commitd20d8e51338fc39aedf98786a4e9b71d4af4bda7
treeaba7ebf2af9eaa89c6197df6c5d3c610a22897db
parentc09f8d0ad673afdfd5d097d95d2026a84fa4926e
s390/boot: Add bootdebug option to control debug messages

Suppress decompressor debug messages by default, similar to regular
kernel debug messages that require 'DEBUG' or 'dyndbg' to be enabled
(depending on CONFIG_DYNAMIC_DEBUG). Introduce a 'bootdebug' option to
enable printing these messages when needed.

All messages are still stored in the boot ring buffer regardless.

To enable boot debug messages:

  bootdebug debug

Or combine with 'earlyprintk' to print them without delay:

  bootdebug debug earlyprintk

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/boot/ipl_parm.c
arch/s390/boot/printk.c
arch/s390/include/asm/boot_data.h
arch/s390/kernel/early.c
arch/s390/kernel/setup.c