lkml.org 
[lkml]   [2022]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[linux-stable-rc:linux-5.4.y 2112/4782] arch/x86/kernel/cpu/mce/core.o: warning: objtool: mce_timed_out()+0x67: unreachable instruction
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head: 8d8935e76f6f419ef2f7617de252f258b6a597d3
commit: bca5aa920274a1609c46a386d743c9d9bf214dcb [2112/4782] x86/mce: Mark mce_panic() noinstr
config: x86_64-randconfig-c022-20220808 (https://download.01.org/0day-ci/archive/20220809/202208090707.H0QqGpZ3-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=bca5aa920274a1609c46a386d743c9d9bf214dcb
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.4.y
git checkout bca5aa920274a1609c46a386d743c9d9bf214dcb
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/cpu/mce/core.o: warning: objtool: mce_timed_out()+0x67: unreachable instruction


objdump-func vmlinux.o mce_timed_out:
0000 0000000000058d40 <mce_timed_out>:
0000 58d40: e8 00 00 00 00 call 58d45 <mce_timed_out+0x5> 58d41: R_X86_64_PLT32 __fentry__-0x4
0005 58d45: 55 push %rbp
0006 58d46: 48 89 e5 mov %rsp,%rbp
0009 58d49: 41 54 push %r12
000b 58d4b: 49 89 f4 mov %rsi,%r12
000e 58d4e: 53 push %rbx
000f 58d4f: 48 89 fb mov %rdi,%rbx
0012 58d52: 0f ae e8 lfence
0015 58d55: 8b 05 00 00 00 00 mov 0x0(%rip),%eax # 58d5b <mce_timed_out+0x1b> 58d57: R_X86_64_PC32 .bss+0x7b38
001b 58d5b: 85 c0 test %eax,%eax
001d 58d5d: 75 43 jne 58da2 <mce_timed_out+0x62>
001f 58d5f: 8b 05 00 00 00 00 mov 0x0(%rip),%eax # 58d65 <mce_timed_out+0x25> 58d61: R_X86_64_PC32 mca_cfg+0x14
0025 58d65: 85 c0 test %eax,%eax
0027 58d67: 74 10 je 58d79 <mce_timed_out+0x39>
0029 58d69: 48 8b 03 mov (%rbx),%rax
002c 58d6c: 48 83 f8 63 cmp $0x63,%rax
0030 58d70: 7e 13 jle 58d85 <mce_timed_out+0x45>
0032 58d72: 48 83 e8 64 sub $0x64,%rax
0036 58d76: 48 89 03 mov %rax,(%rbx)
0039 58d79: e8 00 00 00 00 call 58d7e <mce_timed_out+0x3e> 58d7a: R_X86_64_PLT32 touch_softlockup_watchdog-0x4
003e 58d7e: 31 c0 xor %eax,%eax
0040 58d80: 5b pop %rbx
0041 58d81: 41 5c pop %r12
0043 58d83: 5d pop %rbp
0044 58d84: c3 ret
0045 58d85: 83 3d 00 00 00 00 01 cmpl $0x1,0x0(%rip) # 58d8c <mce_timed_out+0x4c> 58d87: R_X86_64_PC32 mca_cfg+0xf
004c 58d8c: 7e 1b jle 58da9 <mce_timed_out+0x69>
004e 58d8e: c7 05 00 00 00 00 01 00 00 00 movl $0x1,0x0(%rip) # 58d98 <mce_timed_out+0x58> 58d90: R_X86_64_PC32 .bss+0x7bc8
0058 58d98: 5b pop %rbx
0059 58d99: b8 01 00 00 00 mov $0x1,%eax
005e 58d9e: 41 5c pop %r12
0060 58da0: 5d pop %rbp
0061 58da1: c3 ret
0062 58da2: e8 79 fb ff ff call 58920 <wait_for_panic>
0067 58da7: eb b6 jmp 58d5f <mce_timed_out+0x1f>
0069 58da9: 31 d2 xor %edx,%edx
006b 58dab: 31 f6 xor %esi,%esi
006d 58dad: 4c 89 e7 mov %r12,%rdi
0070 58db0: e8 00 00 00 00 call 58db5 <mce_timed_out+0x75> 58db1: R_X86_64_PC32 .noinstr.text-0x4
0075 58db5: eb d7 jmp 58d8e <mce_timed_out+0x4e>
0077 58db7: 66 0f 1f 84 00 00 00 00 00 nopw 0x0(%rax,%rax,1)

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

\
 
 \ /
  Last update: 2022-08-09 01:18    [W:0.034 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site