[jpoimboe:objtool-run 14/29] vmlinux.o: warning: objtool: exit_to_user_mode()+0x10: .noinstr.text+0x3425: call to static_key_count.constprop.0() leaves .noinstr.text section

From: kernel test robot
Date: Thu Apr 14 2022 - 22:37:23 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git objtool-run
head: 47d3f4f7a72524799c1f646713e2377e3c4e239f
commit: f27083b059ff86b9c4c7a64c7afa46fd9249b6c3 [14/29] objtool: Add sec+offset to warnings
config: x86_64-randconfig-a006 (https://download.01.org/0day-ci/archive/20220415/202204151047.7ZlroG22-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=f27083b059ff86b9c4c7a64c7afa46fd9249b6c3
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 f27083b059ff86b9c4c7a64c7afa46fd9249b6c3
# 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: .noinstr.text+0x1b: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_syscall_64()+0xc: .noinstr.text+0xf6: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_int80_syscall_32()+0x1b: .noinstr.text+0x18e: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode()+0x18: .noinstr.text+0x30b8: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x1d: .noinstr.text+0x31d2: call to __kcsan_check_access() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x18: .noinstr.text+0x3313: call to __kcsan_check_access() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: exit_to_user_mode()+0x10: .noinstr.text+0x3425: call to static_key_count.constprop.0() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: syscall_exit_to_user_mode()+0x29: .noinstr.text+0x346a: call to static_key_count.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x18: .noinstr.text+0x349e: call to __kcsan_check_access() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: irqentry_exit_to_user_mode()+0x17: .noinstr.text+0x35fb: call to static_key_count.constprop.0() leaves .noinstr.text section

--
0-DAY CI Kernel Test Service
https://01.org/lkp