Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6184331rwr; Mon, 24 Apr 2023 15:22:29 -0700 (PDT) X-Google-Smtp-Source: AKy350YKBB3e7NQBQGAI4ErlhhypfqhEM9M8cyqHPCgV8xKji+VSofkcWK0a3vINxssyZFtLUyIw X-Received: by 2002:a17:90a:1f46:b0:24b:3123:8dd8 with SMTP id y6-20020a17090a1f4600b0024b31238dd8mr15581926pjy.27.1682374949198; Mon, 24 Apr 2023 15:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682374949; cv=none; d=google.com; s=arc-20160816; b=tEUSI8R7288eAFO8MlLaixesII2Jpld5UCUKdnl/cAVVmUsF1/ZgnhDW1hxnLV9dVg X8LfvnX4OZAMtgoFJwrbtWlr+dbOCs1f3TipbdOXwLja0LEGFnAVrcDwK3lFKmC4i7/C zV5auvPTDDNevwl+e8iCSzafnkkn1f6i20rS/NLvCw0VgOi3Nck21sBQN4JYbrQBddWI gRUePTJBy+6ifwWNjLH26nEYoknvoeNgl1LpdPmruQitV5J/cqx/ZFQCG2+RRl/QDOrk xbgGhnbyS0uGB/al09mg2500A/YTS15744+BjumCFLqPjUCZugPxCSQGlqRMEo56ye/0 D7rQ== 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=Z9rvKKuJVj1CnXeKwNCCdeFPzJf6ElUXCptJ/Xncu1o=; b=Q9wmjnPJdoJydybrZRsz+KxQrVMMJd/VnYGtWAt1mJ5pxO+kSNvymoSWoEmwnRO7ln coE0Q15xZCqp6jPXDkrJS5mbLLtC8aV8Ro2+0FIgrfspd4KeSzLTwbX4mv4qkUpTfo7X tIxQ5qXYKEjl9xHKv39D0HvaeCWKd2DjpvjpQFLL4pl7+ZHYrSlmPbUw6aT5mqQiP17b KH0X8Oile8PNcPUVlETXiMlTdGMqq+mAmW0VKR3bwCrexbhR2n43nSebcYKEM3MrVH+x xR0MekxQ/VWuH+sfuRXUVVaRVzaiFYVLiRB5/k8UXzKbknSGmV5Mg615c/zW2sx1ndW/ /hnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="lgW/07YT"; 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 p2-20020a1709026b8200b001a65688c863si11902465plk.56.2023.04.24.15.22.13; Mon, 24 Apr 2023 15:22:29 -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="lgW/07YT"; 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 S232473AbjDXWNR (ORCPT + 99 others); Mon, 24 Apr 2023 18:13:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjDXWNP (ORCPT ); Mon, 24 Apr 2023 18:13:15 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FAB25B90; Mon, 24 Apr 2023 15:13:15 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-517ab9a4a13so4811964a12.1; Mon, 24 Apr 2023 15:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682374394; x=1684966394; 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=Z9rvKKuJVj1CnXeKwNCCdeFPzJf6ElUXCptJ/Xncu1o=; b=lgW/07YTzPgxutnXZ8yZ9NDI2sbzEYZRwHOtg5AvLIGZaO42Hme6ZIPkRlXSGKXu4L tSsp1nw+IYnBdrFXuEqruxS15GqiOnl2olmJwMx1T2EIizWecMs43X5AvjAQFchtsZhX Uc3vILp44cAhwxN3xMRwpQPkuMRAxD4/iyKkPDuOJoClMQ6jTM41zvFrpsRbu7CCpq7N OhpBgr5rEwrEdi45ul8uj517SM+wEyjtp6Llk6aV5P3GoaSo7caowbk3fDg4JIpqkJig J41g5iMu/sp3yTwV3tCJI3ftaUZvtmq2t8zNs+oOr4EIKq5XmlYWq6Vx6FKKAQtPeRYT qTZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682374394; x=1684966394; 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=Z9rvKKuJVj1CnXeKwNCCdeFPzJf6ElUXCptJ/Xncu1o=; b=W7WbHcYG39gsoJBVd7Om2MNmDzUc7Z0pdf4I08jT9Ob0GQ71lj3DCH+7W3vDq7jnw7 Rl/t4IVFKyPmCVMxYpbTrgyiK753DLQzbe3imUh4TczDC6d2dRlgw0g/MN+urs4KVpfR mIIy3Bs9hraQn2G6Aq2tER02VaxFaRXDUh7t5h2GYYUaJS8rXVyQQ3DSemUif6u1l4k+ B0LvXHbKwH0FPG2sKb4kF05saGxwnO2L/EXfwvD4jzo+GNOu+lMAVGtnPb5dhrTEcrI6 XxACMKD12WoKI+0Alw8scpQ4h1OzGmiXvaeX6rEYa7VqoHEREH+xONhXvmkfBEprZaLY 2UHQ== X-Gm-Message-State: AC+VfDywYiGRg7p4YX3pHFtn5TL6CpmquUL6XsqcRfle4rGFGJ4Sj9nB UhabhgL3Dqmucm5T3z5IUz5Txpi0WqZ2fw+ddUU= X-Received: by 2002:a17:90b:a49:b0:24b:d66c:523c with SMTP id gw9-20020a17090b0a4900b0024bd66c523cmr1346155pjb.9.1682374394571; Mon, 24 Apr 2023 15:13:14 -0700 (PDT) MIME-Version: 1.0 References: <87cz3tylwx.fsf@mail.concordia> In-Reply-To: <87cz3tylwx.fsf@mail.concordia> From: Zhouyi Zhou Date: Tue, 25 Apr 2023 06:13:03 +0800 Message-ID: Subject: Re: BUG : PowerPC RCU: torture test failed with __stack_chk_fail To: Michael Ellerman Cc: linuxppc-dev , rcu , linux-kernel , lance@osuosl.org, "Paul E. McKenney" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NORMAL_HTTP_TO_IP, NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_NONE,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 On Tue, Apr 25, 2023 at 6:07=E2=80=AFAM Michael Ellerman wrote: > > Zhouyi Zhou writes: > > Dear PowerPC and RCU developers: > > During the RCU torture test on mainline (on the VM of Opensource Lab > > of Oregon State University), SRCU-P failed with __stack_chk_fail: > ... > > by debugging, I see the r10 is assigned with r13 on c000000000226eb4, > > but if there is a context-switch before c000000000226edc, a false > > positive will be reported. > > > > [1] http://154.220.3.115/logs/0422/configformainline.txt > > Says: > > CONFIG_CC_VERSION_TEXT=3D"powerpc64le-linux-gnu-gcc-10 (Ubuntu 10.4.0-4ub= untu1~22.04) 10.4.0" > > Do you see the same issue with a newer GCC? I would like to try that in the newest GCC ;-), please give me about a day's time because I am going to compile the gcc ;-) > > There's 12.2.0 here: > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12= .2.0/ > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/ppc64le/1= 2.2.0/ > > Or if you can build in a Fedora 38 system or container, it has GCC 13. OK, I will try it or similar This is a very learningful process for me, thank you all ;-) Cheers > > cheers