mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] x86: Fix inline asm call constraints for clang
@ 2017-09-19 18:45 Josh Poimboeuf
  2017-09-19 18:45 ` [PATCH 1/2] objtool: Handle another GCC stack pointer adjustment bug Josh Poimboeuf
  2017-09-19 18:45 ` [PATCH 2/2] x86/asm: Fix inline asm call constraints for clang Josh Poimboeuf
  0 siblings, 2 replies; 20+ messages in thread
From: Josh Poimboeuf @ 2017-09-19 18:45 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, Ingo Molnar, Thomas Gleixner, H. Peter Anvin,
	Andy Lutomirski, Linus Torvalds, Alexander Potapenko,
	Dmitriy Vyukov, Matthias Kaehlcke, Arnd Bergmann, Peter Zijlstra,
	Andrey Ryabinin

Patch 1 is a bug fix for an objtool issue which was uncovered by patch 2.

Patch 2 is the last fix needed for clang to be able to compile and boot
the kernel.


Josh Poimboeuf (2):
  objtool: Handle another GCC stack pointer adjustment bug
  x86/asm: Fix inline asm call constraints for clang

 arch/x86/include/asm/alternative.h               |  3 +-
 arch/x86/include/asm/asm.h                       |  9 +++++
 arch/x86/include/asm/mshyperv.h                  | 27 ++++++---------
 arch/x86/include/asm/paravirt_types.h            | 14 ++++----
 arch/x86/include/asm/preempt.h                   | 15 +++------
 arch/x86/include/asm/processor.h                 |  6 ++--
 arch/x86/include/asm/rwsem.h                     |  6 ++--
 arch/x86/include/asm/uaccess.h                   |  5 ++-
 arch/x86/include/asm/xen/hypercall.h             |  5 ++-
 arch/x86/kvm/emulate.c                           |  3 +-
 arch/x86/kvm/vmx.c                               |  4 +--
 arch/x86/mm/fault.c                              |  3 +-
 tools/objtool/Documentation/stack-validation.txt | 20 ++++++++---
 tools/objtool/arch/x86/decode.c                  |  6 ++--
 tools/objtool/check.c                            | 43 ++++++++++++++++--------
 15 files changed, 92 insertions(+), 77 deletions(-)

-- 
2.13.5

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

end of thread, other threads:[~2017-09-21 16:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19 18:45 [PATCH 0/2] x86: Fix inline asm call constraints for clang Josh Poimboeuf
2017-09-19 18:45 ` [PATCH 1/2] objtool: Handle another GCC stack pointer adjustment bug Josh Poimboeuf
2017-09-19 18:45 ` [PATCH 2/2] x86/asm: Fix inline asm call constraints for clang Josh Poimboeuf
2017-09-19 21:55   ` Alexander Potapenko
2017-09-19 22:25     ` Alexander Potapenko
2017-09-20  1:47       ` Josh Poimboeuf
2017-09-20  1:18   ` Josh Poimboeuf
2017-09-20 17:54     ` Josh Poimboeuf
2017-09-20 17:32   ` H. Peter Anvin
2017-09-20 17:38     ` Dmitry Vyukov
2017-09-20 17:46       ` H. Peter Anvin
2017-09-20 18:01         ` Dmitry Vyukov
2017-09-20 21:07           ` Josh Poimboeuf
2017-09-20 21:19             ` Andy Lutomirski
2017-09-21  8:12               ` Dmitry Vyukov
2017-09-21 11:52                 ` Brian Gerst
2017-09-21 12:18                   ` Dmitry Vyukov
2017-09-20 17:51     ` Josh Poimboeuf
2017-09-21 15:35       ` Ingo Molnar
2017-09-21 16:18         ` Josh Poimboeuf

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

Powered by JetHome