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:   Sat, 17 Sep 2022 14:59:58 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [peterz-queue:sched/idle 27/39] vmlinux.o: warning: objtool:
 intel_idle_xstate+0x5a: call to ftrace_likely_update() leaves .noinstr.text
 section

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/idle
head:   86ceee2551e6a63a16f2d0f9d19d2685d06ad31f
commit: b305fb38c7b3cc26596ac553e23621882bcc529e [27/39] cpuidle,sched: Remove annotations from TIF_{POLLING_NRFLAG,NEED_RESCHED}
config: x86_64-randconfig-c022
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=b305fb38c7b3cc26596ac553e23621882bcc529e
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue sched/idle
        git checkout b305fb38c7b3cc26596ac553e23621882bcc529e
        # 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 >>):

   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x32: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x37: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x71: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x39: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0xb8: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x47: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0xd: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x49: 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+0x45: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x8a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x57: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x57: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x57: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x3a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: default_idle+0x0: call to mds_idle_clear_cpu_buffers() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mwait_idle+0x26: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_processor_ffh_cstate_enter+0x41: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle+0x55: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_irq+0x56: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_ibrs+0xe: call to sched_smt_active() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: intel_idle_xstate+0x5a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_s2idle+0x5f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_safe_halt+0xf: call to mds_idle_clear_cpu_buffers() leaves .noinstr.text section
   vmlinux.o: warning: objtool: io_idle+0x3: call to __inb.isra.0() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_idle_enter_s2idle+0x4f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_idle_enter+0x48: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o intel_idle_xstate:
0000 00000000000005ae <intel_idle_xstate>:
0000  5ae:	41 54                	push   %r12
0002  5b0:	55                   	push   %rbp
0003  5b1:	48 89 f5             	mov    %rsi,%rbp
0006  5b4:	53                   	push   %rbx
0007  5b5:	48 63 da             	movslq %edx,%rbx
000a  5b8:	49 89 dc             	mov    %rbx,%r12
000d  5bb:	e8 00 00 00 00       	call   5c0 <intel_idle_xstate+0x12>	5bc: R_X86_64_PLT32	fpu_idle_fpregs-0x4
0012  5c0:	48 83 fb 0a          	cmp    $0xa,%rbx
0016  5c4:	76 0f                	jbe    5d5 <intel_idle_xstate+0x27>
0018  5c6:	48 89 de             	mov    %rbx,%rsi
001b  5c9:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	5cc: R_X86_64_32S	.data+0x122e840
0022  5d0:	e8 00 00 00 00       	call   5d5 <intel_idle_xstate+0x27>	5d1: R_X86_64_PLT32	__ubsan_handle_out_of_bounds-0x4
0027  5d5:	48 6b db 68          	imul   $0x68,%rbx,%rbx
002b  5d9:	0f b6 6c 1d 5b       	movzbl 0x5b(%rbp,%rbx,1),%ebp
0030  5de:	e9 00 00 00 00       	jmp    5e3 <intel_idle_xstate+0x35>	5df: R_X86_64_PC32	.altinstr_aux+0xcfe
0035  5e3:	eb 2d                	jmp    612 <intel_idle_xstate+0x64>
0037  5e5:	48 8b 04 25 00 00 00 00 	mov    0x0,%rax	5e9: R_X86_64_32S	current_task
003f  5ed:	80 48 02 20          	orb    $0x20,0x2(%rax)
0043  5f1:	48 8b 18             	mov    (%rax),%rbx
0046  5f4:	31 c9                	xor    %ecx,%ecx
0048  5f6:	31 d2                	xor    %edx,%edx
004a  5f8:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	5fb: R_X86_64_32S	_ftrace_annotated_branch+0x90c60
0051  5ff:	48 c1 eb 03          	shr    $0x3,%rbx
0055  603:	83 e3 01             	and    $0x1,%ebx
0058  606:	89 de                	mov    %ebx,%esi
005a  608:	e8 00 00 00 00       	call   60d <intel_idle_xstate+0x5f>	609: R_X86_64_PLT32	ftrace_likely_update-0x4
005f  60d:	48 85 db             	test   %rbx,%rbx
0062  610:	75 51                	jne    663 <intel_idle_xstate+0xb5>
0064  612:	e9 00 00 00 00       	jmp    617 <intel_idle_xstate+0x69>	613: R_X86_64_PC32	.altinstr_aux+0xd10
0069  617:	0f ae f0             	mfence
006c  61a:	48 8b 3c 25 00 00 00 00 	mov    0x0,%rdi	61e: R_X86_64_32S	current_task
0074  622:	e8 00 00 00 00       	call   627 <intel_idle_xstate+0x79>	623: R_X86_64_PC32	.text+0xa6e4ae
0079  627:	0f ae f0             	mfence
007c  62a:	48 8b 1c 25 00 00 00 00 	mov    0x0,%rbx	62e: R_X86_64_32S	current_task
0084  632:	48 89 df             	mov    %rbx,%rdi
0087  635:	e8 00 00 00 00       	call   63a <intel_idle_xstate+0x8c>	636: R_X86_64_PC32	.text+0xa6e7ad
008c  63a:	48 8b 1b             	mov    (%rbx),%rbx
008f  63d:	31 c9                	xor    %ecx,%ecx
0091  63f:	31 d2                	xor    %edx,%edx
0093  641:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	644: R_X86_64_32S	_ftrace_annotated_branch+0x90c90
009a  648:	48 c1 eb 03          	shr    $0x3,%rbx
009e  64c:	83 e3 01             	and    $0x1,%ebx
00a1  64f:	89 de                	mov    %ebx,%esi
00a3  651:	e8 00 00 00 00       	call   656 <intel_idle_xstate+0xa8>	652: R_X86_64_PLT32	ftrace_likely_update-0x4
00a8  656:	48 85 db             	test   %rbx,%rbx
00ab  659:	75 08                	jne    663 <intel_idle_xstate+0xb5>
00ad  65b:	48 89 ef             	mov    %rbp,%rdi
00b0  65e:	e8 00 00 00 00       	call   663 <intel_idle_xstate+0xb5>	65f: R_X86_64_PC32	.text+0xa6e75e
00b5  663:	48 8b 04 25 00 00 00 00 	mov    0x0,%rax	667: R_X86_64_32S	current_task
00bd  66b:	80 60 02 df          	andb   $0xdf,0x2(%rax)
00c1  66f:	48 8b 00             	mov    (%rax),%rax
00c4  672:	a8 08                	test   $0x8,%al
00c6  674:	74 0a                	je     680 <intel_idle_xstate+0xd2>
00c8  676:	81 25 00 00 00 00 ff ff ff 7f 	andl   $0x7fffffff,0x0(%rip)        # 680 <intel_idle_xstate+0xd2>	678: R_X86_64_PC32	__preempt_count-0x8
00d2  680:	44 89 e0             	mov    %r12d,%eax
00d5  683:	5b                   	pop    %rbx
00d6  684:	5d                   	pop    %rbp
00d7  685:	41 5c                	pop    %r12
00d9  687:	c3                   	ret

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ