[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301151826.QvsTuDMa-lkp@intel.com>
Date: Sun, 15 Jan 2023 18:37:28 +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 27/52] vmlinux.o: warning: objtool:
intel_idle_ibrs+0x7f: 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: 79ba1e607d68178db7d3fe4f6a4aa38f06805e7b
commit: e4df1511e1f4bcaa0d590aa7bbffe8bbbd6dfb49 [27/52] cpuidle, sched: Remove instrumentation from TIF_{POLLING_NRFLAG,NEED_RESCHED}
config: x86_64-randconfig-a012-20220124
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=e4df1511e1f4bcaa0d590aa7bbffe8bbbd6dfb49
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 e4df1511e1f4bcaa0d590aa7bbffe8bbbd6dfb49
# 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: __rdgsbase_inactive+0x34: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: __wrgsbase_inactive+0x38: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: fixup_bad_iret+0x89: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: noist_exc_debug+0x50: 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+0x34: 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+0x72: 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+0x40: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_kernel_exit_state+0x33: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_kernel_enter_state+0x33: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_kernel_enter.constprop.0+0x26: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_idle_exit+0x2b: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_kernel_exit.constprop.0+0x3d: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_idle_enter+0x14: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: ct_nmi_enter+0x36: 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
vmlinux.o: warning: objtool: default_idle+0x4: call to mds_idle_clear_cpu_buffers() leaves .noinstr.text section
vmlinux.o: warning: objtool: mwait_idle+0x2c: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: acpi_processor_ffh_cstate_enter+0x72: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: intel_idle_ibrs+0x7f: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: intel_idle_xstate+0x60: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: intel_idle_s2idle+0x65: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: intel_idle_irq+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: intel_idle+0x5b: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: acpi_safe_halt+0x10: 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+0x80: call to ftrace_likely_update() leaves .noinstr.text section
vmlinux.o: warning: objtool: acpi_idle_enter+0x79: call to ftrace_likely_update() leaves .noinstr.text section
objdump-func vmlinux.o intel_idle_ibrs:
0000 00000000000003e2 <intel_idle_ibrs>:
0000 3e2: f3 0f 1e fa endbr64
0004 3e6: 41 56 push %r14
0006 3e8: 49 89 f6 mov %rsi,%r14
0009 3eb: 41 55 push %r13
000b 3ed: 44 8b 2d 00 00 00 00 mov 0x0(%rip),%r13d # 3f4 <intel_idle_ibrs+0x12> 3f0: R_X86_64_PC32 sched_smt_present-0x4
0012 3f4: 41 54 push %r12
0014 3f6: 41 89 d4 mov %edx,%r12d
0017 3f9: 55 push %rbp
0018 3fa: 53 push %rbx
0019 3fb: e8 00 00 00 00 call 400 <intel_idle_ibrs+0x1e> 3fc: R_X86_64_PLT32 spec_ctrl_current-0x4
001e 400: 48 89 c5 mov %rax,%rbp
0021 403: 45 85 ed test %r13d,%r13d
0024 406: 7e 0b jle 413 <intel_idle_ibrs+0x31>
0026 408: 31 c0 xor %eax,%eax
0028 40a: b9 48 00 00 00 mov $0x48,%ecx
002d 40f: 89 c2 mov %eax,%edx
002f 411: 0f 30 wrmsr
0031 413: 49 63 dc movslq %r12d,%rbx
0034 416: 48 83 fb 0a cmp $0xa,%rbx
0038 41a: 76 0f jbe 42b <intel_idle_ibrs+0x49>
003a 41c: 48 89 de mov %rbx,%rsi
003d 41f: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 422: R_X86_64_32S .data+0x996780
0044 426: e8 00 00 00 00 call 42b <intel_idle_ibrs+0x49> 427: R_X86_64_PLT32 __ubsan_handle_out_of_bounds-0x4
0049 42b: 48 6b db 68 imul $0x68,%rbx,%rbx
004d 42f: 45 0f b6 74 1e 5b movzbl 0x5b(%r14,%rbx,1),%r14d
0053 435: e9 00 00 00 00 jmp 43a <intel_idle_ibrs+0x58> 436: R_X86_64_PC32 .altinstr_aux+0x1ad8
0058 43a: eb 2f jmp 46b <intel_idle_ibrs+0x89>
005a 43c: 65 48 8b 04 25 00 00 00 00 mov %gs:0x0,%rax 441: R_X86_64_32S pcpu_hot
0063 445: f0 80 48 02 20 lock orb $0x20,0x2(%rax)
0068 44a: 48 8b 18 mov (%rax),%rbx
006b 44d: 31 c9 xor %ecx,%ecx
006d 44f: 31 d2 xor %edx,%edx
006f 451: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 454: R_X86_64_32S _ftrace_annotated_branch+0xe8b60
0076 458: 48 c1 eb 03 shr $0x3,%rbx
007a 45c: 83 e3 01 and $0x1,%ebx
007d 45f: 89 de mov %ebx,%esi
007f 461: e8 00 00 00 00 call 466 <intel_idle_ibrs+0x84> 462: R_X86_64_PLT32 ftrace_likely_update-0x4
0084 466: 48 85 db test %rbx,%rbx
0087 469: 75 53 jne 4be <intel_idle_ibrs+0xdc>
0089 46b: e9 00 00 00 00 jmp 470 <intel_idle_ibrs+0x8e> 46c: R_X86_64_PC32 .altinstr_aux+0x1aea
008e 470: 0f ae f0 mfence
0091 473: 65 48 8b 3c 25 00 00 00 00 mov %gs:0x0,%rdi 478: R_X86_64_32S pcpu_hot
009a 47c: e8 00 00 00 00 call 481 <intel_idle_ibrs+0x9f> 47d: R_X86_64_PC32 .text+0xc2206e
009f 481: 0f ae f0 mfence
00a2 484: 65 48 8b 1c 25 00 00 00 00 mov %gs:0x0,%rbx 489: R_X86_64_32S pcpu_hot
00ab 48d: 48 89 df mov %rbx,%rdi
00ae 490: e8 00 00 00 00 call 495 <intel_idle_ibrs+0xb3> 491: R_X86_64_PC32 .text+0xc22392
00b3 495: 48 8b 1b mov (%rbx),%rbx
00b6 498: 31 c9 xor %ecx,%ecx
00b8 49a: 31 d2 xor %edx,%edx
00ba 49c: 48 c7 c7 00 00 00 00 mov $0x0,%rdi 49f: R_X86_64_32S _ftrace_annotated_branch+0xe8b90
00c1 4a3: 48 c1 eb 03 shr $0x3,%rbx
00c5 4a7: 83 e3 01 and $0x1,%ebx
00c8 4aa: 89 de mov %ebx,%esi
00ca 4ac: e8 00 00 00 00 call 4b1 <intel_idle_ibrs+0xcf> 4ad: R_X86_64_PLT32 ftrace_likely_update-0x4
00cf 4b1: 48 85 db test %rbx,%rbx
00d2 4b4: 75 08 jne 4be <intel_idle_ibrs+0xdc>
00d4 4b6: 4c 89 f7 mov %r14,%rdi
00d7 4b9: e8 00 00 00 00 call 4be <intel_idle_ibrs+0xdc> 4ba: R_X86_64_PC32 .text+0xc22328
00dc 4be: 65 48 8b 04 25 00 00 00 00 mov %gs:0x0,%rax 4c3: R_X86_64_32S pcpu_hot
00e5 4c7: f0 80 60 02 df lock andb $0xdf,0x2(%rax)
00ea 4cc: f0 83 44 24 fc 00 lock addl $0x0,-0x4(%rsp)
00f0 4d2: 48 8b 00 mov (%rax),%rax
00f3 4d5: a8 08 test $0x8,%al
00f5 4d7: 74 0b je 4e4 <intel_idle_ibrs+0x102>
00f7 4d9: 65 81 25 00 00 00 00 ff ff ff 7f andl $0x7fffffff,%gs:0x0(%rip) # 4e4 <intel_idle_ibrs+0x102> 4dc: R_X86_64_PC32 pcpu_hot
0102 4e4: 45 85 ed test %r13d,%r13d
0105 4e7: 7e 10 jle 4f9 <intel_idle_ibrs+0x117>
0107 4e9: 48 89 ea mov %rbp,%rdx
010a 4ec: b9 48 00 00 00 mov $0x48,%ecx
010f 4f1: 89 e8 mov %ebp,%eax
0111 4f3: 48 c1 ea 20 shr $0x20,%rdx
0115 4f7: 0f 30 wrmsr
0117 4f9: 5b pop %rbx
0118 4fa: 44 89 e0 mov %r12d,%eax
011b 4fd: 5d pop %rbp
011c 4fe: 41 5c pop %r12
011e 500: 41 5d pop %r13
0120 502: 41 5e pop %r14
0122 504: e9 00 00 00 00 jmp 509 <__pfx_intel_idle_xstate> 505: R_X86_64_PLT32 __x86_return_thunk-0x4
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (158989 bytes)
Powered by blists - more mailing lists