Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2179778rdg; Sun, 15 Oct 2023 15:26:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhJ+kJLn4QtXYoFCfhwnXKKfQATHMfcznUcoF93hc7ct+D007sUYQwv0kWchBNguu4cf4Y X-Received: by 2002:a05:6a00:2d87:b0:6be:308:e61b with SMTP id fb7-20020a056a002d8700b006be0308e61bmr1019740pfb.10.1697408760626; Sun, 15 Oct 2023 15:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697408760; cv=none; d=google.com; s=arc-20160816; b=Ps4R2uIk1LryAY0aTciEf+kX8aEaDIUyG9A+wRxEjc9qPY+HYPY/6DzKStEcHfd5ml UPoc2OIFq4JBRnNXtUgk+RXc3PEmbQXoxPwy0/EjPQ+pBOGjpltjjGs0ASJv6t327LNg YiA+xKAIsauC6FK72r5KoNvLqkqepkXzoGJWN6h6uxBVCTPculHwIrxMwvvJh5revv5j r7Z5Zwjh18h8WATwqf8KXg5jnOGiIDFb4Tcd2inxzZqR1jEMsKIw92UbI9SmHRUgCeoA 79F+Usw9DR2d7Xe2vkqC/NqTOSB5dbf/hYS8uG2HxgruGCRF2+zSt9t8A5b7BAEW3qpz cefg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=gNF1Y8Oc9b4nkGJLYfsvqlN1Gea1rpsFqHP6q1qXe1g=; fh=0Nw/P86FMpUZPou4cQITX+TawcALzqCyLpgRCTgBE4I=; b=Yx9dOiwlGP5/58Ep1/9RHYHRlVW0mHDy0byrs0a4tdGwOEB7hw0F+6TwaLwGXtPOQQ /4rxK7v55eIPJB/OLdbZoNNHB0eR2SgRD6GitYL7QHP8WXe4ottaJahRkE5jXrD8HNe6 fWdppPyt9ZAqR2X5nH35/uPvuEH03fNNIbmMGmOqdcQwJpk7T7GpqqAwTqfylk7KW2Kh zJkzmmmq6Cci1iTNFgm9LdCMzQmt/fVPIUcB7R5GuP02btyyrykNPP34Vf9qxEZy9OPQ W1bGg2e/JJIj8AAbQ5QIhqMvN7eArjcFh+pT45kMp4cgeDx+CqxO/j3AnCY0c17jKPLi Voog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=gRkST88H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h14-20020a63f90e000000b005859c29ce86si9501235pgi.84.2023.10.15.15.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 15:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=gRkST88H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BEA1C806AA13; Sun, 15 Oct 2023 15:25:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbjJOWZ3 (ORCPT + 99 others); Sun, 15 Oct 2023 18:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjJOWZ2 (ORCPT ); Sun, 15 Oct 2023 18:25:28 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A96FC1; Sun, 15 Oct 2023 15:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1697408724; bh=z5KXjjPVrLjRebSzXXdn6DFLWUKznuVXuDGh7BkTaQM=; h=From:Date:Subject:To:Cc:From; b=gRkST88HLzafee30Sfe4sNkU5qdDyRymPoayJRt6pZkztLNWms8JtDkynPcUDOYz+ vIXr63Qf9Hk9Gz63CZiA4MOYigfHg9elucheXqNV69e3SKRFTkgbziZertXw7muEIP j5fMQP1VsrHMqkASk3IdyGEkOCPGeLAM59ZpddTg= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 16 Oct 2023 00:25:14 +0200 Subject: [PATCH] rcutorture: add nolibc init support for mips, ppc and rv64 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231016-rcu-nolibc-arch-v1-1-391af51b129b@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAMlmLGUC/x3MSQqAMAxA0auUrA10UBdeRVx0iBqQKimKIN7d4 vIt/n+gkDAVGNQDQhcX3nOFaRTE1eeFkFM1WG2d0aZHiSfmfeMQ0UtckVIyKWjXda2HWh1CM9/ /cZze9wOHkAjxYQAAAA== To: "Paul E. McKenney" Cc: Willy Tarreau , rcu@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1697408724; l=1257; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=z5KXjjPVrLjRebSzXXdn6DFLWUKznuVXuDGh7BkTaQM=; b=HrVnh6LrdqOofTiC7I1zFYHe9Olvgc1I9UJMSNMqxll6F13tg6HjEmvEff/8C+hhzlB0tuvrL yk5KEi5sJdFDb235pedugKYwemyuBHknOMAdKbFr/Z/ix8H1GG5DPpC X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Sun, 15 Oct 2023 15:25:50 -0700 (PDT) Use nolibc for all support architectures. Signed-off-by: Thomas Weißschuh --- 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 --- base-commit: 58720809f52779dc0f08e53e54b014209d13eebb change-id: 20231016-rcu-nolibc-arch-edd1db03554a Best regards, -- Thomas Weißschuh