Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5932657rwp; Mon, 17 Jul 2023 11:49:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHryIKymN4zrPyHuY3xiZH7V7ZuXnpnzfbj7ojQoy1J6OQgUsCfeataV4eohXNNT9cJ+dss X-Received: by 2002:a17:903:2310:b0:1b8:91ad:79e2 with SMTP id d16-20020a170903231000b001b891ad79e2mr14579472plh.3.1689619766868; Mon, 17 Jul 2023 11:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689619766; cv=none; d=google.com; s=arc-20160816; b=vq9dUzXgc+Os/8/lYAnPvpu1Fi9ddbDVOIudsKZpQ4E9timwhcKO8dxuBCsMBStord aBHgoK9VfSCDTLQ8c2yYeeb2nb1cSnFvfYo5ONfiKxwxQnGuV4TQ9q3cSRDNVPr7zUkE 8VIxt7WHjziMmuf5qwVKhQOuV8gBIa31IDPO0/v1Uq3QGBYHEwgITsi0YZsy1d44jxU7 +V3BwkR6pp+x4ju37yffCksIASOtuMTHkeML218rhz/1xcqftUFTFyniK08a/vFlGjaQ KgO4Aq4aaJn1CmqzCkgyVYkN7IzBxt2gorrZGVSikoOAmACYeQGNZb/fSah9rgjSrhPo 2q0Q== 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=PYBmE933Pa9eWdz++fcxv9uvjwtTYt0rJCofLA6pZy4=; fh=JhDbUpvQ/PfGcMVey85L14vhWwdTBkcnu0CILW9sq3c=; b=gU/rX3U1t9EkD8FDJz7oj/9TTFgOusYgoTl+ELAtnRxkoQsFOngDW+Yu/e/KWoWQzC ZbWOyyT1NHhvz030/gvahwDsj8hYkD/iTSDaeAp4K6/EPqAGaOpFCRvYRiWJUCBGtIl8 +3TctRcqO9N4+Btjt8X82oIoB2Fre0MHFrg7YpmZRyrG1qp2ZsBn7NvLMlArNt/avnep USsjVrAV2V9EFmEoPT5BoXD4skCEw+6CywvI8YIxNY9UaevM71bLRPWKJ6kfxbUu93nu Lkc5i5uZigVIEW7Ar7mGmJsjJCJYoxnCP4U13YYoRgaksYiadkuaoCgipLWwYUMdoJ75 6AFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="YYHp/I7Q"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a17090264cf00b001bb35920640si248905pli.351.2023.07.17.11.49.13; Mon, 17 Jul 2023 11:49:26 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="YYHp/I7Q"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230491AbjGQSZA (ORCPT + 99 others); Mon, 17 Jul 2023 14:25:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231526AbjGQSYS (ORCPT ); Mon, 17 Jul 2023 14:24:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B2310D8; Mon, 17 Jul 2023 11:24:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 059916121B; Mon, 17 Jul 2023 18:23:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 273F5C433CA; Mon, 17 Jul 2023 18:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689618220; bh=RCVifOKfIw+9aq0+FOvG0OI3UWiuO8vkL1zh9hG5PcU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YYHp/I7QhylSmFvPvYPbZ9iO/I8TbBUu/hPJWmauatStq3JEhsNn5Xn8KScysXZri +UtgETAoLmfseklJt9bY28Rjc9HnaiSyIz3COtR8riYxNV7BZXNzH1G2H9MNCrNm9G 5HUEqkNsgKma+/kSMF0APGvVcaCs7QotmIkBKZey1YBoIVCpi+kwxsjTEO3BQ3exyV H94wg0nluAFQUzP70yaWStamUNme1inj/UpSNKHmMxdghIXPFh7oVzXtDW1O6T4UR9 nN/pnslud5kt3tKQhn80cqIfTW4wmkeLHiUvLn/nZxNyxuu+k+24HFR1MOjZ5HUWNm U8UuVjj1eBEYQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 3F0C9CE0ACD; Mon, 17 Jul 2023 11:23:39 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Feiyang Chen , Huacai Chen , Willy Tarreau Subject: [PATCH rcu 15/18] torture: Add init-program support for loongarch Date: Mon, 17 Jul 2023 11:23:34 -0700 Message-Id: <20230717182337.1098991-15-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This commit adds the __loongarch__, __loongarch_lp64, and __loongarch_double_float targets to rcutorture's mkinitrd.sh script in order to allow nolibc init programs for loongarch. Cc: Feiyang Chen Cc: Huacai Chen Cc: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/mkinitrd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh index 3af3a86a0091..e7e23615dbe3 100755 --- a/tools/testing/selftests/rcutorture/bin/mkinitrd.sh +++ b/tools/testing/selftests/rcutorture/bin/mkinitrd.sh @@ -63,7 +63,8 @@ ___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__\nyes\n#endif" \ + "||__ARM_EABI__||__aarch64__||__s390x__"\ + "||__loongarch__||__loongarch_lp64||__loongarch_double_float\nyes\n#endif" \ | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \ | grep -q '^yes'; then # architecture supported by nolibc -- 2.40.1