Skip to content

kernel/panic: add more descriptive logging of kernel taints

Jani Nikula lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] kernel-panic-add-verbose-logging-of-kernel-taints-in-backtraces.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4kernel/panic: return early from print_tainted() when not taintedkernel/panic.c+13 -121 replyApplied
2/4kernel/panic: convert print_tainted() to use struct seq_buf internallykernel/panic.c+24 -141 replyApplied
3/4kernel/panic: initialize taint_flags[] using a macrokernel/panic.c+27 -191 replyApplied
4/4kernel/panic: add verbose logging of kernel taints in backtracesinclude/linux/panic.h kernel/panic.c lib/dump_stack.c+42 -141 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] kernel/panic: add more descriptive logging of kernel taints

Resend of
https://lore.kernel.org/r/[email protected]

A few years back there was a discussion about it being difficult to remember all the taint flags [1].

Time flies. I stumbled on my old branch, brushed it up, and here it is.

I'm not entirely happy with the static buf (which was there to begin with) or how to decide on its size. Thoughts?

BR,
Jani.

[1] https://lore.kernel.org/r/YmvU+/[email protected]

Jani Nikula (4):
kernel/panic: return early from print_tainted() when not tainted kernel/panic: convert print_tainted() to use struct seq_buf internally kernel/panic: initialize taint_flags[] using a macro kernel/panic: add verbose logging of kernel taints in backtraces

 include/linux/panic.h |   8 +--
 kernel/panic.c        | 116 ++++++++++++++++++++++++++++--------------
 lib/dump_stack.c      |   3 ++
 3 files changed, 87 insertions(+), 40 deletions(-)
Signature · 1 line
2.39.2