From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E14E5C6FD1C for ; Thu, 23 Mar 2023 18:35:22 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4PjDY53YBWz3fQY for ; Fri, 24 Mar 2023 05:35:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Dsesqpn+; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=paulmck@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Dsesqpn+; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4PjDX25dBlz3f51 for ; Fri, 24 Mar 2023 05:34:26 +1100 (AEDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4EE1262848; Thu, 23 Mar 2023 18:34:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3AF6C433EF; Thu, 23 Mar 2023 18:34:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679596463; bh=cbM4eh9+G5u44urX8yb80DsKZlsjHhpGtzb4F/RXZbE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Dsesqpn+JLClFeqe0E866tT+jCL1VcXlGmYUpmMMflVF/ozl14+UP2rthdfxylFA7 vHEbM3uSE+kVFVUR7oKf+/7gvb2Itn9BLFbeRLezNnQ1vRlhPr+K2IlpW2PWWjQToB 17URw7s+voHD8pMOKgOkdmyWzjfjY5tYRyTqcOvXNMMdIwL40FCi7Wf99j877NeeOg 5JJrHxHDHyPGr/6fbjQGpQsciSFsfbVH/aclta5RwwhTHaAKO+OFYwaiAHBwhcBb97 XGSDxrgDZC8oPnZruijpapexEN6KkEJZ3CCkuy92/6+odUC97gd9+tkhCtv+8dJH1S buvShBL1GOoQA== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 50BA01540398; Thu, 23 Mar 2023 11:34:23 -0700 (PDT) Date: Thu, 23 Mar 2023 11:34:23 -0700 From: "Paul E. McKenney" To: Sachin Sant Subject: Re: [next-20230322] Kernel WARN at kernel/workqueue.c:3182 (rcutorture) Message-ID: References: <139BEB3F-BC1C-4ABA-8928-9A8EF3FB5EDD@linux.ibm.com> <233B28DA-70DD-4AD8-9C72-1FFCA6EFE56D@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <233B28DA-70DD-4AD8-9C72-1FFCA6EFE56D@linux.ibm.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: paulmck@kernel.org Cc: Zqiang , linux-next@vger.kernel.org, linuxppc-dev , open list Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Mar 23, 2023 at 11:00:59PM +0530, Sachin Sant wrote: > > >> [ 3629.243407] NIP [00007fff8cd39558] 0x7fff8cd39558 > >> [ 3629.243410] LR [000000010d800398] 0x10d800398 > >> [ 3629.243413] --- interrupt: c00 > >> [ 3629.243415] Code: 419dffa4 e93a0078 39400001 552907be 2f890000 7d20579e 0b090000 e95a0078 e91a0080 39200001 7fa85000 7d204f9e <0b090000> 7f23cb78 4bfffd65 0b030000 > >> [ 3629.243430] ---[ end trace 0000000000000000 ]— > >> > >> These warnings are repeated few times. The LTP test is marked as PASS. > >> > >> Git bisect point to the following patch > >> commit f46a5170e6e7d5f836f2199fe82cdb0b4363427f > >> srcu: Use static init for statically allocated in-module srcu_struct > > > > Hello, Sachin, and it looks like you hit something that Zqiang and I > > have been tracking down. I am guessing that you were using modprobe > > and rmmod to make this happen, and that this happened at rmmod time. > > > Yes, the LTP test script rcu_torture.sh relies on modprobe to load/unload > the rcutorture module. > > > Whatever the reproducer, does the following patch help? > > Thank you for the patch. Yes, with this patch applied, the test completes > successfully without the reported warning. Very good, thank you! May we have your Tested-by? Thanx, Paul