Skip to contentSkip to conversation

vmlinux.o: warning: objtool: xen_hypercall_iret+0x0: RET before UNTRAIN

DISCUSSION kernel test robot 1 participant 1 message Apr 7, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Peter,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f2afccfefe7be1f7346564fe619277110d341f9b
commit: a09a6e2399ba0595c3042b3164f3ca68a3cff33e objtool: Add entry UNRET validation
date:   10 months ago
config: x86_64-randconfig-a012-20221205 (https://download.01.org/0day-ci/archive/20230408/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a09a6e2399ba0595c3042b3164f3ca68a3cff33e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a09a6e2399ba0595c3042b3164f3ca68a3cff33e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

ld: warning: arch/x86/lib/retpoline.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker vmlinux.o: warning: objtool: cdce925_regmap_i2c_write+0xdb: stack state mismatch: cfa1=4+120 cfa2=5+40

>> vmlinux.o: warning: objtool: xen_hypercall_iret+0x0: RET before UNTRAIN

objdump-func vmlinux.o xen_hypercall_iret:
0000 00000000000002e0 <xen_hypercall_iret>:

0000      2e0:	c3                   	ret
0001      2e1:	cc                   	int3
0002      2e2:	cc                   	int3
0003      2e3:	cc                   	int3
0004      2e4:	cc                   	int3
0005      2e5:	cc                   	int3
0006      2e6:	cc                   	int3
0007      2e7:	cc                   	int3
0008      2e8:	cc                   	int3
0009      2e9:	cc                   	int3
000a      2ea:	cc                   	int3
000b      2eb:	cc                   	int3
000c      2ec:	cc                   	int3
000d      2ed:	cc                   	int3
000e      2ee:	cc                   	int3
000f      2ef:	cc                   	int3
0010      2f0:	cc                   	int3
0011      2f1:	cc                   	int3
0012      2f2:	cc                   	int3
0013      2f3:	cc                   	int3
0014      2f4:	cc                   	int3
0015      2f5:	cc                   	int3
0016      2f6:	cc                   	int3
0017      2f7:	cc                   	int3
0018      2f8:	cc                   	int3
0019      2f9:	cc                   	int3
001a      2fa:	cc                   	int3
001b      2fb:	cc                   	int3
001c      2fc:	cc                   	int3
001d      2fd:	cc                   	int3
001e      2fe:	cc                   	int3
001f      2ff:	cc                   	int3
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests