lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 15 Nov 2022 18:39:29 +0800
From:   kernel test robot <lkp@...el.com>
To:     Frederic Weisbecker <frederic@...nel.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        "Paul E. McKenney" <paulmck@...nel.org>,
        Nicolas Saenz Julienne <nsaenzju@...hat.com>
Subject: vmlinux.o: warning: objtool: ct_idle_enter+0x25: call to
 ftrace_likely_update() leaves .noinstr.text section

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e01d50cbd6eece456843717a566a34e8b926cf0c
commit: c33ef43a359001415032665dfcd433979c462b71 rcu/context-tracking: Remove unused and/or unecessary middle functions
date:   4 months ago
config: x86_64-randconfig-a004-20221114
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c33ef43a359001415032665dfcd433979c462b71
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c33ef43a359001415032665dfcd433979c462b71
        # 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@...el.com>

All warnings (new ones prefixed by >>):

   ld: warning: arch/x86/power/hibernate_asm_64.o: missing .note.GNU-stack section implies executable stack
   ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x22: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x26: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x76: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x40: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x42: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x2c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_start+0x68: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x4e: 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: irqentry_nmi_enter+0x4c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x47: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x60: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x2d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter+0x2c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x29: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit+0x38: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter+0x43: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_idle_enter+0x25: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_enter+0x30: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_nmi_enter+0x36: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: ct_irq_enter+0x26: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: ct_irq_exit+0x26: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_idle_enter:
0000 0000000000004cf0 <ct_idle_enter>:
0000     4cf0:	f3 0f 1e fa          	endbr64
0004     4cf4:	55                   	push   %rbp
0005     4cf5:	53                   	push   %rbx
0006     4cf6:	9c                   	pushf
0007     4cf7:	58                   	pop    %rax
0008     4cf8:	25 00 02 00 00       	and    $0x200,%eax
000d     4cfd:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	4d00: R_X86_64_32S	_ftrace_annotated_branch+0x5dd20
0014     4d04:	40 0f 95 c5          	setne  %bpl
0018     4d08:	48 89 c3             	mov    %rax,%rbx
001b     4d0b:	31 c9                	xor    %ecx,%ecx
001d     4d0d:	31 d2                	xor    %edx,%edx
001f     4d0f:	40 0f b6 ed          	movzbl %bpl,%ebp
0023     4d13:	89 ee                	mov    %ebp,%esi
0025     4d15:	e8 00 00 00 00       	call   4d1a <ct_idle_enter+0x2a>	4d16: R_X86_64_PLT32	ftrace_likely_update-0x4
002a     4d1a:	48 85 db             	test   %rbx,%rbx
002d     4d1d:	75 1b                	jne    4d3a <ct_idle_enter+0x4a>
002f     4d1f:	89 ee                	mov    %ebp,%esi
0031     4d21:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	4d24: R_X86_64_32S	_ftrace_annotated_branch+0x5dcf0
0038     4d28:	31 c9                	xor    %ecx,%ecx
003a     4d2a:	31 d2                	xor    %edx,%edx
003c     4d2c:	e8 00 00 00 00       	call   4d31 <ct_idle_enter+0x41>	4d2d: R_X86_64_PLT32	ftrace_likely_update-0x4
0041     4d31:	31 ff                	xor    %edi,%edi
0043     4d33:	5b                   	pop    %rbx
0044     4d34:	5d                   	pop    %rbp
0045     4d35:	e9 86 fd ff ff       	jmp    4ac0 <rcu_eqs_enter>
004a     4d3a:	90                   	nop
004b     4d3b:	0f 0b                	ud2
004d     4d3d:	90                   	nop
004e     4d3e:	eb df                	jmp    4d1f <ct_idle_enter+0x2f>

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

View attachment "config" of type "text/plain" (170287 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ