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]
Message-ID: <202302071403.la39hU5C-lkp@intel.com>
Date:   Tue, 7 Feb 2023 14:41:44 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        x86@...nel.org, Ingo Molnar <mingo@...nel.org>
Subject: [tip:sched/core 10/10] vmlinux.o: warning: objtool: poll_idle+0x4a:
 call to ftrace_likely_update() leaves .noinstr.text section

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   4d627628d7584f3d3add1d53342d0f01aa878e04
commit: 4d627628d7584f3d3add1d53342d0f01aa878e04 [10/10] cpuidle: Fix poll_idle() noinstr annotation
config: x86_64-randconfig-c022 (https://download.01.org/0day-ci/archive/20230207/202302071403.la39hU5C-lkp@intel.com/config)
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/tip/tip.git/commit/?id=4d627628d7584f3d3add1d53342d0f01aa878e04
        git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
        git fetch --no-tags tip sched/core
        git checkout 4d627628d7584f3d3add1d53342d0f01aa878e04
        # 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 >>):

   vmlinux.o: warning: objtool: __asan_memset+0x53: call to __memset() with UACCESS enabled
   vmlinux.o: warning: objtool: __asan_memmove+0x7f: call to __memmove() with UACCESS enabled
   vmlinux.o: warning: objtool: __asan_memcpy+0x7f: call to __memcpy() with UACCESS enabled
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x36: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x32: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x75: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x3d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0xbc: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x34: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: native_sched_clock+0x7d: 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+0x4d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x52: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: pvclock_clocksource_read_nowd+0xb2: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: local_clock+0x44: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x49: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x8e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x3a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x3f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x3a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x3a: 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: mwait_idle+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_processor_ffh_cstate_enter+0x45: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_s2idle+0x63: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_xstate+0x5e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_irq+0x5a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle+0x59: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_ibrs+0x12: call to sched_smt_active() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_idle_enter_s2idle+0x53: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_idle_enter+0x4c: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: poll_idle+0x4a: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o poll_idle:
0000 0000000000000b3b <poll_idle>:
0000  b3b:	f3 0f 1e fa          	endbr64
0004  b3f:	41 57                	push   %r15
0006  b41:	49 89 f7             	mov    %rsi,%r15
0009  b44:	41 56                	push   %r14
000b  b46:	41 55                	push   %r13
000d  b48:	41 89 d5             	mov    %edx,%r13d
0010  b4b:	41 54                	push   %r12
0012  b4d:	55                   	push   %rbp
0013  b4e:	53                   	push   %rbx
0014  b4f:	48 89 fb             	mov    %rdi,%rbx
0017  b52:	51                   	push   %rcx
0018  b53:	e8 00 00 00 00       	call   b58 <poll_idle+0x1d>	b54: R_X86_64_PLT32	local_clock-0x4
001d  b58:	80 23 fb             	andb   $0xfb,(%rbx)
0020  b5b:	49 89 c6             	mov    %rax,%r14
0023  b5e:	fb                   	sti
0024  b5f:	4c 8b 24 25 00 00 00 00 	mov    0x0,%r12	b63: R_X86_64_32S	pcpu_hot
002c  b67:	41 80 4c 24 02 20    	orb    $0x20,0x2(%r12)
0032  b6d:	49 8b 2c 24          	mov    (%r12),%rbp
0036  b71:	31 c9                	xor    %ecx,%ecx
0038  b73:	31 d2                	xor    %edx,%edx
003a  b75:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	b78: R_X86_64_32S	_ftrace_annotated_branch+0xf5010
0041  b7c:	48 c1 ed 03          	shr    $0x3,%rbp
0045  b80:	83 e5 01             	and    $0x1,%ebp
0048  b83:	89 ee                	mov    %ebp,%esi
004a  b85:	e8 00 00 00 00       	call   b8a <poll_idle+0x4f>	b86: R_X86_64_PLT32	ftrace_likely_update-0x4
004f  b8a:	48 85 ed             	test   %rbp,%rbp
0052  b8d:	75 4f                	jne    bde <poll_idle+0xa3>
0054  b8f:	48 89 de             	mov    %rbx,%rsi
0057  b92:	4c 89 ff             	mov    %r15,%rdi
005a  b95:	e8 00 00 00 00       	call   b9a <poll_idle+0x5f>	b96: R_X86_64_PLT32	cpuidle_poll_time-0x4
005f  b9a:	48 89 04 24          	mov    %rax,(%rsp)
0063  b9e:	41 bf c9 00 00 00    	mov    $0xc9,%r15d
0069  ba4:	49 8b 2c 24          	mov    (%r12),%rbp
006d  ba8:	31 c9                	xor    %ecx,%ecx
006f  baa:	31 d2                	xor    %edx,%edx
0071  bac:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	baf: R_X86_64_32S	_ftrace_annotated_branch+0xf5040
0078  bb3:	48 c1 ed 03          	shr    $0x3,%rbp
007c  bb7:	83 e5 01             	and    $0x1,%ebp
007f  bba:	89 ee                	mov    %ebp,%esi
0081  bbc:	e8 00 00 00 00       	call   bc1 <poll_idle+0x86>	bbd: R_X86_64_PLT32	ftrace_likely_update-0x4
0086  bc1:	48 85 ed             	test   %rbp,%rbp
0089  bc4:	75 18                	jne    bde <poll_idle+0xa3>
008b  bc6:	f3 90                	pause
008d  bc8:	41 ff cf             	dec    %r15d
0090  bcb:	75 d7                	jne    ba4 <poll_idle+0x69>
0092  bcd:	e8 00 00 00 00       	call   bd2 <poll_idle+0x97>	bce: R_X86_64_PLT32	local_clock-0x4
0097  bd2:	4c 29 f0             	sub    %r14,%rax
009a  bd5:	48 3b 04 24          	cmp    (%rsp),%rax
009e  bd9:	76 c3                	jbe    b9e <poll_idle+0x63>
00a0  bdb:	80 0b 04             	orb    $0x4,(%rbx)
00a3  bde:	fa                   	cli
00a4  bdf:	48 8b 04 25 00 00 00 00 	mov    0x0,%rax	be3: R_X86_64_32S	pcpu_hot
00ac  be7:	80 60 02 df          	andb   $0xdf,0x2(%rax)
00b0  beb:	48 8b 00             	mov    (%rax),%rax
00b3  bee:	a8 08                	test   $0x8,%al
00b5  bf0:	74 0a                	je     bfc <poll_idle+0xc1>
00b7  bf2:	81 25 00 00 00 00 ff ff ff 7f 	andl   $0x7fffffff,0x0(%rip)        # bfc <poll_idle+0xc1>	bf4: R_X86_64_PC32	pcpu_hot
00c1  bfc:	5a                   	pop    %rdx
00c2  bfd:	44 89 e8             	mov    %r13d,%eax
00c5  c00:	5b                   	pop    %rbx
00c6  c01:	5d                   	pop    %rbp
00c7  c02:	41 5c                	pop    %r12
00c9  c04:	41 5d                	pop    %r13
00cb  c06:	41 5e                	pop    %r14
00cd  c08:	41 5f                	pop    %r15
00cf  c0a:	c3                   	ret

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ