Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6185019rwr; Mon, 24 Apr 2023 15:23:18 -0700 (PDT) X-Google-Smtp-Source: AKy350YqZh44BFV/63VQs7GRtbb4+yeo3W960PbiPyDPIXiaqNNsuEALG3E2mvF9J+I5sp2az5fS X-Received: by 2002:a17:902:ab58:b0:1a2:87a2:c910 with SMTP id ij24-20020a170902ab5800b001a287a2c910mr13974920plb.53.1682374997579; Mon, 24 Apr 2023 15:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682374997; cv=none; d=google.com; s=arc-20160816; b=Laa0O5q2aXtD5fNM+9NWpI3ggdsKKlgjO05yjIbMWXWdr07S33SyR3jWAIexIw7UkG wV7RirC4VO80Nbp8T7WO0z5rKwD8BiAPLLjMRJQWWfOfgt7awALOJykGTWJzr479VynS fwDSFS3WhTEDaTwQTD7bTL65TUEUfXtmRtyF0obc/vb9X8C9UFY2voJeVr4/hj3Yl9et 6JeNhB4RK1/DsXaV3O1FOnNtbrHoNwhZKGvb9ZBQn4qHP9pMYp5VlCyZjnpc6zkdBaeS +r9Nzc9sZcr0G/+HiNLaC58EnpxlKpFvRWm0c0gvdZs6sXmtQ0sQLgeQaBJNtXG7mVhM X1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=GddNnol6YaHH8rm7F5s2DGk04beKSm23ST/yGyZyL6U=; b=Ly+Kb7XeRULzQsQsMmMeftmKb7sSca9g0KaEOJU4ZmXcb2HF9ZFoXFFWXHeGVZ8ZS7 Ng+6H46s6Ukt63Gle+AXFswpwfjLzULvzMa8013eWSWlFhsUVlHsCTZz3+n5knMKo3MI iuPlULlsAsLwoLGqe+BCQo9pvR8dVqV2iFytvO0eXfg+eA1kTB2s3p9UOnceOTsHPqN9 NFpCY7zfczVBCVSJ7tXmHC9O4bUKJokwidVyPDr8FPHfQKXXBkS8XE8dY+sgLzlUcnBS F0qMHjihILSntgfhrAByr5rGCkqCny9bRlpjEJnyxEYxa9dk3MMqagA7y6b+KeN/FBHZ 9W+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=TqvT2wba; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a170902f14d00b0019d13e26ecasi11264845plb.355.2023.04.24.15.23.02; Mon, 24 Apr 2023 15:23:17 -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=@ellerman.id.au header.s=201909 header.b=TqvT2wba; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233213AbjDXWJA (ORCPT + 99 others); Mon, 24 Apr 2023 18:09:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232946AbjDXWI7 (ORCPT ); Mon, 24 Apr 2023 18:08:59 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D763783CF; Mon, 24 Apr 2023 15:08:14 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Q4zkn6JTQz4wgv; Tue, 25 Apr 2023 08:07:13 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1682374034; bh=GddNnol6YaHH8rm7F5s2DGk04beKSm23ST/yGyZyL6U=; h=From:To:Subject:In-Reply-To:References:Date:From; b=TqvT2wbacCDaYEYDw8Cw/06md42z0Ft42g8d2loJiP6oKtJKR9B+BO1tQxknL7O0+ xHMtwZupuQ1w7gUsv6IisIF//qd4Y4hZI3kxUd9KfgQF6w/5OjIsXwq8drwcUuMjRe 66BZuzYAZ4SM6llfYKshjKJIh5rj20HbevDL5xX/TMB2Y/p8E55gHi+8asUYMixzmc prF8+buWbfVI03axdZdlUUXRvcLURz0GNFS+gWqMFkU98HoirT44IbzLB1J8mKuAv2 sdSfKjqJBV24hDiOmhzC7R7Rdo6k+zl1XFqJqEgVRK6uzp4kMSHTKyoAFNG2ukHahK c0ermrBykUYsA== From: Michael Ellerman To: Zhouyi Zhou , linuxppc-dev , rcu , linux-kernel , lance@osuosl.org, "Paul E. McKenney" Subject: Re: BUG : PowerPC RCU: torture test failed with __stack_chk_fail In-Reply-To: References: Date: Tue, 25 Apr 2023 08:07:10 +1000 Message-ID: <87cz3tylwx.fsf@mail.concordia> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NORMAL_HTTP_TO_IP, NUMERIC_HTTP_ADDR,SPF_HELO_PASS,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 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="powerpc64le-linux-gnu-gcc-10 (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0" Do you see the same issue with a newer 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/12.2.0/ Or if you can build in a Fedora 38 system or container, it has GCC 13. cheers