Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4799638rdb; Tue, 12 Dec 2023 09:34:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsSvo5EOGfeN+s9K157T0dvPeEJhxxo4M1sS0+I66uJ4+rnIzQRCUKXZaUt2jl06U5GlfA X-Received: by 2002:a17:902:ce8a:b0:1d0:9162:75fb with SMTP id f10-20020a170902ce8a00b001d0916275fbmr6510049plg.0.1702402490679; Tue, 12 Dec 2023 09:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702402490; cv=none; d=google.com; s=arc-20160816; b=SzYcPIPjqAT5IUo2ydfl7YrHVOQ1Z8QEG9IbFw9GfsWVQaaxJWtbSzeagi/rxAIfSE I1FgnOLbB1Aj4y2QCvPGr9Rvl5W79PFiiivaljJcIwLaBm5tn8lzIBN33Mz2G2bnizBi uW7M4qfZSgHe7JxAh2sRyFfA/DQ8fJExV6VzlU8syyqZJkh4In8vgoinAOAU00nuS2Vr ZXuHN8kdvz4hzXVaoPiBomgjBV8HqQko+A8+r/KD4IAxmSlVC9HqadqjrSXAsvIa7y/0 /IPq1Hw0Bk3tUycS+JIEWgHM8pMspbO3Ag/ShFy9KBZTB4JUze9j5F016pqV6/CBKvRs dgFg== 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=U7WPnTXwcd9ZzcvpmJ6cfpBxVRJlaEYkuDj4m5TKSZY=; fh=/X9g01iMktCugQX/3SP6s5KEeARXa7oVCKzSrNVaagE=; b=RcKKBBgNFTRtctb46kVxByhdwsbBwlKMow88YsQtDUbRJF5uSWAcUv3C8lAWss35SA eml/JCpyYvgsfV+tdweWo8arOlNdAsdnpQ+I/cLE94RKx9qqeFW/H3jhM0lRSohDdQIu sJ4uhZ5qb8tsVg58EY9DPd+ngBhzJhDW9ZAfDHWUcp6JWA5xRt9xuCjIPIqFrtSNgfuc AzgdMxaii87OE3eKOz4lLvDTPpJZeC77aZpg/ybGkRzvwDsZoCsjk5kQzFhfG0MY7783 Yw/GNDWlqZvc1C46ixiAbNpL1i1l8kga40bd2I8JHjWoIPOUhrycjbQYm21kSEFqVGQa /Zrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A8NqHMCk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h24-20020a170902ac9800b001cfd183c4f1si7892420plr.547.2023.12.12.09.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:34:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A8NqHMCk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D7B2180A5676; Tue, 12 Dec 2023 09:34:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229963AbjLLRe2 (ORCPT + 99 others); Tue, 12 Dec 2023 12:34:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235084AbjLLRe0 (ORCPT ); Tue, 12 Dec 2023 12:34:26 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9081BE3; Tue, 12 Dec 2023 09:34:32 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso4851481a12.3; Tue, 12 Dec 2023 09:34:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702402471; x=1703007271; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U7WPnTXwcd9ZzcvpmJ6cfpBxVRJlaEYkuDj4m5TKSZY=; b=A8NqHMCkM+oLrxx1u2ACtPDJ1Mlo3p6cF24tlvsX83FHvgbRnSuNaLW0L9TyAlW0ii JhzbVrSrxzqs2Pg+HPlm6okgifwT6421Kx0V74FKZWFUINqxO1LVk69R5aXMZyZowZC1 LvF26omnNoZb/m2hB+BSuuNRdhNxUG7ewgwk7MUEYBGrRmW9AdeYyuo/LLnzVzAGwydK emVCIOPIcxP89vqNDMlcD9P/tLXxF6sWSAY18oY1V7sp1zuNKT2JRjnr+qeaX3FLOoQH Bpi4GF3u/FNM3QTpvSyFrioqShY3KqzyOdMJyPpc+P605/fvxOa65oSxSEVRqRgR3QBA 2iiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702402471; x=1703007271; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U7WPnTXwcd9ZzcvpmJ6cfpBxVRJlaEYkuDj4m5TKSZY=; b=mxYsWHvBLwP5HLePVIaoMm6xCJ/T2sWVXMeff8w6ECJ9reFnT/MFtB9XjA6JJV+8Yx ig4fdKxuuDy6BFNODt31K/Uc7CvR0rlepv32lI8V7i9o/W4hlqi+aGzGyEbxZNNZRG9N JMIOyxOb0ec9JoafTHxLggZ7FHaVA048LIuB3Yaf/o/K5j6Qvzlb3QwrgLWCxM0coCWc uKUUEwiJq6wOGRJcYj7Ii1heUUfEMgMTcSlyfHgyrXbFc/dCeFEZ/ZPd8yncNUzDY+R3 b0wO0nNep1EYAz8stOEmW7sC3fbnLnOd3z5taOfOoZmxD5y09AuwqRBqdCFax/6F1tzn 7vEA== X-Gm-Message-State: AOJu0YyoURuxhHE259YivMCAEW4qv+4Hb89W6XOXOEqenCGvsPNuJNti NT8NsBPMT1iWMhW9+2tWjXlxGD35/w3gUFre X-Received: by 2002:a17:90b:11c8:b0:286:6cc0:cabb with SMTP id gv8-20020a17090b11c800b002866cc0cabbmr5231012pjb.50.1702402471068; Tue, 12 Dec 2023 09:34:31 -0800 (PST) Received: from localhost.localdomain ([101.0.63.152]) by smtp.gmail.com with ESMTPSA id nc4-20020a17090b37c400b00285545ac9d2sm9213862pjb.47.2023.12.12.09.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:34:30 -0800 (PST) From: "Neeraj Upadhyay (AMD)" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, paulmck@kernel.org, Neeraj.Upadhyay@amd.com, =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Neeraj Upadhyay Subject: [PATCH rcu 2/4] rcutorture: add nolibc init support for mips, ppc and rv64 Date: Tue, 12 Dec 2023 23:04:12 +0530 Message-Id: <20231212173414.11602-2-neeraj.iitr10@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231212173334.GA11572@neeraj.linux> References: <20231212173334.GA11572@neeraj.linux> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:34:48 -0800 (PST) From: Thomas Weißschuh Use nolibc for all support architectures. Signed-off-by: Thomas Weißschuh Signed-off-by: Paul E. McKenney Signed-off-by: Neeraj Upadhyay (AMD) --- tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh index 212c52ca90b5..f3f867129560 100755 --- a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh +++ b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh @@ -67,7 +67,10 @@ ___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__||__s390x__||__loongarch__\nyes\n#endif" \ + "||__ARM_EABI__||__aarch64__||(__mips__ && _ABIO32)" \ + "||__powerpc__||(__riscv && __riscv_xlen == 64)" \ + "||__s390x__||__loongarch__" \ + "\nyes\n#endif" \ | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \ | grep -q '^yes'; then # architecture supported by nolibc -- 2.40.1