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, 27 Dec 2022 07:08:38 +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_exit+0x32: 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:   1b929c02afd37871d5afb9d498426f83432e71c2
commit: c33ef43a359001415032665dfcd433979c462b71 rcu/context-tracking: Remove unused and/or unecessary middle functions
date:   6 months ago
config: x86_64-randconfig-a015-20221226
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 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>

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+0x32: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_start+0x73: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x53: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x70: 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+0x50: 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+0x31: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x2e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x46: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit+0x3d: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_idle_exit+0x32: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter+0x48: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_idle_enter+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_enter+0x41: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_nmi_enter+0x41: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: ct_irq_enter+0x38: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: ct_irq_exit+0x38: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_idle_exit:
0000 0000000000005fc0 <ct_idle_exit>:
0000     5fc0:	f3 0f 1e fa          	endbr64
0004     5fc4:	55                   	push   %rbp
0005     5fc5:	53                   	push   %rbx
0006     5fc6:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5fc7: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
000b     5fcb:	9c                   	pushf
000c     5fcc:	5d                   	pop    %rbp
000d     5fcd:	fa                   	cli
000e     5fce:	31 ff                	xor    %edi,%edi
0010     5fd0:	e8 ab fd ff ff       	call   5d80 <rcu_eqs_exit>
0015     5fd5:	9c                   	pushf
0016     5fd6:	58                   	pop    %rax
0017     5fd7:	25 00 02 00 00       	and    $0x200,%eax
001c     5fdc:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	5fdf: R_X86_64_32S	_ftrace_annotated_branch+0x57ab0
0023     5fe3:	40 0f 95 c6          	setne  %sil
0027     5fe7:	48 89 c3             	mov    %rax,%rbx
002a     5fea:	31 c9                	xor    %ecx,%ecx
002c     5fec:	31 d2                	xor    %edx,%edx
002e     5fee:	40 0f b6 f6          	movzbl %sil,%esi
0032     5ff2:	e8 00 00 00 00       	call   5ff7 <ct_idle_exit+0x37>	5ff3: R_X86_64_PLT32	ftrace_likely_update-0x4
0037     5ff7:	48 85 db             	test   %rbx,%rbx
003a     5ffa:	75 1a                	jne    6016 <ct_idle_exit+0x56>
003c     5ffc:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	5ffd: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
0041     6001:	f7 c5 00 02 00 00    	test   $0x200,%ebp
0047     6007:	74 06                	je     600f <ct_idle_exit+0x4f>
0049     6009:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	600a: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
004e     600e:	fb                   	sti
004f     600f:	5b                   	pop    %rbx
0050     6010:	5d                   	pop    %rbp
0051     6011:	c3                   	ret
0052     6012:	cc                   	int3	6012: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
0053     6013:	0f 1f 00             	nopl   (%rax)
0056     6016:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)	6017: R_X86_64_NONE	__sanitizer_cov_trace_pc-0x4
005b     601b:	e8 00 00 00 00       	call   6020 <ct_idle_exit+0x60>	601c: R_X86_64_PLT32	warn_bogus_irq_restore-0x4
0060     6020:	eb da                	jmp    5ffc <ct_idle_exit+0x3c>
0062     6022:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
006d     602d:	66 66 2e 0f 1f 84 00 00 00 00 00 	data16 cs nopw 0x0(%rax,%rax,1)
0078     6038:	0f 1f 84 00 00 00 00 00 	nopl   0x0(%rax,%rax,1)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ