Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754074AbdFNBa0 (ORCPT ); Tue, 13 Jun 2017 21:30:26 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:53714 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753038AbdFNBaZ (ORCPT ); Tue, 13 Jun 2017 21:30:25 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com v5E1U9Ur000849 X-Nifty-SrcIP: [209.85.161.170] MIME-Version: 1.0 In-Reply-To: <20170613230854.112282-1-mka@chromium.org> References: <20170613230854.112282-1-mka@chromium.org> From: Masahiro Yamada Date: Wed, 14 Jun 2017 10:30:08 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] x86: stack alignment for boot code and clang To: Matthias Kaehlcke Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , "H . J . Lu" , David Woodhouse , Michal Marek , X86 ML , Linux Kbuild mailing list , Linux Kernel Mailing List , Michael Davidson , Greg Hackmann , Nick Desaulniers , Stephen Hines , Kees Cook , Arnd Bergmann , =?UTF-8?Q?Bernhard_Rosenkr=C3=A4nzer?= , Peter Foley , Behan Webster , Douglas Anderson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 30 2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : > This series fixes an issue with the stack of the x86 boot code not > being aligned as intended. Further it adapts the Makefile to account > for the fact that clang uses a different option to configure the > stack alignment than gcc (-mstack-alignment=N vs > -mpreferred-stack-boundary=N) > > Collaterally the series adds the new kbuild macros cc-option-raw and > hostcc-option, it also reworks cc-option to make use of cc-option-raw. > > Matthias Kaehlcke (4): > kbuild: Add cc-option-raw macro > kbuild: Add hostcc-option macro > x86/build: Use cc-option-raw for boot code compiler options > x86/build: Specify stack alignment for clang > > Makefile | 2 +- > arch/x86/Makefile | 33 +++++++++++++++++++++++++-------- > scripts/Kbuild.include | 13 +++++++++++-- > 3 files changed, 37 insertions(+), 11 deletions(-) I gave Acked-by to 1/4 and 2/4 so that the whole series can go to x86 tree. Thanks! -- Best Regards Masahiro Yamada