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: <202210090725.PxqUrEkk-lkp@intel.com>
Date:   Sun, 9 Oct 2022 07:10:27 +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,
        "Srivatsa S. Bhat (VMware)" <srivatsa@...il.mit.edu>,
        Juergen Gross <jgross@...e.com>
Subject: [peterz-queue:sched/idle 30/50] vmlinux.o: warning: objtool:
 default_idle+0x20: 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:   6c9039a17a6d1a826c0fbea87d3ba8de7e2fecf9
commit: a7cb8c59ec59ca70ae86274441923986261b08c9 [30/50] cpuidle,xenpv: Make more PARAVIRT_XXL noinstr clean
config: x86_64-randconfig-a011-20220124
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=a7cb8c59ec59ca70ae86274441923986261b08c9
        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 a7cb8c59ec59ca70ae86274441923986261b08c9
        # 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+0x25: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_double_fault+0x38: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x7a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_debug+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x2d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x48: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x32: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x11: 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+0x3f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_machine_check+0x3d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_page_fault+0x2e: 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+0x40: 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+0x2d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: context_tracking_recursion_enter+0x30: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_exit+0x43: call to __kasan_check_write() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __ct_user_enter+0x30: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: tdx_safe_halt+0x29: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: default_idle+0x20: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mwait_idle+0x2d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: acpi_processor_ffh_cstate_enter+0xba: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: cpu_idle_poll.isra.0+0x80: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle+0xcc: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_irq+0x2a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_s2idle+0xdc: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_xstate+0xd1: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: intel_idle_ibrs+0x13: call to sched_smt_active() leaves .noinstr.text section


objdump-func vmlinux.o default_idle:
0000 0000000000000110 <default_idle>:
0000  110:	55                   	push   %rbp
0001  111:	31 f6                	xor    %esi,%esi
0003  113:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	116: R_X86_64_32S	_ftrace_annotated_branch+0xd620
000a  11a:	48 89 e5             	mov    %rsp,%rbp
000d  11d:	53                   	push   %rbx
000e  11e:	48 8b 1d 00 00 00 00 	mov    0x0(%rip),%rbx        # 125 <default_idle+0x15>	121: R_X86_64_PC32	pv_ops+0x104
0015  125:	48 85 db             	test   %rbx,%rbx
0018  128:	40 0f 94 c6          	sete   %sil
001c  12c:	31 c9                	xor    %ecx,%ecx
001e  12e:	31 d2                	xor    %edx,%edx
0020  130:	e8 00 00 00 00       	call   135 <default_idle+0x25>	131: R_X86_64_PLT32	ftrace_likely_update-0x4
0025  135:	48 85 db             	test   %rbx,%rbx
0028  138:	74 37                	je     171 <default_idle+0x61>
002a  13a:	ff 15 00 00 00 00    	call   *0x0(%rip)        # 140 <default_idle+0x30>	13c: R_X86_64_PC32	pv_ops+0x104
0030  140:	48 8b 1d 00 00 00 00 	mov    0x0(%rip),%rbx        # 147 <default_idle+0x37>	143: R_X86_64_PC32	pv_ops+0xf4
0037  147:	31 f6                	xor    %esi,%esi
0039  149:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	14c: R_X86_64_32S	_ftrace_annotated_branch+0xd4d0
0040  150:	48 85 db             	test   %rbx,%rbx
0043  153:	40 0f 94 c6          	sete   %sil
0047  157:	31 c9                	xor    %ecx,%ecx
0049  159:	31 d2                	xor    %edx,%edx
004b  15b:	e8 00 00 00 00       	call   160 <default_idle+0x50>	15c: R_X86_64_PLT32	ftrace_likely_update-0x4
0050  160:	48 85 db             	test   %rbx,%rbx
0053  163:	74 0f                	je     174 <default_idle+0x64>
0055  165:	ff 15 00 00 00 00    	call   *0x0(%rip)        # 16b <default_idle+0x5b>	167: R_X86_64_PC32	pv_ops+0xf4
005b  16b:	48 8b 5d f8          	mov    -0x8(%rbp),%rbx
005f  16f:	c9                   	leave
0060  170:	c3                   	ret
0061  171:	90                   	nop
0062  172:	0f 0b                	ud2
0064  174:	90                   	nop
0065  175:	0f 0b                	ud2
0067  177:	66 0f 1f 84 00 00 00 00 00 	nopw   0x0(%rax,%rax,1)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ