]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/boot: Improve decompression error reporting
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 12 Dec 2024 15:39:05 +0000 (16:39 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 26 Jan 2025 16:24:03 +0000 (17:24 +0100)
commit9af310ef10dedc2f8d400d26fdc99d771537b2fd
tree0207997ede2c65da9ecbae114b4cba0b4401e389
parentec6f9f7e5bbf983323d53b66e8a76d699d26736c
s390/boot: Improve decompression error reporting

Currently, decompression error messages can be very uninformative:
[    0.029853] startup: read error
[    0.040507] startup:  -- System halted

Improve these messages to make it clear that the error originates from
the decompression code. Additionally, on decompression failures, if
bootdebug is enabled, dump the message ring buffer before halting. This
provides more context for diagnosing startup issues.

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/decompressor.c