Re: New warning `cryptd: no symbol version for this_cpu_off`

From: Uros Bizjak
Date: Thu Apr 03 2025 - 09:43:15 EST


On Thu, Apr 3, 2025 at 3:20 PM Paul Menzel <pmenzel@xxxxxxxxxxxxx> wrote:
>
> Dear Uros,
>
>
> Am 03.04.25 um 15:14 schrieb Uros Bizjak:
> > On Thu, Apr 3, 2025 at 2:30 PM Paul Menzel <pmenzel@xxxxxxxxxxxxx> wrote:
> >>
> >> #regzbot ^introduced: 6a367577153a
> >>
> >> [To: +Uros, Cc: +Nadav, +Andrew]
>
> >> Am 03.04.25 um 09:35 schrieb Paul Menzel:
> >>
> >>> On the Intel Kaby Lake laptop Dell XPS 13 9360, updating from
> >>> 6.14.0-11270-g08733088b566 to 6.14.0-12456-gacc4d5ff0b61, Linux logs the
> >>> new warning below:
> >>>
> >>> cryptd: no symbol version for this_cpu_off
> >>>
> >>> I haven’t bisected it, but could it be commit 06aa03056f90 (x86/smp:
> >>> Move this_cpu_off to percpu hot section). It says to have no functional
> >>> change though.
> >>
> >> `git bisect` led to commit 6a367577153a (percpu/x86: enable strict
> >> percpu checks via named AS qualifiers).
> >>
> >> $ git bisect start
> >> $ git bisect good 08733088b566
> >> $ git bisect bad acc4d5ff0b61
> >
> > Can you please post your .config?
>
> Sorry, I didn’t attach it right away. It’s attached now.

Huh, it looks that modpost chokes on __seg_gs prefixed symbols.

WARNING: modpost: EXPORT symbol "this_cpu_off" [vmlinux] version
generation failed, symbol will not be versioned.
Is "this_cpu_off" prototyped in <asm/asm-prototypes.h>?

Uros.