From patchwork Fri Dec 9 14:19:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Schnelle X-Patchwork-Id: 31777 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp806099wrr; Fri, 9 Dec 2022 06:24:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf62XFwLqPvaz+UwV4LhKARoYXfod7BcVDe7vAllnPcUehrNamFsNgrnNP2P6Lt+l+xcM90y X-Received: by 2002:a17:906:144f:b0:7c1:28a9:c277 with SMTP id q15-20020a170906144f00b007c128a9c277mr5221606ejc.6.1670595876291; Fri, 09 Dec 2022 06:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670595876; cv=none; d=google.com; s=arc-20160816; b=ghqRXfZErYHKfybXgBF6AOTrezJV3X2+3qxXe6cbXT4VaWP1L5z5sN6bM1dxvRk1nm 60aFnIiPIthdf27hfhQI0AkannqXTT6//yCIuBLPpF6WyVVM8oCrdqy8txcwIwakOcot r7Du3F24W2qpBx5jvkmJaDcPf+PXBNRTdpXuAavlMZ6Pm3YuAoEAa4oEUDEOW1rvC+V4 3tLgPaUVmSzUGh1JWDw+jPtwqrA/GgXgr323tUdCDekgcHCUCGdytltwbVJZXEJTqzQF gabXKNFDdpw70KENIkkieauY8iXHARjJYVBSXYo2It/B7F4ATwUYs2KJ09ABxbb2CRV6 pyQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BIIiIarhrMjfZ53epwzctaykif7mltHYkilT75A5OPY=; b=X+GE+jv0KahKNKbILwtDuHIxeq0qRl8eXPKd6GphmNwWAS5mwsy53nssJomaoY5kFD NQWQ5296TZgbXL6hjUYQLD2+AKFG3bM0ajkYWHWu8WAL43BN9mAzGKgMBbSOHfBA3ZFN h/lcV9o7SKBNNM2PUpmHraqR5GhaR+wz+SN6v0GvMPUDmDzxu1lGero4hroAATLoFdTU O+UmZrb8jeNbAZ9P4vlChYSNHW8KH4CIJagsG3VKdc+eG+wPY7nJFq2pXpZnlGdoSGrW wut7rpHEY0U0ptMyMws63PJ2IZOtxyRL/yuNCL8N329ySHUFZ/PLsYaf0LGOusSTuj2U OxzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Li/HoyK/"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he10-20020a1709073d8a00b0078a3ef9f092si1393313ejc.998.2022.12.09.06.23.58; Fri, 09 Dec 2022 06:24:36 -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="Li/HoyK/"; 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 S230166AbiLIOVM (ORCPT + 99 others); Fri, 9 Dec 2022 09:21:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbiLIOUe (ORCPT ); Fri, 9 Dec 2022 09:20:34 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 773FF6274 for ; Fri, 9 Dec 2022 06:20:28 -0800 (PST) Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B9DdSLD003705; Fri, 9 Dec 2022 14:20:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=BIIiIarhrMjfZ53epwzctaykif7mltHYkilT75A5OPY=; b=Li/HoyK/JLvLLAhtavsDzOtlrr2MZqLRAiM2ORUMNZc2egwH0dk9rhSvv+i94vWDTCXW 4zzpvBAl3C2UNZHQNn/xtLJmjR/9Px4NfJzdJXdb11ytwWG3JobenutWUsHXCJ4ZnWhM yPnnF3NuaCJynvqgzeKamGf/ZyCXgjQhVJ8fV/XXj7btLImLZ+WUX/f+xAtC+kE4wzC4 k9u8dBTFZRNR7StVX4cb6/nG+iwrYlqZgsxBxnbC0Yse8HhqxtMDrfI2HvfN+D6jiEUv sBB7RyFnsY5L470caJ6hmBbF37Gzap4C81QdnhIvevPRLHLFkDwwAwtUgskkcGIR/OJC CA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mbxakkw48-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Dec 2022 14:19:59 +0000 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 2B9EBeFq029267; Fri, 9 Dec 2022 14:19:58 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mbxakkw3k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Dec 2022 14:19:58 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 2B99Ii9R022504; Fri, 9 Dec 2022 14:19:56 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3m9kur4eq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Dec 2022 14:19:56 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2B9EJrKU45482412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 9 Dec 2022 14:19:53 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B0A192004B; Fri, 9 Dec 2022 14:19:53 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9FA622004E; Fri, 9 Dec 2022 14:19:53 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTPS; Fri, 9 Dec 2022 14:19:53 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id 2B29EE0732; Fri, 9 Dec 2022 15:19:53 +0100 (CET) From: Sven Schnelle To: Willy Tarreau , "Paul E . McKenney" , Josh Triplett Cc: Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: [PATCH 5/5] rcutorture: build initrd for rcutorture with nolibc Date: Fri, 9 Dec 2022 15:19:39 +0100 Message-Id: <20221209141939.3634586-6-svens@linux.ibm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221209141939.3634586-1-svens@linux.ibm.com> References: <20221209141939.3634586-1-svens@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Dx3uCqbfEn9HPhla7508HsCkyytWbnGE X-Proofpoint-ORIG-GUID: npxYvDsgI4Y4SwcBGnM_2_uEo9Jsq2oL 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=2022-12-09_07,2022-12-08_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 mlxlogscore=999 impostorscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212090108 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751746741419546735?= X-GMAIL-MSGID: =?utf-8?q?1751746741419546735?= This reduces the size of init from ~600KB to ~1KB. Signed-off-by: Sven Schnelle Acked-by: Heiko Carstens --- tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh index 70d62fd0d31d..71f0dfbb2a6d 100755 --- a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh +++ b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh @@ -64,7 +64,7 @@ ___EOF___ # build using nolibc on supported archs (smaller executable) and fall # back to regular glibc on other ones. if echo -e "#if __x86_64__||__i386__||__i486__||__i586__||__i686__" \ - "||__ARM_EABI__||__aarch64__\nyes\n#endif" \ + "||__ARM_EABI__||__aarch64__||__s390x__\nyes\n#endif" \ | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \ | grep -q '^yes'; then # architecture supported by nolibc