Re: [PATCH v7 0/4] kallsyms: embed source file:line info in kernel stack traces

From: Sasha Levin

Date: Thu Jul 16 2026 - 07:33:02 EST


On Fri, Jul 10, 2026 at 12:04:56PM +0200, Geert Uytterhoeven wrote:
Hi Sasha,

On Thu, 9 Jul 2026 at 18:38, Sasha Levin <sashal@xxxxxxxxxx> wrote:
Changes since v6
================

- Address Sashiko AI review comments.

What does that mean?
Please list the changes, so reviewers know what to look at.
Thanks!

Sorry! I've missed your mail.

There were a few smaller changes, mostly on the kunit tests side, here it is:

- Bound lineinfo lookups to the resolved symbol's start so it stops stale annotations on __init code and __pfx_* padding
- gen_lineinfo: handle SHT_REL .rel.debug_line (i386/arm32 modules)
- gen_lineinfo: bias all exec sections, drop foreign DWARF sequences; cover .noinstr.text (kvm.ko)
- __aligned(8) + static_asserts on the blob structs — fixes 32-bit layout mismatch (i386/m68k)
- SLEB128 decoder: do the shift unsigned
- KUnit: skip instead of fail when =m without KALLSYMS_LINEINFO_MODULES
- KUnit: dereference_function_descriptor() for target addresses (ppc64 ELFv1/parisc)
- KUnit: volatile accumulator in lineinfo_target_many_lines() (compilers fold it otherwise)
- KUnit: OPTIMIZER_HIDE_VAR for the mid-function address — fixes objtool !ENDBR warning
- KUnit: new regression tests (init-text stale annotation, 5-byte SLEB128 decode)

--
Thanks,
Sasha