[jpoimboe:objtool-run 19/35] vmlinux.o: warning: objtool: exit_to_user_mode+0x10: call to static_key_count.constprop.0() leaves .noinstr.text section
From: kernel test robot
Date: Fri Apr 15 2022 - 12:25:25 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-run
head: b8646d8664875281b48db7752d3dc7880b7561e1
commit: f2bec70312f62ef4f1ea21c134d9def627182ad3 [19/35] objtool: Don't print parentheses in function addresses
config: x86_64-randconfig-a006 (https://download.01.org/0day-ci/archive/20220416/202204160031.TT2073NX-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git/commit/?id=f2bec70312f62ef4f1ea21c134d9def627182ad3
git remote add jpoimboe https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git
git fetch --no-tags jpoimboe objtool-run
git checkout f2bec70312f62ef4f1ea21c134d9def627182ad3
# save the config file 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_fast_syscall_32+0x1b: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_syscall_64+0xc: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_int80_syscall_32+0x1b: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode+0x18: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x1d: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x18: call to __kcsan_check_access() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: exit_to_user_mode+0x10: call to static_key_count.constprop.0() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: syscall_exit_to_user_mode+0x29: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x18: call to __kcsan_check_access() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: irqentry_exit_to_user_mode+0x17: call to static_key_count.constprop.0() leaves .noinstr.text section
--
0-DAY CI Kernel Test Service
https://01.org/lkp