Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp179077rdh; Wed, 7 Feb 2024 01:10:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8iq4QluPlOwsbJyaIE0XWWo9NwLu64EQlx1cLxM7hlUdnpPiE9wH8f7p+zCt6HNKJl/FJ X-Received: by 2002:a05:6a00:2d0c:b0:6e0:4a24:e91 with SMTP id fa12-20020a056a002d0c00b006e04a240e91mr2544920pfb.15.1707297035342; Wed, 07 Feb 2024 01:10:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707297035; cv=pass; d=google.com; s=arc-20160816; b=wZt/ZtZIYmkSE0ocNOT6rs5niexLmq9R8sBr+4c/pDQg7mnw5mJtlb9z9ypvZWVXLr 4G1H/8IDvi4kwpclW5UHQADn7lmfL6D1sm30Uuo+V46z/C4+mBsTlbb/u/y/QPS2xHUR BkGMiZG4tgbFyrPTgRKt7yNrmntCTMCAZWR323Um6oWNEF2Av3uaDs/Y6H/Jk8khp7K6 iWeTVMcCfjQFVOnohQ6MzShx5H05a1Ho5LgWnWryISVUecMfAZJEsvdtm+aRK4lnMePp 2G+yxk06BSABaZ6o/MZpF6LyEhbl7BbCd7ASkjSF+m7jVqmbf+0NSmYVPCfrrkQVHBlG FxGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=tq+176hwNs7ND8NkbuBbdIWzcWcPPoQlxHWTEW6rErE=; fh=69hnTa1lLozPhbHsU3A4U6NjZs/3UV5G6QlDbriOnOs=; b=rCz7Prd6RMGbpoO8Es0lVdFaLxw+mYwj+wKrSCwOmcrrmCTvxUhWYaqgH+VXPWIT+E tP6nUsUTOno6IpZkAptKkmpLjZIDH6Ak8D3viY1wzMb+mIsSoG6PmDHhdmiGlXjaeZxH yTQK2lTUNYkafKyGJahNuUeKBzRtTEIqv1heKIGHHX83Wk3vksbYKqousFXHpyQeUasX ZwGUyHjeIBAEz7CH+DQJ6YRanvRawcXFoB2uyr/6ag+YnLtRIien/Jx0dIj+1Pr3Kvd9 xjPTIX5xTs+q5iz38rT10m4bRTVY1LPBP3BUT+ciR2FHbSWwtsh6/5QO4SUwHWRrXM3o JfNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JpVjA9hi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56171-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUDIlT1sxcTzowbegdhPNHjQTPrPD2AjYb90pkEtzDk0InkjHqmJxTUJuPMCG31XHQb4mVv6ulKF79ZXkW7+ZuEeQnJyCfiJNr0OzNgWA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q25-20020a656859000000b005d81846a4c1si1054229pgt.506.2024.02.07.01.10.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 01:10:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56171-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JpVjA9hi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56171-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 01B4A28851C for ; Wed, 7 Feb 2024 09:10:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FF4C20DC4; Wed, 7 Feb 2024 09:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JpVjA9hi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2571922307; Wed, 7 Feb 2024 09:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707297026; cv=none; b=HUyrlX/I6ag/oBuo9xGhryo4IXEjmK98H4ocwbVran26/pNpO67UD7lJ8u0QonOd4QcjslIj1FcZMGVDb/D7owWwOLcHoylgUTli06juCFnBcNU2wqSrjhr6aezhq3UK8u0sC4DKxariTe7WfEG/boNmXqWcN2hwAYWwGQt6xf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707297026; c=relaxed/simple; bh=3Skvn/dUoFSwXi54r9T2MMdejeTQaB6k0PKGKLgLFW8=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=OMt7jkMG2sXZ2DDxTbyjJwKhEqoBvVvUdAY0SLg2v31v5QSSTE8KHnHtpwYFM8INoqmpiYD7K1debnM07GwzKpKnmq2t/tkGogGCuvPczgVRu5l6xAqRrvtG0VYWu4hABXbIfoA4fF6uY9OR87ETcGxA+qJamjDgZcU5v5Hb+FI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JpVjA9hi; arc=none smtp.client-ip=10.30.226.201 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) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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