public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:stable/linux-stable-rc/queue/5.15 146/150] kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
@ 2022-05-12  2:00 kernel test robot
  2022-05-12  8:17 ` Peter Zijlstra
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2022-05-12  2:00 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Sasha Levin,
	Borislav Petkov

tree:   https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.15
head:   305e905f70311e1b49cc730931a19c3e364f4d8c
commit: 45dc9d706619a6814e4063d5431483f94badb5a1 [146/150] x86: Add straight-line-speculation mitigation
config: x86_64-randconfig-m001-20220509 (https://download.01.org/0day-ci/archive/20220512/[email protected]/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://github.com/ammarfaizi2/linux-block/commit/45dc9d706619a6814e4063d5431483f94badb5a1
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/5.15
        git checkout 45dc9d706619a6814e4063d5431483f94badb5a1
        # 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 as appropriate
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

>> kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
--
>> mm/madvise.o: warning: objtool: madvise_behavior()+0x69: unreachable instruction
--
>> kernel/bpf/btf.o: warning: objtool: __btf_resolve_size()+0x72: unreachable instruction

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ammarfaizi2-block:stable/linux-stable-rc/queue/5.15 146/150] kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
  2022-05-12  2:00 [ammarfaizi2-block:stable/linux-stable-rc/queue/5.15 146/150] kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction kernel test robot
@ 2022-05-12  8:17 ` Peter Zijlstra
  2022-05-12  9:30   ` [kbuild-all] " Chen, Rong A
  2022-05-12 17:11   ` Josh Poimboeuf
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Zijlstra @ 2022-05-12  8:17 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Sasha Levin,
	Borislav Petkov

On Thu, May 12, 2022 at 10:00:33AM +0800, kernel test robot wrote:
> tree:   https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.15
> head:   305e905f70311e1b49cc730931a19c3e364f4d8c
> commit: 45dc9d706619a6814e4063d5431483f94badb5a1 [146/150] x86: Add straight-line-speculation mitigation
> config: x86_64-randconfig-m001-20220509 (https://download.01.org/0day-ci/archive/20220512/[email protected]/config)
> compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
> reproduce (this is a W=1 build):
>         # https://github.com/ammarfaizi2/linux-block/commit/45dc9d706619a6814e4063d5431483f94badb5a1
>         git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
>         git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/5.15
>         git checkout 45dc9d706619a6814e4063d5431483f94badb5a1
>         # 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 as appropriate
> Reported-by: kernel test robot <[email protected]>
> 
> All warnings (new ones prefixed by >>):
> 
> >> kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
> --
> >> mm/madvise.o: warning: objtool: madvise_behavior()+0x69: unreachable instruction
> --
> >> kernel/bpf/btf.o: warning: objtool: __btf_resolve_size()+0x72: unreachable instruction

Would it be possible for the robot to include the output of this script:

  https://lkml.kernel.org/r/3eb3f091fd6bd9caba50392ceab98ce756804f3b.1650578171.git.jpoimboe@redhat.com

for each objtool warning it gives (as run on vmlinux.o):

  $ ./scripts/objdump-func build-output/vmlinux.o futex_atomic_op_inuser
  $ ./scripts/objdump-func build-output/vmlinux.o madvise_behavior
  $ ./scripts/objdump-func build-output/vmlinux.o __btf_resolve_size

etc.. that would make it easier to see what the problem is without
having to reproduce the build.

A super wild guess; but try this commit:

  1ffbe4e935f9 ("objtool: Default ignore INT3 for unreachable")



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [kbuild-all] Re: [ammarfaizi2-block:stable/linux-stable-rc/queue/5.15 146/150] kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
  2022-05-12  8:17 ` Peter Zijlstra
@ 2022-05-12  9:30   ` Chen, Rong A
  2022-05-12 17:11   ` Josh Poimboeuf
  1 sibling, 0 replies; 4+ messages in thread
From: Chen, Rong A @ 2022-05-12  9:30 UTC (permalink / raw)
  To: Peter Zijlstra, kernel test robot
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Sasha Levin,
	Borislav Petkov



On 5/12/2022 4:17 PM, Peter Zijlstra wrote:
> On Thu, May 12, 2022 at 10:00:33AM +0800, kernel test robot wrote:
>> tree:   https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.15
>> head:   305e905f70311e1b49cc730931a19c3e364f4d8c
>> commit: 45dc9d706619a6814e4063d5431483f94badb5a1 [146/150] x86: Add straight-line-speculation mitigation
>> config: x86_64-randconfig-m001-20220509 (https://download.01.org/0day-ci/archive/20220512/[email protected]/config)
>> compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
>> reproduce (this is a W=1 build):
>>          # https://github.com/ammarfaizi2/linux-block/commit/45dc9d706619a6814e4063d5431483f94badb5a1
>>          git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
>>          git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/5.15
>>          git checkout 45dc9d706619a6814e4063d5431483f94badb5a1
>>          # 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 as appropriate
>> Reported-by: kernel test robot <[email protected]>
>>
>> All warnings (new ones prefixed by >>):
>>
>>>> kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
>> --
>>>> mm/madvise.o: warning: objtool: madvise_behavior()+0x69: unreachable instruction
>> --
>>>> kernel/bpf/btf.o: warning: objtool: __btf_resolve_size()+0x72: unreachable instruction
> 
> Would it be possible for the robot to include the output of this script:

Hi Peter,

Thanks for your advice, we'll support it asap.

Best Regards,
Rong Chen

> 
>    https://lkml.kernel.org/r/3eb3f091fd6bd9caba50392ceab98ce756804f3b.1650578171.git.jpoimboe@redhat.com
> 
> for each objtool warning it gives (as run on vmlinux.o):
> 
>    $ ./scripts/objdump-func build-output/vmlinux.o futex_atomic_op_inuser
>    $ ./scripts/objdump-func build-output/vmlinux.o madvise_behavior
>    $ ./scripts/objdump-func build-output/vmlinux.o __btf_resolve_size
> 
> etc.. that would make it easier to see what the problem is without
> having to reproduce the build.
> 
> A super wild guess; but try this commit:
> 
>    1ffbe4e935f9 ("objtool: Default ignore INT3 for unreachable")
> 
> _______________________________________________
> kbuild-all mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ammarfaizi2-block:stable/linux-stable-rc/queue/5.15 146/150] kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
  2022-05-12  8:17 ` Peter Zijlstra
  2022-05-12  9:30   ` [kbuild-all] " Chen, Rong A
@ 2022-05-12 17:11   ` Josh Poimboeuf
  1 sibling, 0 replies; 4+ messages in thread
From: Josh Poimboeuf @ 2022-05-12 17:11 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: kernel test robot, kbuild-all, GNU/Weeb Mailing List,
	linux-kernel, Sasha Levin, Borislav Petkov

On Thu, May 12, 2022 at 10:17:09AM +0200, Peter Zijlstra wrote:
> On Thu, May 12, 2022 at 10:00:33AM +0800, kernel test robot wrote:
> > tree:   https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.15
> > head:   305e905f70311e1b49cc730931a19c3e364f4d8c
> > commit: 45dc9d706619a6814e4063d5431483f94badb5a1 [146/150] x86: Add straight-line-speculation mitigation
> > config: x86_64-randconfig-m001-20220509 (https://download.01.org/0day-ci/archive/20220512/[email protected]/config)
> > compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
> > reproduce (this is a W=1 build):
> >         # https://github.com/ammarfaizi2/linux-block/commit/45dc9d706619a6814e4063d5431483f94badb5a1
> >         git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
> >         git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/5.15
> >         git checkout 45dc9d706619a6814e4063d5431483f94badb5a1
> >         # 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 as appropriate
> > Reported-by: kernel test robot <[email protected]>
> > 
> > All warnings (new ones prefixed by >>):
> > 
> > >> kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction
> > --
> > >> mm/madvise.o: warning: objtool: madvise_behavior()+0x69: unreachable instruction
> > --
> > >> kernel/bpf/btf.o: warning: objtool: __btf_resolve_size()+0x72: unreachable instruction
> 
> Would it be possible for the robot to include the output of this script:
> 
>   https://lkml.kernel.org/r/3eb3f091fd6bd9caba50392ceab98ce756804f3b.1650578171.git.jpoimboe@redhat.com

Ha, I already forgot about that script.  I'll drop it into my
objtool/core branch (eventually for tip) unless anybody objects.

-- 
Josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-12 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-12  2:00 [ammarfaizi2-block:stable/linux-stable-rc/queue/5.15 146/150] kernel/futex.o: warning: objtool: futex_atomic_op_inuser()+0xb8: unreachable instruction kernel test robot
2022-05-12  8:17 ` Peter Zijlstra
2022-05-12  9:30   ` [kbuild-all] " Chen, Rong A
2022-05-12 17:11   ` Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox