2024-03-02 23:07:19

by kernel test robot

[permalink] [raw]
Subject: vmlinux.o: warning: objtool: set_ftrace_ops_ro+0x28: relocation to !ENDBR: arch_arm_kprobe+0x53

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4640e2be3920168f6b26512466562accb783423a
commit: fee86a4ed536f4e521f3a4530242e152dd2a466b ftrace: selftest: remove broken trace_direct_tramp
date: 12 months ago
config: x86_64-randconfig-121-20240302 (https://download.01.org/0day-ci/archive/20240303/[email protected]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240303/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> vmlinux.o: warning: objtool: set_ftrace_ops_ro+0x28: relocation to !ENDBR: arch_arm_kprobe+0x53


objdump-func vmlinux.o set_ftrace_ops_ro:
0000 00000000000492c0 <set_ftrace_ops_ro>:
0000 492c0: f3 0f 1e fa endbr64
0004 492c4: 41 57 push %r15
0006 492c6: 41 56 push %r14
0008 492c8: 41 54 push %r12
000a 492ca: 53 push %rbx
000b 492cb: 48 8b 1d 00 00 00 00 mov 0x0(%rip),%rbx # 492d2 <set_ftrace_ops_ro+0x12> 492ce: R_X86_64_PC32 ftrace_ops_list-0x4
0012 492d2: e8 00 00 00 00 call 492d7 <set_ftrace_ops_ro+0x17> 492d3: R_X86_64_PLT32 debug_lockdep_rcu_enabled-0x4
0017 492d7: 49 c7 c6 00 00 00 00 mov $0x0,%r14 492da: R_X86_64_32S ftrace_list_end
001e 492de: 48 c7 c0 00 00 00 00 mov $0x0,%rax 492e1: R_X86_64_32S ftrace_regs_caller
0025 492e5: 48 f7 d8 neg %rax
0028 492e8: 4c 8d 3c 05 00 00 00 00 lea 0x0(,%rax,1),%r15 492ec: R_X86_64_32S ftrace_regs_caller_end+0x1008
0030 492f0: 49 c1 ef 0c shr $0xc,%r15
0034 492f4: 48 c7 c0 00 00 00 00 mov $0x0,%rax 492f7: R_X86_64_32S ftrace_caller
003b 492fb: 48 f7 d8 neg %rax
003e 492fe: 4c 8d 24 05 00 00 00 00 lea 0x0(,%rax,1),%r12 49302: R_X86_64_32S ftrace_caller_end+0x1008
0046 49306: 49 c1 ec 0c shr $0xc,%r12
004a 4930a: 48 8b 43 10 mov 0x10(%rbx),%rax
004e 4930e: a9 00 08 00 00 test $0x800,%eax
0053 49313: 74 15 je 4932a <set_ftrace_ops_ro+0x6a>
0055 49315: a8 04 test $0x4,%al
0057 49317: 48 8b bb 90 01 00 00 mov 0x190(%rbx),%rdi
005e 4931e: 44 89 fe mov %r15d,%esi
0061 49321: 41 0f 44 f4 cmove %r12d,%esi
0065 49325: e8 00 00 00 00 call 4932a <set_ftrace_ops_ro+0x6a> 49326: R_X86_64_PLT32 set_memory_ro-0x4
006a 4932a: 48 8b 5b 08 mov 0x8(%rbx),%rbx
006e 4932e: e8 00 00 00 00 call 49333 <set_ftrace_ops_ro+0x73> 4932f: R_X86_64_PLT32 debug_lockdep_rcu_enabled-0x4
0073 49333: 48 85 db test %rbx,%rbx
0076 49336: 74 05 je 4933d <set_ftrace_ops_ro+0x7d>
0078 49338: 4c 39 f3 cmp %r14,%rbx
007b 4933b: 75 cd jne 4930a <set_ftrace_ops_ro+0x4a>
007d 4933d: 5b pop %rbx
007e 4933e: 41 5c pop %r12
0080 49340: 41 5e pop %r14
0082 49342: 41 5f pop %r15
0084 49344: c3 ret
0085 49345: 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data16 data16 data16 data16 data16 cs nopw 0x0(%rax,%rax,1)
0094 49354: 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data16 data16 data16 data16 data16 cs nopw 0x0(%rax,%rax,1)
00a3 49363: 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data16 data16 data16 data16 data16 cs nopw 0x0(%rax,%rax,1)
00b2 49372: 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 data16 data16 data16 data16 cs nopw 0x0(%rax,%rax,1)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki