]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panic: Add panic description
authorJocelyn Falempe <jfalempe@redhat.com>
Wed, 7 Aug 2024 13:36:14 +0000 (15:36 +0200)
committerJocelyn Falempe <jfalempe@redhat.com>
Mon, 12 Aug 2024 08:15:45 +0000 (10:15 +0200)
commit5d45c01dea6f9e0f2dbed3ffee02ac2e80579ad4
tree5b30353f3e0e5803b0d42bc80fc35099394f0a4e
parent969135862e731620b9e03bb0c21179ff1cccfd0e
drm/panic: Add panic description

Now that kmsg dump callback has the description parameter, use it in
the user panic screen.
This is the string passed to panic(), like "VFS: Unable to mount root
fs on xxx" or "Attempted to kill init! exitcode=0xxxx".
It gives a hint on why the panic occurred, without being too cryptic.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240807134902.458669-6-jfalempe@redhat.com
drivers/gpu/drm/drm_panic.c