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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202209220456.cXRrGXs7-lkp@intel.com>
Date:   Thu, 22 Sep 2022 04:34:47 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [peterz-queue:sched/idle 45/48] vmlinux.o: warning: objtool:
 enter_s2idle_proper+0x78: call to ct_cpuidle_exit() leaves .noinstr.text
 section

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/idle
head:   0647316069655583b418c7cb6ab8ec3ce8e647da
commit: 5b2b97c4cdf9c9fc1df6c4085d0c3bff9cc70483 [45/48] cpuidle: Ensure ct_cpuidle_enter() is always called from noinstr/__cpuidl
config: x86_64-randconfig-a001
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=5b2b97c4cdf9c9fc1df6c4085d0c3bff9cc70483
        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 5b2b97c4cdf9c9fc1df6c4085d0c3bff9cc70483
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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: __ct_user_enter+0x72: call to __kasan_check_write() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_exit+0x47: call to __kasan_check_write() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: enter_s2idle_proper+0x78: call to ct_cpuidle_exit() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: cpuidle_enter_state+0x111: call to ct_cpuidle_exit() leaves .noinstr.text section


objdump-func vmlinux.o enter_s2idle_proper:
0000 0000000000002e3c <enter_s2idle_proper>:
0000     2e3c:	55                   	push   %rbp
0001     2e3d:	41 57                	push   %r15
0003     2e3f:	41 56                	push   %r14
0005     2e41:	41 55                	push   %r13
0007     2e43:	41 54                	push   %r12
0009     2e45:	53                   	push   %rbx
000a     2e46:	50                   	push   %rax
000b     2e47:	41 89 d4             	mov    %edx,%r12d
000e     2e4a:	49 89 f7             	mov    %rsi,%r15
0011     2e4d:	48 89 fb             	mov    %rdi,%rbx
0014     2e50:	4c 63 ea             	movslq %edx,%r13
0017     2e53:	41 83 fd 0b          	cmp    $0xb,%r13d
001b     2e57:	0f 83 ab 00 00 00    	jae    2f08 <enter_s2idle_proper+0xcc>
0021     2e5d:	90                   	nop
0022     2e5e:	e8 00 00 00 00       	call   2e63 <enter_s2idle_proper+0x27>	2e5f: R_X86_64_PLT32	.text+0x127a904
0027     2e63:	49 89 c6             	mov    %rax,%r14
002a     2e66:	e8 00 00 00 00       	call   2e6b <enter_s2idle_proper+0x2f>	2e67: R_X86_64_PLT32	tick_freeze-0x4
002f     2e6b:	e8 00 00 00 00       	call   2e70 <enter_s2idle_proper+0x34>	2e6c: R_X86_64_PLT32	stop_critical_timings-0x4
0034     2e70:	49 6b ed 68          	imul   $0x68,%r13,%rbp
0038     2e74:	f6 44 2b 58 40       	testb  $0x40,0x58(%rbx,%rbp,1)
003d     2e79:	75 06                	jne    2e81 <enter_s2idle_proper+0x45>
003f     2e7b:	e8 00 00 00 00       	call   2e80 <enter_s2idle_proper+0x44>	2e7c: R_X86_64_PLT32	.text+0x127a90b
0044     2e80:	90                   	nop
0045     2e81:	48 01 dd             	add    %rbx,%rbp
0048     2e84:	48 83 c5 58          	add    $0x58,%rbp
004c     2e88:	4c 89 ff             	mov    %r15,%rdi
004f     2e8b:	48 89 de             	mov    %rbx,%rsi
0052     2e8e:	44 89 e2             	mov    %r12d,%edx
0055     2e91:	ff 55 20             	call   *0x20(%rbp)
0058     2e94:	48 b8 aa aa aa aa aa aa aa aa 	movabs $0xaaaaaaaaaaaaaaaa,%rax
0062     2e9e:	48 89 04 24          	mov    %rax,(%rsp)
0066     2ea2:	9c                   	pushf
0067     2ea3:	8f 04 24             	pop    (%rsp)
006a     2ea6:	0f ba 24 24 09       	btl    $0x9,(%rsp)
006f     2eab:	72 54                	jb     2f01 <enter_s2idle_proper+0xc5>
0071     2ead:	f6 45 00 40          	testb  $0x40,0x0(%rbp)
0075     2eb1:	75 06                	jne    2eb9 <enter_s2idle_proper+0x7d>
0077     2eb3:	90                   	nop
0078     2eb4:	e8 00 00 00 00       	call   2eb9 <enter_s2idle_proper+0x7d>	2eb5: R_X86_64_PLT32	.text+0x127a980
007d     2eb9:	e8 00 00 00 00       	call   2ebe <enter_s2idle_proper+0x82>	2eba: R_X86_64_PLT32	tick_unfreeze-0x4
0082     2ebe:	e8 00 00 00 00       	call   2ec3 <enter_s2idle_proper+0x87>	2ebf: R_X86_64_PLT32	start_critical_timings-0x4
0087     2ec3:	e8 00 00 00 00       	call   2ec8 <enter_s2idle_proper+0x8c>	2ec4: R_X86_64_PLT32	.text+0x127a904
008c     2ec8:	48 89 c7             	mov    %rax,%rdi
008f     2ecb:	4c 89 f6             	mov    %r14,%rsi
0092     2ece:	e8 00 00 00 00       	call   2ed3 <enter_s2idle_proper+0x97>	2ecf: R_X86_64_PLT32	.text+0x127ba45
0097     2ed3:	48 89 c3             	mov    %rax,%rbx
009a     2ed6:	41 83 fc 0a          	cmp    $0xa,%r12d
009e     2eda:	73 40                	jae    2f1c <enter_s2idle_proper+0xe0>
00a0     2edc:	4c 89 e8             	mov    %r13,%rax
00a3     2edf:	48 c1 e0 06          	shl    $0x6,%rax
00a7     2ee3:	49 01 5c 07 68       	add    %rbx,0x68(%r15,%rax,1)
00ac     2ee8:	49 c1 e5 06          	shl    $0x6,%r13
00b0     2eec:	4b ff 44 2f 60       	incq   0x60(%r15,%r13,1)
00b5     2ef1:	90                   	nop
00b6     2ef2:	48 83 c4 08          	add    $0x8,%rsp
00ba     2ef6:	5b                   	pop    %rbx
00bb     2ef7:	41 5c                	pop    %r12
00bd     2ef9:	41 5d                	pop    %r13
00bf     2efb:	41 5e                	pop    %r14
00c1     2efd:	41 5f                	pop    %r15
00c3     2eff:	5d                   	pop    %rbp
00c4     2f00:	c3                   	ret
00c5     2f01:	90                   	nop
00c6     2f02:	0f 0b                	ud2
00c8     2f04:	90                   	nop
00c9     2f05:	fa                   	cli
00ca     2f06:	eb a5                	jmp    2ead <enter_s2idle_proper+0x71>
00cc     2f08:	44 89 e6             	mov    %r12d,%esi
00cf     2f0b:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	2f0e: R_X86_64_32S	.data+0x869cb0
00d6     2f12:	e8 00 00 00 00       	call   2f17 <enter_s2idle_proper+0xdb>	2f13: R_X86_64_PLT32	__ubsan_handle_out_of_bounds-0x4
00db     2f17:	e9 41 ff ff ff       	jmp    2e5d <enter_s2idle_proper+0x21>
00e0     2f1c:	45 89 e6             	mov    %r12d,%r14d
00e3     2f1f:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	2f22: R_X86_64_32S	.data+0x869cd0
00ea     2f26:	4c 89 f6             	mov    %r14,%rsi
00ed     2f29:	e8 00 00 00 00       	call   2f2e <enter_s2idle_proper+0xf2>	2f2a: R_X86_64_PLT32	__ubsan_handle_out_of_bounds-0x4
00f2     2f2e:	4c 89 e8             	mov    %r13,%rax
00f5     2f31:	48 c1 e0 06          	shl    $0x6,%rax
00f9     2f35:	49 01 5c 07 68       	add    %rbx,0x68(%r15,%rax,1)
00fe     2f3a:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	2f3d: R_X86_64_32S	.data+0x869cf0
0105     2f41:	4c 89 f6             	mov    %r14,%rsi
0108     2f44:	e8 00 00 00 00       	call   2f49 <enter_s2idle_proper+0x10d>	2f45: R_X86_64_PLT32	__ubsan_handle_out_of_bounds-0x4
010d     2f49:	eb 9d                	jmp    2ee8 <enter_s2idle_proper+0xac>

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ