Re: [GIT PULL] objtool fixes and updates

Tiezhu Yang
2025-04-01T02:05:51Z

Hi all,

Sorry for the late reply.

(1) The following objtool warnings:

modpost: "kvm_restore_lsx" [arch/loongarch/kvm/kvm.ko] undefined!
modpost: "kvm_restore_lasx" [arch/loongarch/kvm/kvm.ko] undefined!

have been fixed and merged (2024-08-26):

https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80376323e2b6

There are "Reported-by" and "Closes" tags in the commit message.

Reported-by: kernel test robot <lkp@intel.com>
Closes:
https://lore.kernel.org/oe-kbuild-all/202408120955.qls5oNQY-lkp@intel.com/

(2) I did not meet the following objtool warnings before this merge
window:

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

and I did not notice the robot report due to there are many unread mails
in my inbox, I will try to reproduce it and take a deeper look at the
problem, maybe it is related with some special configs.

Thanks,
Tiezhu