CC: linux-kernel(a)vger.kernel.org
CC: x86(a)kernel.org
TO: Peter Zijlstra <peterz(a)infradead.org>
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool/core
head: b08cadbd3b8721db738d9a00ef3ce3ed667e6d9c
commit: db2b0c5d7b6f19b3c2cab08c531b65342eb5252b [25/26] objtool: Support pv_opsindirect
calls for noinstr
config: x86_64-randconfig-r004-20211013 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
b6a8c695542b2987eb9a203d5663a0740cb4725f)
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=db...
git remote add tip
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip objtool/core
git checkout db2b0c5d7b6f19b3c2cab08c531b65342eb5252b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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(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()+0x1d: 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: fixup_bad_iret()+0x22: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning:
objtool: in_task_stack()+0x17: call to task_stack_page() leaves .noinstr.text section
> vmlinux.o: warning: objtool: in_entry_stack()+0xd: call to
__this_cpu_preempt_check() leaves .noinstr.text section
vmlinux.o: warning:
objtool: exc_nmi()+0xc: call to sev_es_nmi_complete() leaves .noinstr.text section
> vmlinux.o: warning: objtool: default_do_nmi()+0x17: call to
__this_cpu_preempt_check() leaves .noinstr.text section
> vmlinux.o: warning: objtool: kvm_read_and_reset_apf_flags()+0x5: call to
__this_cpu_preempt_check() leaves .noinstr.text section
> vmlinux.o: warning: objtool: lockdep_hardirqs_on()+0xb8: call to
__this_cpu_preempt_check() leaves .noinstr.text section
> vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0xb6: 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: rcu_dynticks_inc()+0x27: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_nmi_exit()+0x16f: call to __tsan_atomic64_fetch_add()
leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+0x4: call to
rcu_dynticks_task_trace_enter() leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_nmi_enter()+0x34: call to __tsan_atomic64_fetch_add()
leaves .noinstr.text section
vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x12: call to
rcu_dynticks_task_trace_exit() 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()+0x22: 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()+0x13: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_exit_to_user_mode()+0x1c6: 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()+0x1a: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter()+0x16: call to __tsan_atomic64_fetch_add()
leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_exit()+0x3e: call to __tsan_atomic64_fetch_add()
leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_nmi_enter()+0x1d: call to
__tsan_atomic64_fetch_add() leaves .noinstr.text section
> vmlinux.o: warning: objtool: irqentry_nmi_exit()+0x3d: call to
__this_cpu_preempt_check() leaves .noinstr.text section
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org