Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752700AbdFMGja (ORCPT ); Tue, 13 Jun 2017 02:39:30 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:36626 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285AbdFMGj2 (ORCPT ); Tue, 13 Jun 2017 02:39:28 -0400 Date: Tue, 13 Jun 2017 08:39:24 +0200 From: Ingo Molnar To: Matthias Kaehlcke Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , "H . J . Lu" , David Woodhouse , Masahiro Yamada , Michal Marek , x86@kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Davidson , Greg Hackmann , Nick Desaulniers , Stephen Hines , Kees Cook , Arnd Bergmann , Bernhard.Rosenkranzer@linaro.org, Peter Foley , Behan Webster , Douglas Anderson Subject: Re: [PATCH 0/3] x86: stack alignment for boot code and clang Message-ID: <20170613063924.j5kmyrkmpsaykfsg@gmail.com> References: <20170613005531.77656-1-mka@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170613005531.77656-1-mka@chromium.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 837 Lines: 25 * Matthias Kaehlcke wrote: > 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) > > Matthias Kaehlcke (3): > kbuild: Add cc-option-no-kbuild macro > x86/build: Use cc-option-no-kbuild for boot code compiler options > x86/build: Specify stack alignment for clang > > arch/x86/Makefile | 25 +++++++++++++++++-------- > scripts/Kbuild.include | 5 +++++ > 2 files changed, 22 insertions(+), 8 deletions(-) Looks good to me, modulo the minor comments I just made to the #3 patch. This needs acks from the kbuild people before I can apply the fixes. Thanks, Ingo