arch/loongarch/kernel/machine_kexec.o: warning: objtool: kexec_shutdown_secondary+0x54: stack state mismatch: cfa1=3+0 cfa2=3+16

From: kernel test robot
Date: Mon Sep 30 2024 - 15:35:42 EST


Hi Brian,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9852d85ec9d492ebef56dc5f229416c925758edc
commit: ab6b1010dab68f6d4bf063517db4ce2d63554bc6 cpumask: Switch from inline to __always_inline
date: 6 weeks ago
config: loongarch-randconfig-r064-20240825 (https://download.01.org/0day-ci/archive/20241001/202410010338.tG5tc5tI-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410010338.tG5tc5tI-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410010338.tG5tc5tI-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/loongarch/kernel/machine_kexec.o: warning: objtool: kexec_shutdown_secondary+0x54: stack state mismatch: cfa1=3+0 cfa2=3+16
arch/loongarch/kernel/machine_kexec.o: warning: objtool: .text: unexpected end of section


objdump-func vmlinux.o kexec_shutdown_secondary:

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki