Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751580AbdISSph (ORCPT ); Tue, 19 Sep 2017 14:45:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41042 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbdISSpg (ORCPT ); Tue, 19 Sep 2017 14:45:36 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 303847F3F8 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jpoimboe@redhat.com From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andy Lutomirski , Linus Torvalds , Alexander Potapenko , Dmitriy Vyukov , Matthias Kaehlcke , Arnd Bergmann , Peter Zijlstra , Andrey Ryabinin Subject: [PATCH 0/2] x86: Fix inline asm call constraints for clang Date: Tue, 19 Sep 2017 13:45:26 -0500 Message-Id: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 19 Sep 2017 18:45:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1298 Lines: 29 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