Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736172 > unrolled thread
| Started by | Josh Poimboeuf <jpoimboe@redhat.com> |
|---|---|
| First post | 2017-09-20 23:30 +0200 |
| Last post | 2017-09-23 15:10 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v2 0/2] x86: Fix inline asm call constraints for clang Josh Poimboeuf <jpoimboe@redhat.com> - 2017-09-20 23:30 +0200
Re: [PATCH v2 0/2] x86: Fix inline asm call constraints for clang Ingo Molnar <mingo@kernel.org> - 2017-09-23 13:00 +0200
Re: [PATCH v2 0/2] x86: Fix inline asm call constraints for clang Josh Poimboeuf <jpoimboe@redhat.com> - 2017-09-23 14:20 +0200
Re: [PATCH v2 0/2] x86: Fix inline asm call constraints for clang Ingo Molnar <mingo@kernel.org> - 2017-09-23 15:10 +0200
| From | Josh Poimboeuf <jpoimboe@redhat.com> |
|---|---|
| Date | 2017-09-20 23:30 +0200 |
| Subject | [PATCH v2 0/2] x86: Fix inline asm call constraints for clang |
| Message-ID | <urUJc-8w7-21@gated-at.bofh.it> |
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 | 11 ++++++ arch/x86/include/asm/mshyperv.h | 10 +++--- 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 | 4 +-- arch/x86/include/asm/uaccess.h | 4 +-- arch/x86/include/asm/xen/hypercall.h | 5 ++- arch/x86/kvm/emulate.c | 3 +- arch/x86/kvm/vmx.c | 3 +- arch/x86/mm/fault.c | 3 +- tools/objtool/Documentation/stack-validation.txt | 6 ++-- tools/objtool/arch/x86/decode.c | 6 ++-- tools/objtool/check.c | 43 ++++++++++++++++-------- 15 files changed, 74 insertions(+), 62 deletions(-) -- 2.13.5
[toc] | [next] | [standalone]
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2017-09-23 13:00 +0200 |
| Message-ID | <usQka-22V-13@gated-at.bofh.it> |
| In reply to | #1736172 |
* Josh Poimboeuf <jpoimboe@redhat.com> wrote: > 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 Have these patches been boot tested with clang? Thanks, Ingo
[toc] | [prev] | [next] | [standalone]
| From | Josh Poimboeuf <jpoimboe@redhat.com> |
|---|---|
| Date | 2017-09-23 14:20 +0200 |
| Message-ID | <usRzz-2Xb-9@gated-at.bofh.it> |
| In reply to | #1737989 |
On Sat, Sep 23, 2017 at 12:53:18PM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf <jpoimboe@redhat.com> wrote: > > > 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 > > Have these patches been boot tested with clang? Yes, I built and boot them using the directions at: https://github.com/ramosian-glider/clang-kernel-build -- Josh
[toc] | [prev] | [next] | [standalone]
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2017-09-23 15:10 +0200 |
| Message-ID | <usSlX-3wU-11@gated-at.bofh.it> |
| In reply to | #1737996 |
* Josh Poimboeuf <jpoimboe@redhat.com> wrote: > On Sat, Sep 23, 2017 at 12:53:18PM +0200, Ingo Molnar wrote: > > > > * Josh Poimboeuf <jpoimboe@redhat.com> wrote: > > > > > 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 > > > > Have these patches been boot tested with clang? > > Yes, I built and boot them using the directions at: > > https://github.com/ramosian-glider/clang-kernel-build Great - I'll queue up these fixes in tip:x86/urgent. Thanks, Ingo
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web