[peterz-queue:objtool/core 33/37] vmlinux.o: warning: objtool: do_int80_syscall_32()+0x60: return with modified stack frame

From: kernel test robot
Date: Tue Oct 12 2021 - 21:13:15 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/core
head: 2c2219e14a94c00327f7dcdfe141a56e27471dd4
commit: 6726f6822d013fe79fe9ceb4c48ce0f514e535f7 [33/37] objtool,x86: Use mergable sections
config: x86_64-randconfig-a006-20211012 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=6726f6822d013fe79fe9ceb4c48ce0f514e535f7
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue objtool/core
git checkout 6726f6822d013fe79fe9ceb4c48ce0f514e535f7
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> vmlinux.o: warning: objtool: do_int80_syscall_32()+0x60: return with modified stack frame
>> vmlinux.o: warning: objtool: .altinstr_replacement.ffd0+0x2: stack state mismatch: reg1[3]=-2-32 reg2[3]=-1+0
>> vmlinux.o: warning: objtool: do_int80_syscall_32()+0x52: stack state mismatch: reg1[3]=-2-32 reg2[3]=-1+0

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip