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 6ACABEE49B3 for ; Wed, 11 Sep 2024 14:26:53 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4X3jZ33Xlrz2yFQ; Thu, 12 Sep 2024 00:26:51 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=150.107.74.76 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1726064811; cv=none; b=LyTejF5VO9OF4aGPFb2JCoIYMZo8VsKIFeMu8G7ZcrkXdOMWMQ5EACfOHpk9FlTyLPhe9lJ9AiHCtAB087D2pcPM3exNCXCrOolH+WAZYsAommSdyY8b9ovaeXmsO2Qk5N8bmwOuWUSfBJxa+V6M7ib/oMy2RHFk0pRHXCNCvFoqyPmBzpPjRIVEwuNBCUcXc8AQLa3YReychUca0RQ7N+ToDK3FW/xDs67ysHx0sgrnAAzjZ1snDeCdl3YQnc+C1Kq7LNpBflQoT4gzyR1BKh5rcm4kGdZt8AdUa3b/GXk9XqM+fBEd7Yu7zhcySV7MALbf0VlAyCC/8g0c396Vpg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1726064811; c=relaxed/relaxed; bh=7e0hIvnZ2WGzfCRGUxZpr1pnG85pXQrbK4xqcg3Yhw0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=F6WDoUinpT0WtY19blNxWbIRTyIkDcf9mKv/OyEavcbhQQKU1Ddy6ELUtUN2oq6GyEztU7Dp9at2UBJSlsNBo29VjxyYJIILwnPW8N2v+z4b+8LVOBlaPR2XjZhEqKkDhGfURV2Agkdft1r+U4/is5y8dhPFnaEZ29fvopu4VXHgUXIl3rcINvKMxq9ZFWoAykwhX7VcS+SaRi4t8YzuZ0fJhgji1D3a8qwi/RwYrEk2CR8wYszFSnCHyj2WoN+YeGc8s/Nv1Mzyt9rt4/70yc0CX6flLrRclAtRJmWAbkWWtfngDQvcC4qhq8hOMrJ294kQ853ubE22ipWmGTV/Cw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=M1mZKwDD; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=M1mZKwDD; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4X3jZ31PJSz2xXw for ; Thu, 12 Sep 2024 00:26:51 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1726064811; bh=7e0hIvnZ2WGzfCRGUxZpr1pnG85pXQrbK4xqcg3Yhw0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=M1mZKwDDObyrZmNqrYKAMuwe7H186HIc86Jlr8gU4/gmsSY+ZDzYGYFP7feC4ROae HbcZgV6M6QtWc6J3IK1da6RnvSwVR76tJs8DcB0GYiwUPi611pOQ+x8gbiOT0J2s2I a1eFHAt6lVDJzHNC/rK2VoyWWqFWyzyiaUGFhiOyK0/X7EnJZTDaVB/v4msCsj/cRT 1oQg+YayCgezeNbVDcagCbqr8gkklgpsAZM0T4JyUoX2DPebXFTzCdYZ389XOvL7pl K6ENKlegb8IDXmNHbUhzWFXO8stthWzCZsGJYbVBuvJs6nO2ARYQbuiDxYYY0j9YmR LitPaBO6Cq+hw== 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) (Client did not present a certificate) by mail.ozlabs.org (Postfix) with ESMTPSA id 4X3jZ25FGzz4x2d; Thu, 12 Sep 2024 00:26:50 +1000 (AEST) From: Michael Ellerman To: Venkat Rao Bagalkote , peterz@infradead.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Sachin Sant Subject: Re: [PowerPC][linux-next-6.11-rc7-20240910] Kernel Warnings at kernel/jump_label.c:266 In-Reply-To: References: Date: Thu, 12 Sep 2024 00:26:49 +1000 Message-ID: <87wmjiqn9y.fsf@mail.lhotse> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Post: List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Venkat Rao Bagalkote writes: > Greetings!!! > > I am observing kernel warnings while booting with > linux-next-6.11-rc7-20240910 kernel. Below are the warnings. > > [=C2=A0=C2=A0 63.613506] WARNING: CPU: 20 PID: 214 at kernel/jump_label.c= :266 static_key_dec+0x78/0x8c > [=C2=A0=C2=A0 63.613518] Modules linked in: ext4 mbcache jbd2 dm_service_= time sd_mod sg ibmvfc mlx5_core ibmvnic scsi_transport_fc ibmveth mlxfw psa= mple dm_multipath dm_mirror dm_region_hash dm_log dm_mod fuse > [=C2=A0=C2=A0 63.613542] CPU: 20 UID: 0 PID: 214 Comm: kworker/20:1 Not t= ainted 6.11.0-rc7-next-20240910-auto #1 > [=C2=A0=C2=A0 63.613549] Hardware name: IBM,9080-HEX POWER10 (architected= ) 0x800200 0xf000006 of:IBM,FW1060.00 (NH1060_016) hv:phyp pSeries > [=C2=A0=C2=A0 63.613556] Workqueue: cgroup_destroy css_free_rwork_fn > [=C2=A0=C2=A0 63.613563] NIP:=C2=A0 c00000000048ca20 LR: c00000000048d060= CTR: c0000000005cb330 > [=C2=A0=C2=A0 63.613568] REGS: c00000005a1afa80 TRAP: 0700=C2=A0=C2=A0 No= t tainted (6.11.0-rc7-next-20240910-auto) > [=C2=A0=C2=A0 63.613573] MSR:=C2=A0 800000000282b033 =C2=A0 CR: 24000884=C2=A0 XER: 20040001 > [=C2=A0=C2=A0 63.613586] CFAR: c00000000048c9cc IRQMASK: 0 > [=C2=A0=C2=A0 63.613586] GPR00: c00000000048d060 c00000005a1afd20 c000000= 0015f4300 c000000002faa440 > [=C2=A0=C2=A0 63.613586] GPR04: 0000000000000001 000000000000009e c000000= 0084bae00 000000000000009d > [=C2=A0=C2=A0 63.613586] GPR08: 0000000000000000 0000000000000000 fffffff= fffffffff c00000005b852780 > [=C2=A0=C2=A0 63.613586] GPR12: c0000000005cb330 c000000c7db7df00 c000000= 0001a779c c0000000084b27c0 > [=C2=A0=C2=A0 63.613586] GPR16: 0000000000000000 0000000000000000 0000000= 000000000 0000000000000000 > [=C2=A0=C2=A0 63.613586] GPR20: c000000c7b914300 c000000002de73c8 c000000= 0027b07a8 fffffffffffffef7 > [=C2=A0=C2=A0 63.613586] GPR24: 0000000000000402 c00000005b852780 c000000= 008eabc05 0000000000000010 > [=C2=A0=C2=A0 63.613586] GPR28: c000000002d2fac0 c00000000e9d6000 c000000= 070444000 c000000002faa440 > [=C2=A0=C2=A0 63.613633] NIP [c00000000048ca20] static_key_dec+0x78/0x8c > [=C2=A0=C2=A0 63.613639] LR [c00000000048d060] __static_key_slow_dec_cpus= locked+0x38/0xb4 > [=C2=A0=C2=A0 63.613645] Call Trace: > [=C2=A0=C2=A0 63.613647] [c00000005a1afd20] [c00000005a1afd50] 0xc0000000= 5a1afd50 (unreliable) > [=C2=A0=C2=A0 63.613653] [c00000005a1afd50] [c00000000048d124] static_key= _slow_dec+0x48/0xb0 > [=C2=A0=C2=A0 63.613660] [c00000005a1afdc0] [c0000000005cb40c] mem_cgroup= _css_free+0xdc/0x104 > [=C2=A0=C2=A0 63.613667] [c00000005a1afdf0] [c0000000002c4d58] css_free_r= work_fn+0x70/0x394 > [=C2=A0=C2=A0 63.613673] [c00000005a1afe40] [c00000000019a7dc] process_on= e_work+0x1fc/0x4dc > [=C2=A0=C2=A0 63.613680] [c00000005a1afef0] [c00000000019b73c] worker_thr= ead+0x340/0x504 > [=C2=A0=C2=A0 63.613686] [c00000005a1aff90] [c0000000001a78cc] kthread+0x= 138/0x140 > [=C2=A0=C2=A0 63.613691] [c00000005a1affe0] [c00000000000df98] start_kern= el_thread+0x14/0x18 > [=C2=A0=C2=A0 63.613697] Code: 7c0004ac 7c074800 40820018 38600001 546306= 3e 4e800020 60000000 60000000 7ce93b78 4bffffa4 60000000 60000000 <0fe00000= > 38600001 7c60189e 5463063e > [=C2=A0=C2=A0 63.613711] ---[ end trace 0000000000000000 ]--- > > Issue is introduced by the commit: de752774f38bb766941ed1bf910ba5a9f6cc6b= f7 Which was: de752774f38b ("jump_label: Fix static_key_slow_dec() yet again") And was already reported: https://lore.kernel.org/all/202409082005.393050e2-oliver.sang@intel.com/ https://lore.kernel.org/all/20240910111111.2591-1-spasswolf@web.de In today's linux-next (20240911) it has become: 1d7f856c2ca4 ("jump_label: Fix static_key_slow_dec() yet again") Can you test if the bug is fixed in today's linux-next? cheers