oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
@ 2023-03-13 20:53 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-13 20:53 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

CC: linux-kernel@vger.kernel.org
TO: Frederic Weisbecker <frederic@kernel.org>
CC: "Paul E. McKenney" <paulmck@kernel.org>
CC: Nicolas Saenz Julienne <nsaenzju@redhat.com>

Hi Frederic,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fc89d7fb499b0162e081f434d45e8d1b47e82ece
commit: 3864caafe7c66f01b188ffccb6a4215f3bf56292 rcu/context-tracking: Remove rcu_irq_enter/exit()
date:   8 months ago
config: x86_64-randconfig-k001-20230313 (https://download.01.org/0day-ci/archive/20230314/202303140438.RQu7HYOs-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/torvalds/linux.git/commit/?id=3864caafe7c66f01b188ffccb6a4215f3bf56292
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3864caafe7c66f01b188ffccb6a4215f3bf56292
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        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 where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303140438.RQu7HYOs-lkp@intel.com/

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x39: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x87: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x56: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_start+0x6b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x28: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_enter+0x38: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter+0x3d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter+0x1e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_exit+0x43: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit+0x3b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x25: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x4a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x55: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x4a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x4a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x3e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x43: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_exit+0x35: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_irq_enter:
0000 0000000000004993 <ct_irq_enter>:
0000     4993:	53                   	push   %rbx
0001     4994:	83 3d 00 00 00 00 00 	cmpl   $0x0,0x0(%rip)        # 499b <ct_irq_enter+0x8>	4996: R_X86_64_PC32	debug_locks-0x5
0008     499b:	74 0b                	je     49a8 <ct_irq_enter+0x15>
000a     499d:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 49a4 <ct_irq_enter+0x11>	49a0: R_X86_64_PC32	lockdep_recursion-0x4
0011     49a4:	85 c0                	test   %eax,%eax
0013     49a6:	74 04                	je     49ac <ct_irq_enter+0x19>
0015     49a8:	31 c0                	xor    %eax,%eax
0017     49aa:	eb 0c                	jmp    49b8 <ct_irq_enter+0x25>
0019     49ac:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 49b3 <ct_irq_enter+0x20>	49af: R_X86_64_PC32	hardirqs_enabled-0x4
0020     49b3:	85 c0                	test   %eax,%eax
0022     49b5:	0f 95 c0             	setne  %al
0025     49b8:	0f b6 d8             	movzbl %al,%ebx
0028     49bb:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	49be: R_X86_64_32S	_ftrace_annotated_branch+0x47b20
002f     49c2:	89 de                	mov    %ebx,%esi
0031     49c4:	31 d2                	xor    %edx,%edx
0033     49c6:	31 c9                	xor    %ecx,%ecx
0035     49c8:	e8 00 00 00 00       	call   49cd <ct_irq_enter+0x3a>	49c9: R_X86_64_PLT32	ftrace_likely_update-0x4
003a     49cd:	84 db                	test   %bl,%bl
003c     49cf:	74 04                	je     49d5 <ct_irq_enter+0x42>
003e     49d1:	90                   	nop
003f     49d2:	0f 0b                	ud2
0041     49d4:	90                   	nop
0042     49d5:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	49d8: R_X86_64_32S	_ftrace_annotated_branch+0x47b50
0049     49dc:	89 de                	mov    %ebx,%esi
004b     49de:	31 d2                	xor    %edx,%edx
004d     49e0:	31 c9                	xor    %ecx,%ecx
004f     49e2:	e8 00 00 00 00       	call   49e7 <ct_irq_enter+0x54>	49e3: R_X86_64_PLT32	ftrace_likely_update-0x4
0054     49e7:	5b                   	pop    %rbx
0055     49e8:	e9 00 00 00 00       	jmp    49ed <ct_nmi_enter>	49e9: R_X86_64_PLT32	ct_nmi_enter-0x4

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
@ 2023-04-24  4:19 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-04-24  4:19 UTC (permalink / raw)
  Cc: oe-kbuild-all, llvm

CC: linux-kernel@vger.kernel.org
TO: Frederic Weisbecker <frederic@kernel.org>
CC: "Paul E. McKenney" <paulmck@kernel.org>
CC: Nicolas Saenz Julienne <nsaenzju@redhat.com>

Hi Frederic,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   457391b0380335d5e9a5babdec90ac53928b23b4
commit: 3864caafe7c66f01b188ffccb6a4215f3bf56292 rcu/context-tracking: Remove rcu_irq_enter/exit()
date:   10 months ago
config: x86_64-randconfig-a001-20230424 (https://download.01.org/0day-ci/archive/20230424/202304241253.Ktu9jZA6-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/torvalds/linux.git/commit/?id=3864caafe7c66f01b188ffccb6a4215f3bf56292
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3864caafe7c66f01b188ffccb6a4215f3bf56292
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        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 where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304241253.Ktu9jZA6-lkp@intel.com/

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: kvm_spurious_fault+0x18: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: vmx_update_host_rsp+0x2b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: vmx_vcpu_enter_exit+0x177: call to do_trace_write_msr() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x39: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x32: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0xd2: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x28: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_enter+0x46: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter+0x42: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_user_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter+0x2e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_exit+0x57: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit+0x4b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x58: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x5e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x58: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x58: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x3e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x43: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_exit+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_enter+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x3b: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_irq_enter:
0000 00000000000065c0 <ct_irq_enter>:
0000     65c0:	53                   	push   %rbx
0001     65c1:	83 3d 00 00 00 00 00 	cmpl   $0x0,0x0(%rip)        # 65c8 <ct_irq_enter+0x8>	65c3: R_X86_64_PC32	debug_locks-0x5
0008     65c8:	74 0b                	je     65d5 <ct_irq_enter+0x15>
000a     65ca:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 65d1 <ct_irq_enter+0x11>	65cd: R_X86_64_PC32	lockdep_recursion-0x4
0011     65d1:	85 c0                	test   %eax,%eax
0013     65d3:	74 04                	je     65d9 <ct_irq_enter+0x19>
0015     65d5:	31 c0                	xor    %eax,%eax
0017     65d7:	eb 0c                	jmp    65e5 <ct_irq_enter+0x25>
0019     65d9:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 65e0 <ct_irq_enter+0x20>	65dc: R_X86_64_PC32	hardirqs_enabled-0x4
0020     65e0:	85 c0                	test   %eax,%eax
0022     65e2:	0f 95 c0             	setne  %al
0025     65e5:	0f b6 d8             	movzbl %al,%ebx
0028     65e8:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	65eb: R_X86_64_32S	_ftrace_annotated_branch+0x65430
002f     65ef:	89 de                	mov    %ebx,%esi
0031     65f1:	31 d2                	xor    %edx,%edx
0033     65f3:	31 c9                	xor    %ecx,%ecx
0035     65f5:	e8 00 00 00 00       	call   65fa <ct_irq_enter+0x3a>	65f6: R_X86_64_PLT32	ftrace_likely_update-0x4
003a     65fa:	84 db                	test   %bl,%bl
003c     65fc:	74 04                	je     6602 <ct_irq_enter+0x42>
003e     65fe:	90                   	nop
003f     65ff:	0f 0b                	ud2
0041     6601:	90                   	nop
0042     6602:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	6605: R_X86_64_32S	_ftrace_annotated_branch+0x65460
0049     6609:	89 de                	mov    %ebx,%esi
004b     660b:	31 d2                	xor    %edx,%edx
004d     660d:	31 c9                	xor    %ecx,%ecx
004f     660f:	e8 00 00 00 00       	call   6614 <ct_irq_enter+0x54>	6610: R_X86_64_PLT32	ftrace_likely_update-0x4
0054     6614:	5b                   	pop    %rbx
0055     6615:	e9 00 00 00 00       	jmp    661a <ct_irq_enter+0x5a>	6616: R_X86_64_PLT32	ct_nmi_enter-0x4
005a     661a:	66 2e 0f 1f 84 00 00 00 00 00 	cs nopw 0x0(%rax,%rax,1)
0064     6624:	66 2e 0f 1f 84 00 00 00 00 00 	cs nopw 0x0(%rax,%rax,1)
006e     662e:	66 2e 0f 1f 84 00 00 00 00 00 	cs nopw 0x0(%rax,%rax,1)
0078     6638:	0f 1f 84 00 00 00 00 00 	nopl   0x0(%rax,%rax,1)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-24  4:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-13 20:53 vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section kernel test robot
2023-04-24  4:19 kernel test robot

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).