Re: [PATCH 5.10 000/131] 5.10.44-rc1 review

From: Greg Kroah-Hartman
Date: Mon Jun 14 2021 - 12:14:56 EST


On Mon, Jun 14, 2021 at 06:11:15PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Jun 14, 2021 at 05:36:45PM +0200, Holger Hoffstätte wrote:
> > On 2021-06-14 12:26, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.10.44 release.
> >
> > Hmm..I build my kernel with BTF for bpftrace and this gives me:
> >
> > ...
> > CC init/version.o
> > AR init/built-in.a
> > LD vmlinux.o
> > MODPOST vmlinux.symvers
> > MODINFO modules.builtin.modinfo
> > GEN modules.builtin
> > LD .tmp_vmlinux.btf
> > BTF .btf.vmlinux.bin.o
> > LD .tmp_vmlinux.kallsyms1
> > KSYMS .tmp_vmlinux.kallsyms1.S
> > AS .tmp_vmlinux.kallsyms1.S
> > LD .tmp_vmlinux.kallsyms2
> > KSYMS .tmp_vmlinux.kallsyms2.S
> > AS .tmp_vmlinux.kallsyms2.S
> > LD vmlinux
> > BTFIDS vmlinux
> > FAILED unresolved symbol migrate_enable
> >
> > thanks to:
> >
> > > Jiri Olsa <jolsa@xxxxxxxxxx>
> > > bpf: Add deny list of btf ids check for tracing programs
> >
> > When I revert this it builds fine, just like before. Maybe a missing
> > requirement or followup fix? I didn't find anything with a quick search.
> > Using gcc-11, if it matters.
>
> Looks like we need the change that exported this function, let me see if
> it's worth to add that, or to revert this one...

No, that's a mess, and the "bug" this commit was trying to fix, isn't
there for 5.10 as migrate_enable is not a function in 5.10. So I'll go
drop this patch and push out a -rc2 in a few minutes.

thanks for testing and letting me know.

greg k-h