Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp606691yba; Fri, 3 May 2019 07:36:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbntxs7cgJUSfHcg6iCDeS8yj18NTADJN/LCRwjKoF8l82HW+0WX4Vf8mZiK0Ex6Nw9/fs X-Received: by 2002:a63:7982:: with SMTP id u124mr10529961pgc.352.1556894204811; Fri, 03 May 2019 07:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556894204; cv=none; d=google.com; s=arc-20160816; b=RtrwSr7mnSyOMUi/nV9u+lRPSpiZZtGHavoDkhBwWElc0t8X5zgvEjJV32zO24XH6o RfmYTlJtXbepGkCbHD//bJ4MVcpVrm3zoGbYW/cIqQwhnvqF0Th/fPfuoZnJ7M5jTpQi b4BsapcL6V90dy0db0vlEBiyD4HP9o9Eo9YEvXD945MHBE99uSbmwYTaMP/sPlmz8V6+ yQXslgdgHYPq1miMm5pMFco3Q+oPahhJfNWZYERpSfSuXA1LO7dbRR/7fVBeewBk7WpP Q9huKHdPukJqWh7TQ3DG8XBzrlY0QyPeNVc6JM4Fodp3GDVHEvr8tjPRdyH4SNT1zuf/ hx+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=YK/Sk7L+GkwBKKIdozm32i8AB3+r2SDeQGhEtVG6SaE=; b=oRTmzNRNnLWbgHxWpSLDgXMNNd2LYjWrq5uXLD0phVbcCqKC9Udde1xvOcnCgKURjx lVDqrhJ29FY9RBoFF/Nm+pRHdjbRb5gXlpFlbwZIM/q1Eh1uVar4eKR9gdzR1cMjbwFE huBNvhJONCjPlj2h8srTUhMjomcBNV1nh/5XovHiHukllI1+At5TIb3vpIayb/rfWuwV YpHxnLvram4ST/BHhrL6BxSdCOBjbRwex8QAzUPn3WWsilHBZ4Mb+O3W85q2w11PTM1L g/PcMkKfgYD0+sAw5d8F22UOzD1XLlRhg/4wAAftxdNtRyfdSc4ML8hYvfNgctCPhWyO OPTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s36si2706748pld.439.2019.05.03.07.36.29; Fri, 03 May 2019 07:36:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbfECOZz (ORCPT + 99 others); Fri, 3 May 2019 10:25:55 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60516 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727617AbfECOZz (ORCPT ); Fri, 3 May 2019 10:25:55 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x43EMba8052924 for ; Fri, 3 May 2019 10:25:54 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2s8nr74x19-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 03 May 2019 10:25:53 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 May 2019 15:25:52 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 3 May 2019 15:25:48 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x43EPlOZ31850646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 May 2019 14:25:47 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E9FFC52067; Fri, 3 May 2019 14:25:46 +0000 (GMT) Received: from osiris (unknown [9.152.212.21]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 7888F5204F; Fri, 3 May 2019 14:25:46 +0000 (GMT) Date: Fri, 3 May 2019 16:25:45 +0200 From: Heiko Carstens To: Arnd Bergmann Cc: Martin Schwidefsky , clang-built-linux@googlegroups.com, Nick Desaulniers , Nathan Chancellor , linux-s390@vger.kernel.org, Masahiro Yamada , Vasily Gorbik , Philipp Rudo , Tony Krowiak , Ursula Braun , Rob Herring , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] s390: only build for new CPUs with clang References: <20190415083605.2560074-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190415083605.2560074-1-arnd@arndb.de> X-TM-AS-GCONF: 00 x-cbid: 19050314-0012-0000-0000-00000317F5CA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19050314-0013-0000-0000-0000215068FC Message-Id: <20190503142545.GC5602@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-03_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=760 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905030091 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > arch/s390/Kconfig | 6 ++++++ > arch/s390/boot/Makefile | 18 ++++++++++++------ > 2 files changed, 18 insertions(+), 6 deletions(-) Applied, thanks.