Re: [PATCH v2 1/4] s390: only build for new CPUs with clang

From: Heiko Carstens
Date: Fri May 03 2019 - 10:26:24 EST


On Mon, Apr 15, 2019 at 10:35:51AM +0200, Arnd Bergmann wrote:
> llvm does does not understand -march=z9-109 and older target
> specifiers, so disable the respective Kconfig settings and
> the logic to make the boot code work on old systems when
> building with clang.
>
> Part of the early boot code is normally compiled with -march=z900
> for maximum compatibility. This also has to get changed with
> clang to the oldest supported ISA, which is -march=z10 here.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> arch/s390/Kconfig | 6 ++++++
> arch/s390/boot/Makefile | 18 ++++++++++++------
> 2 files changed, 18 insertions(+), 6 deletions(-)

Applied, thanks.