[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202305250213.DUJDGAqU-lkp@intel.com>
Date: Thu, 25 May 2023 03:20:07 +0800
From: kernel test robot <lkp@...el.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>
Subject: vmlinux.o: warning: objtool: xen_sched_clock+0x34: call to
preempt_schedule_notrace_thunk() leaves .noinstr.text section
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9d646009f65d62d32815f376465a3b92d8d9b046
commit: 8739c6811572b087decd561f96382087402cc343 sched/clock/x86: Mark sched_clock() noinstr
date: 4 months ago
config: x86_64-randconfig-x076-20230524
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8739c6811572b087decd561f96382087402cc343
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8739c6811572b087decd561f96382087402cc343
# 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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305250213.DUJDGAqU-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> vmlinux.o: warning: objtool: xen_sched_clock+0x34: call to preempt_schedule_notrace_thunk() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: native_sched_clock+0xda: call to preempt_schedule_notrace_thunk() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: kvm_clock_read+0x1d: call to preempt_schedule_notrace_thunk() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode+0xba: call to preempt_count_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x108: call to preempt_count_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0xdc: call to preempt_count_add() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0xba: call to preempt_count_add() leaves .noinstr.text section
objdump-func vmlinux.o xen_sched_clock:
0000 0000000000001420 <xen_sched_clock>:
0000 1420: ff 05 00 00 00 00 incl 0x0(%rip) # 1426 <xen_sched_clock+0x6> 1422: R_X86_64_PC32 pcpu_hot+0x4
0006 1426: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 1429: R_X86_64_32S .rodata+0xe860
000d 142d: e8 00 00 00 00 call 1432 <xen_sched_clock+0x12> 142e: R_X86_64_PLT32 __this_cpu_preempt_check-0x4
0012 1432: 48 8b 3d 00 00 00 00 mov 0x0(%rip),%rdi # 1439 <xen_sched_clock+0x19> 1435: R_X86_64_PC32 xen_vcpu-0x4
0019 1439: 48 83 c7 20 add $0x20,%rdi
001d 143d: e8 00 00 00 00 call 1442 <xen_sched_clock+0x22> 143e: R_X86_64_PLT32 pvclock_clocksource_read_nowd-0x4
0022 1442: 48 2b 05 00 00 00 00 sub 0x0(%rip),%rax # 1449 <xen_sched_clock+0x29> 1445: R_X86_64_PC32 .data..read_mostly+0x654
0029 1449: ff 0d 00 00 00 00 decl 0x0(%rip) # 144f <xen_sched_clock+0x2f> 144b: R_X86_64_PC32 pcpu_hot+0x4
002f 144f: 74 03 je 1454 <xen_sched_clock+0x34>
0031 1451: 31 ff xor %edi,%edi
0033 1453: c3 ret
0034 1454: e8 00 00 00 00 call 1459 <xen_sched_clock+0x39> 1455: R_X86_64_PLT32 preempt_schedule_notrace_thunk-0x4
0039 1459: 31 ff xor %edi,%edi
003b 145b: c3 ret
003c 145c: 0f 1f 40 00 nopl 0x0(%rax)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "config" of type "text/plain" (158846 bytes)
Powered by blists - more mailing lists