[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170613230854.112282-1-mka@chromium.org>
Date: Tue, 13 Jun 2017 16:08:50 -0700
From: Matthias Kaehlcke <mka@...omium.org>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H . Peter Anvin" <hpa@...or.com>,
"H . J . Lu" <hjl.tools@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <mmarek@...e.com>
Cc: x86@...nel.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, Michael Davidson <md@...gle.com>,
Greg Hackmann <ghackmann@...gle.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Stephen Hines <srhines@...gle.com>,
Kees Cook <keescook@...omium.org>,
Arnd Bergmann <arnd@...db.de>,
Bernhard.Rosenkranzer@...aro.org,
Peter Foley <pefoley2@...oley.com>,
Behan Webster <behanw@...verseincode.com>,
Douglas Anderson <dianders@...omium.org>,
Matthias Kaehlcke <mka@...omium.org>
Subject: [PATCH v2 0/4] x86: stack alignment for boot code and clang
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(-)
--
2.13.1.518.g3df882009-goog
Powered by blists - more mailing lists