Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12302907rwl; Tue, 3 Jan 2023 12:09:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXtoCOeskd6/fZW3lc7ysVN4qhg9izOzPTCxZ+CdEuB4kXGgFXTaeHJ2UCwXoLjMB/COxIE/ X-Received: by 2002:a17:907:c717:b0:7c1:ad6:638a with SMTP id ty23-20020a170907c71700b007c10ad6638amr41961876ejc.17.1672776543744; Tue, 03 Jan 2023 12:09:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672776543; cv=none; d=google.com; s=arc-20160816; b=XfUZDs4TTQtwOhLHnIeKUSNYD4AFsr6xxd8SjtXvA9CYwfN6I/B0R2VX737wDw77o1 194KrEWGpMa3/LZ0IB1wNsB2Y0Trbpxnzk5p1wUSmciPyK05kZ0JShvFSmjM7g+IwhYz ncqsj40cdqNwy1q4jUYzA0Kb/u01w/e2IodlmVUturW8Bz5i5xXZkoxIKfYh74xXTxU+ 9MPI9BVuU17c5b6RjqhYxOMhZQ9hfJFntqoAc5c1nTGAIf3xTEsHmLZdXddSqgYXk8vs DUVTnpukwcdl7zrmrJjjHEjZdjaLSyUBlE2OMl+rIzbR1h1VQlZsg4S5BtKOVIebpYCo E3Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=74AI/ynE6YGffYmhdsZlb/SD/hZgGQK0DkgHQIeRABg=; b=AZIoRI2mn/J8t1WDi6kHx+hw07w85ekuvpC9DNNHD2KfZbrgu8F25UdwhSt0GXSayB 4eyvpTde2g3wSWA2gsDveEJjiqPq7DsTVtQ1PdHR7isrZ5sGfF6DMTp0xxpVg8S9lQEJ STn8RvY7VM53Op+mqsJxLt/p4vFxuXNZVA5SQXrEA7GQ1kRbM0b+KeqIcN9veWVF0ea7 vPWB9ZORN5L+SwP89uBrgm2HIDAfixpIy2v1wlsmRi1ztwx0Kvim1SB8+Me77o3+LlmU wzRWfNx2mSj6tpm5APiTAesKJkh2ZtfMi21IdgyXMYPWeWsIreSz5sllfCyeEDSN9fzG 033w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="N5l2QpQ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ev11-20020a056402540b00b0048ef8cd7fe6si89052edb.185.2023.01.03.12.08.49; Tue, 03 Jan 2023 12:09:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="N5l2QpQ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238677AbjACTEI (ORCPT + 59 others); Tue, 3 Jan 2023 14:04:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238784AbjACTEA (ORCPT ); Tue, 3 Jan 2023 14:04:00 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85E4D12AFA; Tue, 3 Jan 2023 11:03:59 -0800 (PST) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 303IFEO6025375; Tue, 3 Jan 2023 19:03:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=74AI/ynE6YGffYmhdsZlb/SD/hZgGQK0DkgHQIeRABg=; b=N5l2QpQ/9eoFRqHaA+tkkCy93Rr1o01/gVuBQf0JpEiNthVmeFeprGWfzXu8ZlpeQYnT KMa7Fc+TnpI4I7fA8LZiZrA+/txAJZYEBJrH6OUd7maJcmg1fQuGhLD/D8zdmSUIhoUF wKFeagOSGI/VhH6SePmwfg2s9cR3BW73VflAjTNpRSGmRwuxdDnnxRVDsEvILpso43ZX WVaotSbERrf02aXCOCIwPHp1Pimu7Pfi3WW30y/vGRdM5rHERoNQUusZKu0meQwOufUS mbmtiqykSxod8oLWI/Wv6m4MOpazHcOcwRWHmxPukXk3PE067L4mrT+61Ne7uABUjWvH /w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mvjvf3am4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 19:03:29 +0000 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 303IYupC003388; Tue, 3 Jan 2023 19:03:29 GMT Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mvjvf3ak4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 19:03:29 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 303AGuqM017352; Tue, 3 Jan 2023 19:03:27 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma02fra.de.ibm.com (PPS) with ESMTPS id 3mtcq6u3bm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jan 2023 19:03:27 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 303J3O6b42467742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 3 Jan 2023 19:03:24 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C60B420043; Tue, 3 Jan 2023 19:03:24 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 32C0220040; Tue, 3 Jan 2023 19:03:24 +0000 (GMT) Received: from osiris (unknown [9.171.65.115]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTPS; Tue, 3 Jan 2023 19:03:24 +0000 (GMT) Date: Tue, 3 Jan 2023 20:03:20 +0100 From: Heiko Carstens To: Sven Schnelle Cc: Willy Tarreau , "Paul E . McKenney" , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [PATCH v3 3/5] selftests/nolibc: add s390 support Message-ID: References: <20230103071957.222360-1-svens@linux.ibm.com> <20230103071957.222360-4-svens@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230103071957.222360-4-svens@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Rh_xE76xdcJyWjlZIFvAR_MVLEmgDkYo X-Proofpoint-GUID: LBFaDc2BbovnaaxdhXWgjphnmmBK7p7p X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-03_07,2023-01-03_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=788 adultscore=0 impostorscore=0 mlxscore=0 phishscore=0 malwarescore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301030163 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 03, 2023 at 08:19:55AM +0100, Sven Schnelle wrote: > Signed-off-by: Sven Schnelle > Acked-by: Heiko Carstens > --- > tools/testing/selftests/nolibc/Makefile | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) ... > -CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables > +CFLAGS_s390 = -m64 > +CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables $(CFLAGS_$(ARCH)) Since this adds support for architecture specific compile flags, you might as well want to add -march=z10, since that's the minimum architecture level for the kernel we support anyway. That way you won't end up with problems like the lay instruction, and could also use cghsi for zero comparison. Not that I'm proposing that you should change the asm code again, it is fine as it is now.