llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: vmlinux.o: warning: objtool: set_ftrace_ops_ro+0x31: relocation to !ENDBR: arch_kexec_apply_relocations_add+0x2a8
Date: Wed, 2 Oct 2024 06:51:28 +0800	[thread overview]
Message-ID: <202410020624.PPc1OWux-lkp@intel.com> (raw)

CC: linux-kernel@vger.kernel.org
TO: Suren Baghdasaryan <surenb@google.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
CC: Kent Overstreet <kent.overstreet@linux.dev>
CC: Kees Cook <keescook@chromium.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e32cde8d2bd7d251a8f9b434143977ddf13dcec6
commit: b951aaff503502a7fe066eeed2744ba8a6413c89 mm: enable page allocation tagging
date:   5 months ago
config: x86_64-buildonly-randconfig-006-20241002 (https://download.01.org/0day-ci/archive/20241002/202410020624.PPc1OWux-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410020624.PPc1OWux-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410020624.PPc1OWux-lkp@intel.com/

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: jffs2_erase_pending_blocks() falls through to next function list_move()
>> vmlinux.o: warning: objtool: set_ftrace_ops_ro+0x31: relocation to !ENDBR: arch_kexec_apply_relocations_add+0x2a8


objdump-func vmlinux.o set_ftrace_ops_ro:
0000 000000000007fd80 <set_ftrace_ops_ro>:
0000    7fd80:	f3 0f 1e fa          	endbr64
0004    7fd84:	55                   	push   %rbp
0005    7fd85:	48 89 e5             	mov    %rsp,%rbp
0008    7fd88:	41 57                	push   %r15
000a    7fd8a:	41 56                	push   %r14
000c    7fd8c:	41 54                	push   %r12
000e    7fd8e:	53                   	push   %rbx
000f    7fd8f:	48 8b 1d 00 00 00 00 	mov    0x0(%rip),%rbx        # 7fd96 <set_ftrace_ops_ro+0x16>	7fd92: R_X86_64_PC32	ftrace_ops_list-0x4
0016    7fd96:	48 c7 c0 00 00 00 00 	mov    $0x0,%rax	7fd99: R_X86_64_32S	ftrace_regs_caller
001d    7fd9d:	48 c7 c1 00 00 00 00 	mov    $0x0,%rcx	7fda0: R_X86_64_32S	ftrace_caller
0024    7fda4:	49 c7 c6 00 00 00 00 	mov    $0x0,%r14	7fda7: R_X86_64_32S	_ftrace_branch+0x19f38
002b    7fdab:	48 f7 d8             	neg    %rax
002e    7fdae:	48 f7 d9             	neg    %rcx
0031    7fdb1:	4c 8d 3c 0d 00 00 00 00 	lea    0x0(,%rcx,1),%r15	7fdb5: R_X86_64_32S	ftrace_caller_end+0x100c
0039    7fdb9:	4c 8d 24 05 00 00 00 00 	lea    0x0(,%rax,1),%r12	7fdbd: R_X86_64_32S	ftrace_regs_caller_end+0x100c
0041    7fdc1:	48 8b 43 10          	mov    0x10(%rbx),%rax
0045    7fdc5:	0f ba e0 0b          	bt     $0xb,%eax
0049    7fdc9:	72 09                	jb     7fdd4 <set_ftrace_ops_ro+0x54>
004b    7fdcb:	48 ff 05 00 00 00 00 	incq   0x0(%rip)        # 7fdd2 <set_ftrace_ops_ro+0x52>	7fdce: R_X86_64_PC32	_ftrace_branch+0x19f2c
0052    7fdd2:	eb 2e                	jmp    7fe02 <set_ftrace_ops_ro+0x82>
0054    7fdd4:	48 ff 05 00 00 00 00 	incq   0x0(%rip)        # 7fddb <set_ftrace_ops_ro+0x5b>	7fdd7: R_X86_64_PC32	_ftrace_branch+0x19f24
005b    7fddb:	a8 04                	test   $0x4,%al
005d    7fddd:	48 c7 c0 00 00 00 00 	mov    $0x0,%rax	7fde0: R_X86_64_32S	_ftrace_branch+0x19f40
0064    7fde4:	4c 89 e6             	mov    %r12,%rsi
0067    7fde7:	49 0f 44 c6          	cmove  %r14,%rax
006b    7fdeb:	49 0f 44 f7          	cmove  %r15,%rsi
006f    7fdef:	48 ff 00             	incq   (%rax)
0072    7fdf2:	48 c1 ee 0c          	shr    $0xc,%rsi
0076    7fdf6:	48 8b bb b0 00 00 00 	mov    0xb0(%rbx),%rdi
007d    7fdfd:	e8 00 00 00 00       	call   7fe02 <set_ftrace_ops_ro+0x82>	7fdfe: R_X86_64_PLT32	set_memory_ro-0x4
0082    7fe02:	48 8b 5b 08          	mov    0x8(%rbx),%rbx
0086    7fe06:	31 f6                	xor    %esi,%esi
0088    7fe08:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	7fe0b: R_X86_64_32S	_ftrace_annotated_branch+0xf570
008f    7fe0f:	ba 01 00 00 00       	mov    $0x1,%edx
0094    7fe14:	48 85 db             	test   %rbx,%rbx
0097    7fe17:	40 0f 95 c6          	setne  %sil
009b    7fe1b:	31 c9                	xor    %ecx,%ecx
009d    7fe1d:	e8 00 00 00 00       	call   7fe22 <set_ftrace_ops_ro+0xa2>	7fe1e: R_X86_64_PLT32	ftrace_likely_update-0x4
00a2    7fe22:	48 85 db             	test   %rbx,%rbx
00a5    7fe25:	74 2a                	je     7fe51 <set_ftrace_ops_ro+0xd1>
00a7    7fe27:	31 f6                	xor    %esi,%esi
00a9    7fe29:	48 81 fb 00 00 00 00 	cmp    $0x0,%rbx	7fe2c: R_X86_64_32S	ftrace_list_end
00b0    7fe30:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	7fe33: R_X86_64_32S	_ftrace_annotated_branch+0xf5a0
00b7    7fe37:	40 0f 95 c6          	setne  %sil
00bb    7fe3b:	31 d2                	xor    %edx,%edx
00bd    7fe3d:	31 c9                	xor    %ecx,%ecx
00bf    7fe3f:	e8 00 00 00 00       	call   7fe44 <set_ftrace_ops_ro+0xc4>	7fe40: R_X86_64_PLT32	ftrace_likely_update-0x4
00c4    7fe44:	48 81 fb 00 00 00 00 	cmp    $0x0,%rbx	7fe47: R_X86_64_32S	ftrace_list_end
00cb    7fe4b:	0f 85 70 ff ff ff    	jne    7fdc1 <set_ftrace_ops_ro+0x41>
00d1    7fe51:	5b                   	pop    %rbx
00d2    7fe52:	41 5c                	pop    %r12
00d4    7fe54:	41 5e                	pop    %r14
00d6    7fe56:	41 5f                	pop    %r15
00d8    7fe58:	5d                   	pop    %rbp
00d9    7fe59:	31 c0                	xor    %eax,%eax
00db    7fe5b:	31 c9                	xor    %ecx,%ecx
00dd    7fe5d:	31 ff                	xor    %edi,%edi
00df    7fe5f:	31 d2                	xor    %edx,%edx
00e1    7fe61:	31 f6                	xor    %esi,%esi
00e3    7fe63:	c3                   	ret
00e4    7fe64:	cc                   	int3
00e5    7fe65:	66 2e 0f 1f 84 00 00 00 00 00 	cs nopw 0x0(%rax,%rax,1)
00ef    7fe6f:	66 2e 0f 1f 84 00 00 00 00 00 	cs nopw 0x0(%rax,%rax,1)
00f9    7fe79:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

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

                 reply	other threads:[~2024-10-01 22:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202410020624.PPc1OWux-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).