CC: linux-kernel(a)vger.kernel.org
TO: Nick Desaulniers <ndesaulniers(a)google.com>
CC: Kees Cook <keescook(a)chromium.org>
CC: Fangrui Song <maskray(a)google.com>
CC: Miguel Ojeda <ojeda(a)kernel.org>
CC: Nathan Chancellor <nathan(a)kernel.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 50be9417e23af5a8ac860d998e1e3f06b8fd79d7
commit: 380d53c45ff21f66870ee965b62613137f9d010d compiler_attributes.h: define
__no_profile, add to noinstr
date: 3 weeks ago
config: x86_64-buildonly-randconfig-r006-20210706 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
873e8b96b1226d64e4f95083147d8592ba7bd5d8)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 380d53c45ff21f66870ee965b62613137f9d010d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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(a)intel.com>
All warnings (new ones prefixed by >>):
> vmlinux.o: warning: objtool: do_syscall_64()+0x18: call to
static_key_count() leaves .noinstr.text section
vmlinux.o: warning: objtool:
do_int80_syscall_32()+0x23: call to __tsan_atomic64_fetch_add() leaves .noinstr.text
section
vmlinux.o: warning: objtool: do_fast_syscall_32()+0x19: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x29: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: __rdgsbase_inactive()+0x2e: call to ftrace_likely_update()
leaves .noinstr.text section
vmlinux.o: warning: objtool: __wrgsbase_inactive()+0x32: call to ftrace_likely_update()
leaves .noinstr.text section
vmlinux.o: warning: objtool: vc_switch_off_ist()+0xa: call to ip_within_syscall_gap()
leaves .noinstr.text section
> vmlinux.o: warning: objtool: fixup_bad_iret()+0x11: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning:
objtool: noist_exc_debug()+0x5a: call to ftrace_likely_update() leaves .noinstr.text
section
vmlinux.o: warning: objtool: in_task_stack()+0x13: call to task_stack_page() leaves
.noinstr.text section
vmlinux.o: warning: objtool: in_entry_stack()+0x9: call to cpu_entry_stack() leaves
.noinstr.text section
vmlinux.o: warning: objtool: exc_nmi()+0x1e3: call to ftrace_likely_update() leaves
.noinstr.text section
vmlinux.o: warning: objtool: default_do_nmi()+0x10: call to __this_cpu_preempt_check()
leaves .noinstr.text section
vmlinux.o: warning: objtool: poke_int3_handler()+0x6e: call to ftrace_likely_update()
leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_setup()+0xb: call to memset() leaves .noinstr.text
section
vmlinux.o: warning: objtool: mce_rdmsrl()+0x3: call to __this_cpu_preempt_check()
leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_wrmsrl()+0x3: call to __this_cpu_preempt_check()
leaves .noinstr.text section
vmlinux.o: warning: objtool: do_machine_check()+0x37: call to mce_gather_info() leaves
.noinstr.text section
vmlinux.o: warning: objtool: exc_machine_check()+0x16: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: noist_exc_machine_check()+0x16: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_check_crashing_cpu()+0x11: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: __sev_es_ist_enter()+0x4: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning: objtool: __sev_es_ist_exit()+0x3: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x2e: call to
ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: safe_stack_exc_vmm_communication()+0x93: call to
ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_vmm_communication()+0x88: call to
ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: lockdep_hardirqs_on()+0xa5: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0xc3: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning: objtool: debug_lockdep_rcu_enabled()+0x26: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode()+0x19: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x24: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x19: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: exit_to_user_mode()+0xf: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_exit_to_user_mode()+0x927: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x19: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_exit_to_user_mode()+0x16: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter()+0x12: call to __tsan_atomic64_fetch_add()
leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_exit()+0x35: call to ftrace_likely_update()
leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_nmi_enter()+0x1b: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_nmi_exit()+0x34: call to rcu_nmi_exit() leaves
.noinstr.text section
vmlinux.o: warning: objtool: __context_tracking_enter()+0x12: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: context_tracking_recursion_enter()+0x1: call to
__this_cpu_preempt_check() leaves .noinstr.text section
> vmlinux.o: warning: objtool: __context_tracking_exit()+0x10: call
to __this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning:
objtool: debug_locks_off()+0x1a: call to __tsan_atomic64_fetch_add() leaves .noinstr.text
section
kallsyms failure: relative symbol value 0xffffffff097a9000 out of range in relative
mode
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org