Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6318249rwp; Mon, 17 Jul 2023 20:27:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlGwcdiu5GMR0zsppsrFE41pzRWR9NP/N99cH8VtPoTrBDQA21N+kuEaWNdc+QTa/rjc05tX X-Received: by 2002:a17:902:ef92:b0:1b7:c796:93ee with SMTP id iz18-20020a170902ef9200b001b7c79693eemr12105860plb.6.1689650819820; Mon, 17 Jul 2023 20:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689650819; cv=none; d=google.com; s=arc-20160816; b=xjfCkZY7ylDrdP+a9+wwuAqj8f48DfNVBR+Givct7Qx+33epIDAzUBU/zm6RYn8S6C qM56ULVbvW96KK0tCuok6y8N+pNxq1NSjRIfuBMx5agLHSI5sk6l2/X/l3hO2b9j200v wNJPI5tLnlb5qU5fen6lzCXpLPU+CrVKmxYGnPrVgKalDuncWroRX1fJ/GECebDEoLdI dpzjAbYJuMVQ8SxrebkN8GD+B8FH0ClwCQqgHX/k8/kgup+12Kr5gY7AWWiikFofNCqm UadqnhAcSjA8c6Hpj78M7hPQN/ZRyFToMVb9sWKpCAu1w24AbICvDLtP/xN0ZptdjkT4 TImQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=b3rk58Psl7S27OHhby9JRH6L//IDEFzEiQ47i4U3yc4=; fh=UHD1psWkIuLCwgNudeDaIqyzfdt0BNy6ubtdazRgz4c=; b=ch1HB7a8FmLd2ka5NJXFcABgTwHE8CAQUhgkznotmQYJHOGuGjDFQyQz1kzxUQXyqi gAhvXqXBCtnSXjh+rwXaM6KDyNLkZvEHLNTD1z2J7uudRwFd58qqGt0DyFaNwRMuvO8V faLYRsqs7VbeinKrZOmEtPItnwHhFkRlVCP8QfXUKYyFPsyDXnQU0TKV5bxTxClDYqgN PdINNWu887YqpClI/u+3Zv8xKxcv2Wj/DA6xQ3qVBByQSgrlStsK7DlZWPcf/+XcrpQn G3AwVtQQEWJeavP8UJp3B5cy21jYm3IQlA9hMrm32UanS43xPEUKO1xwORRiqFOZe975 mmUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ncVOk5kY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a170902f35300b001b8b6a19bdesi840677ple.168.2023.07.17.20.26.46; Mon, 17 Jul 2023 20:26:59 -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=@gmail.com header.s=20221208 header.b=ncVOk5kY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230201AbjGRC4X (ORCPT + 99 others); Mon, 17 Jul 2023 22:56:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbjGRC4W (ORCPT ); Mon, 17 Jul 2023 22:56:22 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46A3C19A; Mon, 17 Jul 2023 19:56:20 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fb7589b187so8325858e87.1; Mon, 17 Jul 2023 19:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689648978; x=1692240978; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=b3rk58Psl7S27OHhby9JRH6L//IDEFzEiQ47i4U3yc4=; b=ncVOk5kYgL7+rcKlGpeTa1hll32+iLmlGddfvgYDOWLuC8JOE98muS4SCAsa37oVhx J9jU/aRpA37YOZR4ve+K1v7t9Kkno8TtArEwvypwK7jhJcj1FoE+qXabLRhO3obxmkg2 +sWspyEBMQ/x3UGx/xQ8Yhb2LKo3/Ot8gNV8RGlUTswZZ9Z6i5W/EecorPVpq5Z+kDzO v00dx2HFFe6i4XnLPnQLJ3XxATCYaO4Z0hazhYDRlUFK5u9VegV8+vSNYwd821CO82Ym nMx9cVKJoeBTkZ716+pRwfquQpt7xUY3rl0suH0HeDdit1OvsjEF/sffForcFt9san3p Jqyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689648978; x=1692240978; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b3rk58Psl7S27OHhby9JRH6L//IDEFzEiQ47i4U3yc4=; b=Uz3aWjYmY4D6nL1DuMH7n9GQwuOUZMe9TWtfZZl5nzvQWJICE0k0z0Tc4zdoirGhJx M5/T8GHiQGsakTb6j/PF77zS8FTsd9gJUPYJ7QS5Mty/dZUQcQ8AP9OxwAlYdM/mE23V +a4LQ15nKK42pSwwTwiTo3JaEifgYdazdCXDq4Xj3/Er1y5wKETTflhbdA7cNfvZjnLr Y7gb7MvgXcnnpq3XSbqWktQgddU+P06Zuw1zsDE+7gpHoWwoO2MnT8gCG4BaXW5PL6JF 2UamT8yr9eGBAUIr10gBkv5WcSf+JAEU09MiF6jXfcR+7SRREbgiKC9IGXpFBwKoODcr GK+g== X-Gm-Message-State: ABy/qLZ/AsmLIfGE0E6XKpJ3+EBm5CDNR7Mj3KBScbhGRLi9blBoQm7x fpsbZn4Q3ZzxyG8LZMnS9gHmnQKRvUN+U9shpxn+JHfI7Wz8Jw== X-Received: by 2002:a05:6512:234a:b0:4f8:7617:6445 with SMTP id p10-20020a056512234a00b004f876176445mr9643132lfu.48.1689648978222; Mon, 17 Jul 2023 19:56:18 -0700 (PDT) MIME-Version: 1.0 References: <20230717182337.1098991-15-paulmck@kernel.org> In-Reply-To: <20230717182337.1098991-15-paulmck@kernel.org> From: Feiyang Chen Date: Tue, 18 Jul 2023 10:56:06 +0800 Message-ID: Subject: Re: [PATCH rcu 15/18] torture: Add init-program support for loongarch To: "Paul E. McKenney" Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, Feiyang Chen , Huacai Chen , Willy Tarreau Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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, Jul 18, 2023 at 2:23=E2=80=AFAM Paul E. McKenney wrote: > > 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/t= esting/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\n= yes\n#endif" \ Hi, Paul, Thank you for the patch, but I believe adding only the __loongarch__ should be sufficient. Thanks, Feiyang > | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \ > | grep -q '^yes'; then > # architecture supported by nolibc > -- > 2.40.1