summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDevin Wittmayer <lucid_duck@justthetip.ca>2026-10-15 22:27:21 -0700
committerJocelyn Falempe <jfalempe@redhat.com>2026-10-19 11:39:47 +0200
commit1ba6405638439a4214783965538b0196c8de8a5b (patch)
treedcffa3da3d4aaf7a4456950d49961bc3cc976fdf /include/linux
parentb537d87d2632c9a72afa08755b2de89a5b3ab70f (diff)
drm/panic: Fix kmsg screen hang on a long log line
The kmsg panic screen reads the log back one chunk at a time. A record that does not fit in a chunk comes back empty without moving on, so the screen asks for it again forever and the panic never finishes. Every oops logs the list of loaded modules, and on my machine that list does not fit. Read into a buffer the size printk formats one record into, and stop if a read still comes back empty. Fixes: 54034bebb22f ("drm/panic: Add a kmsg panic screen") Cc: stable@vger.kernel.org Signed-off-by: Devin Wittmayer <lucid_duck@justthetip.ca> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patch.msgid.link/20261016052722.60051-1-lucid_duck@justthetip.ca Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions