Re: [GIT PULL] objtool fixes and updates

Josh Poimboeuf
2025-03-31T22:17:53Z

On Mon, Mar 31, 2025 at 06:10:45PM +0200, Ingo Molnar wrote:
> > > This can be seen in the full report:
> > >
> > > https://lore.kernel.org/oe-kbuild-all/202503280703.OARM8SrY-lkp@intel.com/
> > >
> > > All warnings (new ones prefixed by >>):
> > >
> > > arch/loongarch/kernel/traps.o: warning: objtool: show_stack+0xe0: stack state mismatch: reg1[22]=-1+0 reg2[22]=-2-160
> > > arch/loongarch/kernel/traps.o: warning: objtool: show_stack+0xe0: stack state mismatch: reg1[23]=-1+0 reg2[23]=-2-152
> > > >> arch/loongarch/kernel/traps.o: warning: objtool: show_stack+0xe0: skipping duplicate warning(s)
> > >
> > > Note how '>>' is the new warning - the summary line added recently that
> > > suggests that there's more warnings. It appears to me the test-bot
> > > considers the other warnings old regressions, but I couldn't find any
> > > trace of them being reported before. Maybe they weren't Cc:-ed to lkml.
> > >
> > > Or maybe these *are* all new warnings. I've Cc:-ed the LKP folks.
> >
> > Hi Ingo and all, sorry for confusion, here only the line with >> is considered
> > as new warning, due to the commit 0a7fb6f07e3a you mentioned.
>
> Oh, so the loongson 'stack state mismatch' warnings started sometime in
> the past, but were never reported by the bot? Or were they reported
> somewhere? I'd like to discover the timeline of those warnings, if
> that's possible.

I believe those warnings were introduced a year ago with:

cb8a2ef0848c ("LoongArch: Add ORC stack unwinder support")

but I wasn't able to find the original report.

--
Josh