Re: [PATCH v2 0/4] x86: stack alignment for boot code and clang

From: Masahiro Yamada
Date: Tue Jun 13 2017 - 21:30:30 EST


2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke <mka@xxxxxxxxxxxx>:
> 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