Skip to content

RFC kernel/panic: add more descriptive logging of kernel taints

Jani Nikula lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)

--
2.39.2