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, 16 May 2023 03:26:25 +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_irq_enter+0x26: call to
 ftrace_likely_update() leaves .noinstr.text section

Hi Frederic,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
commit: 3864caafe7c66f01b188ffccb6a4215f3bf56292 rcu/context-tracking: Remove rcu_irq_enter/exit()
date:   10 months ago
config: x86_64-randconfig-a012-20230515
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # 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
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        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>
| Link: https://lore.kernel.org/oe-kbuild-all/202305160306.cLpGV3SI-lkp@intel.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+0x26: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x2b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x7b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x41: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x36: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x45: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter+0x27: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x28: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit.constprop.0+0x29: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter.constprop.0+0x43: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_enter+0x27: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_exit+0x2d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter+0x36: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x4f: 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+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x61: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x2e: 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_irq_enter:
0000 00000000000039c0 <ct_irq_enter>:
0000     39c0:	55                   	push   %rbp
0001     39c1:	8b 05 00 00 00 00    	mov    0x0(%rip),%eax        # 39c7 <ct_irq_enter+0x7>	39c3: R_X86_64_PC32	debug_locks-0x4
0007     39c7:	48 89 e5             	mov    %rsp,%rbp
000a     39ca:	85 c0                	test   %eax,%eax
000c     39cc:	74 0b                	je     39d9 <ct_irq_enter+0x19>
000e     39ce:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 39d5 <ct_irq_enter+0x15>	39d1: R_X86_64_PC32	lockdep_recursion-0x4
0015     39d5:	85 c0                	test   %eax,%eax
0017     39d7:	74 2c                	je     3a05 <ct_irq_enter+0x45>
0019     39d9:	31 f6                	xor    %esi,%esi
001b     39db:	31 c9                	xor    %ecx,%ecx
001d     39dd:	31 d2                	xor    %edx,%edx
001f     39df:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	39e2: R_X86_64_32S	_ftrace_annotated_branch+0x51600
0026     39e6:	e8 00 00 00 00       	call   39eb <ct_irq_enter+0x2b>	39e7: R_X86_64_PLT32	ftrace_likely_update-0x4
002b     39eb:	31 f6                	xor    %esi,%esi
002d     39ed:	31 c9                	xor    %ecx,%ecx
002f     39ef:	31 d2                	xor    %edx,%edx
0031     39f1:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	39f4: R_X86_64_32S	_ftrace_annotated_branch+0x515d0
0038     39f8:	e8 00 00 00 00       	call   39fd <ct_irq_enter+0x3d>	39f9: R_X86_64_PLT32	ftrace_likely_update-0x4
003d     39fd:	e8 00 00 00 00       	call   3a02 <ct_irq_enter+0x42>	39fe: R_X86_64_PLT32	ct_nmi_enter-0x4
0042     3a02:	5d                   	pop    %rbp
0043     3a03:	c3                   	ret
0044     3a04:	cc                   	int3
0045     3a05:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 3a0c <ct_irq_enter+0x4c>	3a08: R_X86_64_PC32	hardirqs_enabled-0x4
004c     3a0c:	85 c0                	test   %eax,%eax
004e     3a0e:	74 c9                	je     39d9 <ct_irq_enter+0x19>
0050     3a10:	31 c9                	xor    %ecx,%ecx
0052     3a12:	31 d2                	xor    %edx,%edx
0054     3a14:	be 01 00 00 00       	mov    $0x1,%esi
0059     3a19:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	3a1c: R_X86_64_32S	_ftrace_annotated_branch+0x51600
0060     3a20:	e8 00 00 00 00       	call   3a25 <ct_irq_enter+0x65>	3a21: R_X86_64_PLT32	ftrace_likely_update-0x4
0065     3a25:	90                   	nop
0066     3a26:	0f 0b                	ud2
0068     3a28:	90                   	nop
0069     3a29:	be 01 00 00 00       	mov    $0x1,%esi
006e     3a2e:	eb bd                	jmp    39ed <ct_irq_enter+0x2d>

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ