]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/boot: Add timestamps to early boot messages
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 29 Nov 2024 11:56:48 +0000 (12:56 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 26 Jan 2025 16:24:02 +0000 (17:24 +0100)
commit70309dc77699dd598ade67ca7fca5a17ac3275c1
treed48aac0ddeee8d19cad9ea38815ec870e224398f
parentb2a992a55fb60395d1ab9a4d4b2ea3783e3b7ad9
s390/boot: Add timestamps to early boot messages

When CONFIG_PRINTK_TIME is enabled, add timestamps to boot messages in
the same format as regular printk. Timestamps appear only with earlyprintk
and are stored in the boot messages ring buffer, but are not propagated
to main kernel messages (if earlyprintk is not enabled). This prevents
double timestamps in the output.

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/printk.c
arch/s390/include/asm/boot_data.h
arch/s390/kernel/setup.c