Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735166

[PATCH 0/2] x86: Fix inline asm call constraints for clang

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] x86: Fix inline asm call constraints for clang
Date 2017-09-19 20:50 +0200
Message-ID <urvKO-xs-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] x86: Fix inline asm call constraints for clang Josh Poimboeuf <jpoimboe@redhat.com> - 2017-09-19 20:50 +0200
  [PATCH 1/2] objtool: Handle another GCC stack pointer adjustment bug Josh Poimboeuf <jpoimboe@redhat.com> - 2017-09-19 20:50 +0200

csiph-web