s390/boot: Defer boot messages when earlyprintk is not enabled
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 20 Nov 2024 20:46:17 +0000 (21:46 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 26 Jan 2025 16:24:01 +0000 (17:24 +0100)
commitc09f8d0ad673afdfd5d097d95d2026a84fa4926e
tree4f802571b390d956d9ee1435a95437b4b9c1de2c
parent847e5a4c713747e8c0e9e25bda00aea782d1062b
s390/boot: Defer boot messages when earlyprintk is not enabled

When earlyprintk is not specified, boot messages are only stored in a
ring buffer to be printed later by printk when console driver is
registered.

Critical messages from boot_emerg() are always printed immediately,
even without 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/setup.c