All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:x86/pti 14/14] arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction
@ 2018-05-14 13:44 kbuild test robot
  2018-05-14 22:08 ` Alexey Dobriyan
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-05-14 13:44 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: kbuild-all, linux-kernel, tipbuild, Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti
head:   51bad67ffbce0aaa44579f84ef5d05597054ec6a
commit: 51bad67ffbce0aaa44579f84ef5d05597054ec6a [14/14] x86/asm: Pad assembly functions with INT3 instructions
config: x86_64-randconfig-x018-201819 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 51bad67ffbce0aaa44579f84ef5d05597054ec6a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction
--
>> arch/x86/xen/xen-asm.o: warning: objtool: .text+0x1a: unreachable instruction

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23589 bytes --]

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

* Re: [tip:x86/pti 14/14] arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction
  2018-05-14 13:44 [tip:x86/pti 14/14] arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction kbuild test robot
@ 2018-05-14 22:08 ` Alexey Dobriyan
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Dobriyan @ 2018-05-14 22:08 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, tipbuild, Ingo Molnar

On Mon, May 14, 2018 at 09:44:48PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti
> head:   51bad67ffbce0aaa44579f84ef5d05597054ec6a
> commit: 51bad67ffbce0aaa44579f84ef5d05597054ec6a [14/14] x86/asm: Pad assembly functions with INT3 instructions
> config: x86_64-randconfig-x018-201819 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
> reproduce:
>         git checkout 51bad67ffbce0aaa44579f84ef5d05597054ec6a
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All warnings (new ones prefixed by >>):
> 
> >> arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction
> >> arch/x86/xen/xen-asm.o: warning: objtool: .text+0x1a: unreachable instruction

There are warnings:

	arch/x86/lib/clear_page_64.o: warning: objtool: .text+0xb: unreachable instruction

	0000000000000000 <clear_page_rep>:
	   0:   b9 00 02 00 00          mov    ecx,0x200
	   5:   31 c0                   xor    eax,eax
	   7:   f3 48 ab                rep stos QWORD PTR es:[rdi],rax
	   a:   c3                      ret
  ===>	   b:   cc                      int3
	   c:   cc                      int3
	   d:   cc                      int3
	   e:   cc                      int3
	   f:   cc                      int3
	
	0000000000000010 <clear_page_orig>:

But both function are annotated with ENTRY/ENDPROC.

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

end of thread, other threads:[~2018-05-14 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 13:44 [tip:x86/pti 14/14] arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction kbuild test robot
2018-05-14 22:08 ` Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.