[peterz-queue:call-depth-tracking 8/59] vmlinux.o: warning: objtool: filter_irq_stacks+0x12: relocation to !ENDBR: .entry.text+0x190

From: kernel test robot
Date: Tue Sep 13 2022 - 01:04:07 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git call-depth-tracking
head: 3a02739baf0302d9ba295686fc7a48fdd235ad15
commit: 6efb77a560aee91d353acb9ec943c621243bbd51 [8/59] arch: Introduce CONFIG_FUNCTION_ALIGNMENT
config: x86_64-randconfig-a004-20220912 (https://download.01.org/0day-ci/archive/20220913/202209131228.rZOu3vwX-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=6efb77a560aee91d353acb9ec943c621243bbd51
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue call-depth-tracking
git checkout 6efb77a560aee91d353acb9ec943c621243bbd51
# save the config file
mkdir build_dir && cp config build_dir/.config
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@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> vmlinux.o: warning: objtool: filter_irq_stacks+0x12: relocation to !ENDBR: .entry.text+0x190


objdump-func vmlinux.o filter_irq_stacks:
0000 00000000000c52ae <filter_irq_stacks>:
0000 c52ae: f3 0f 1e fa endbr64
0004 c52b2: 89 f0 mov %esi,%eax
0006 c52b4: 31 d2 xor %edx,%edx
0008 c52b6: 39 d0 cmp %edx,%eax
000a c52b8: 89 d6 mov %edx,%esi
000c c52ba: 76 31 jbe c52ed <filter_irq_stacks+0x3f>
000e c52bc: 48 8b 0c d7 mov (%rdi,%rdx,8),%rcx
0012 c52c0: 48 81 f9 00 00 00 00 cmp $0x0,%rcx c52c3: R_X86_64_32S __irqentry_text_start
0019 c52c7: 72 0d jb c52d6 <filter_irq_stacks+0x28>
001b c52c9: 48 81 f9 00 00 00 00 cmp $0x0,%rcx c52cc: R_X86_64_32S __irqentry_text_end
0022 c52d0: 73 04 jae c52d6 <filter_irq_stacks+0x28>
0024 c52d2: 8d 46 01 lea 0x1(%rsi),%eax
0027 c52d5: c3 ret
0028 c52d6: 48 81 f9 00 00 00 00 cmp $0x0,%rcx c52d9: R_X86_64_32S __softirqentry_text_start
002f c52dd: 72 09 jb c52e8 <filter_irq_stacks+0x3a>
0031 c52df: 48 81 f9 00 00 00 00 cmp $0x0,%rcx c52e2: R_X86_64_32S __softirqentry_text_end
0038 c52e6: 72 ea jb c52d2 <filter_irq_stacks+0x24>
003a c52e8: 48 ff c2 inc %rdx
003d c52eb: eb c9 jmp c52b6 <filter_irq_stacks+0x8>
003f c52ed: c3 ret

--
0-DAY CI Kernel Test Service
https://01.org/lkp