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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4E24DC4828F for ; Wed, 7 Feb 2024 09:10:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pgwCazRkY33Ds4dDWPAP69G60Pzdia036HS1jAvZv4U=; b=R/HfEOu4Dbzpxj c5mPZGPn/Ymsi5tblylwTKSjrYoLO9iojx6ujROnC6bXavY89rldIhvzlXO0JdxHpZKOXcbJtnAtC NTMZZUZRq5x8xg99qQm1cG75mkJHYJKQ0JH91c5TscPEgdpN3ynY+klFqFo51Tn2ifPlL6OrapOyU QZtRaoHx7CXIs53edSol7yJLm0D3wxXgPp/Vv6JIT9crolNzWo4XVkGdhuRtKbDVhOCvCZuL8chW9 2gQ8bVk8V64ZAjWBl8OPB8vyGTfLBXCPuos7xkkyKlAFk4UlQv2ADdnThHx+rs24A3edWaOn3sYEl xjjDaGcdrwjfZavEnYjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXdws-0000000A8XP-37oC; Wed, 07 Feb 2024 09:10:30 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXdwp-0000000A8Wi-3ynS for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2024 09:10:29 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id F1510616B5; Wed, 7 Feb 2024 09:10:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 8E773C433C7; Wed, 7 Feb 2024 09:10:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707297025; bh=3Skvn/dUoFSwXi54r9T2MMdejeTQaB6k0PKGKLgLFW8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=JpVjA9hi1PaqsZIiPpiX1hoyJ6QubNOqHgQGqadY/ZlSwQpDZevC20ottlioalOio cpuxfbsbNgLGI7P5fvOp5m95VdLNvCcaroiZP/ZpHtbH8a1V/KPfNlIwVqoqOv/cDR zJvWYTi2j9O/6pGfnyxQiT8XE1IT+lTKY0sa2MTJ3fOERzHmL89eJUJ3YI5FFPYFZp Me2RVjPMY2VPi2RLjKXlUJ0bIsHwzUJ8c6GT8pJhR/jdYfzM5P25t5ovoA3MERwWuW fxur5Ed2er7vR/xyJnLUkeMcdXnZCm2u7/U0nPfNwEmJS73jdbjBuOJbkXNJXNbSBr rqnTjW1bObaEA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 6549FD8C96E; Wed, 7 Feb 2024 09:10:25 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [PATCH net v3] net: stmmac: protect updates of 64-bit statistics counters From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170729702541.31522.8754905006786635767.git-patchwork-notify@kernel.org> Date: Wed, 07 Feb 2024 09:10:25 +0000 References: <20240203190927.19669-1-petr@tesarici.cz> In-Reply-To: <20240203190927.19669-1-petr@tesarici.cz> To: Petr Tesarik Cc: alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, mcoquelin.stm32@gmail.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, jszhang@kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, mh+netdev@zugschlus.de, andrew@lunn.ch, f.fainelli@gmail.com, stable@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240207_011028_054267_C1FF67FB X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Sat, 3 Feb 2024 20:09:27 +0100 you wrote: > As explained by a comment in , write side of struct > u64_stats_sync must ensure mutual exclusion, or one seqcount update could > be lost on 32-bit platforms, thus blocking readers forever. Such lockups > have been observed in real world after stmmac_xmit() on one CPU raced with > stmmac_napi_poll_tx() on another CPU. > > To fix the issue without introducing a new lock, split the statics into > three parts: > > [...] Here is the summary with links: - [net,v3] net: stmmac: protect updates of 64-bit statistics counters https://git.kernel.org/netdev/net/c/38cc3c6dcc09 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel