From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22059606A68B for ; Thu, 3 Dec 2026 04:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TTxnEt/n; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DvRWBb1O DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Date:Message-Id:From:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=73qDVcwNXmp5ILIp7FwPL9lhXLa4+cCK4Q5ADLaFXew=; b=TTxnEt/nKOV2tz Er4Z5qvHhBMysrT2K1AEO/at3j+b9VOIAIp/rwS3hdgT+UzbJy7v9eV+5+Vj+2aJt7vv+ZCMeoJfL FFNPyNvZcQoYu8GFXRK+D437fuuTz8Ge5E5pLBqUQIkmaVQI2p05zu18I3jGTtUMTv+7GTqKA5nSw Cn4sbdBBnwyh9mVB0pacdftHX9NpiGuU4JTFMte3RQTd3jdias5x5CPIuQUhdSyTkimnOke76IU8c f8++8Sfsgmy2p5L8O0HCPRnMuaabygSszgXKheegewSJDqVUsaBLDsfZpqnu/MHYCBUZdgbDnxRUY CFUNW5DQ+A5U2XMDIUfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYycD-0000000DWtk-0jZw; Thu, 03 Dec 2026 04:40:17 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYycA-0000000DWtW-3UAL for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2026 04:40:14 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id E4A4C61D0B; Thu, 3 Dec 2026 04:40:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B72051F000C1; Thu, 3 Dec 2026 04:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796272813; bh=73qDVcwNXmp5ILIp7FwPL9lhXLa4+cCK4Q5ADLaFXew=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=DvRWBb1OYhmR8pqcyzg6aubXmszxCcG0eS4RZp/Sv4k77u3CHdZymKf0JaY0AGcGR SqhnXj3UukfZmV4OZQJDDQxGtlvGl1QsM4xfeNPC0NrpZY54wLG+JIXJH+kuCy+sJv 0HCJM7PEYLgSWapkNqH6E5GDbu8OhzPIdSnZG0CHHe4TqsSKRN4qiPcjHhKVTtSPW5 TFoxBn0rTcoMJl/E4vr4nGyvvcOekrUnaWBTYLb0Dzyc/P/cQ8B7qcEkGsMHMlOD7E 1WEQ53AUl5F/430USMjfLKTicuSBQG2AnF5vqn2Y6KwMJa/NL6w5AQ+rvpQZFDohVe 82eKJYq3UPmlQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id AE87C3808236; Thu, 3 Dec 2026 04:40:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next v6] net: stmmac: program the FSM timeout timer From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179627281225.2359732.9107720601263513136.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 04:40:12 +0000 References: <20261126115912.3145086-1-zxyan0222@gmail.com> In-Reply-To: <20261126115912.3145086-1-zxyan0222@gmail.com> To: zhu xin Cc: maxime.chevallier@bootlin.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, rmk+kernel@armlinux.org.uk X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello: This patch was applied to netdev/net-next.git (main) by Willem de Bruijn : On Thu, 26 Nov 2026 19:59:12 +0800 you wrote: > stmmac enables the FSM timeout checker (TMOUTEN) but never programs the > MAC_FSM_ACT_Timer register. Per the databook the checker only fires once > NTMRMD is programmed with a non-zero duration; NTMRMD == 0 disables the > timer, so with TMOUTEN set but the timer left at reset a stuck FSM is > never reported and the advertised timeout protection is ineffective. > > Program MAC_FSM_ACT_Timer right after TMOUTEN is enabled, deriving the > TMR field (CSR clocks per 1us tic) from the CSR clock rate and using a > 4s timeout. 4s is chosen because a PAUSE frame with the maximum 0xffff > quanta stalls the transmitter for about 3.36s at 10 Mb/s, and a shorter > timeout could wrongly report a flow-control stall as a stuck FSM. > > [...] Here is the summary with links: - [net-next,v6] net: stmmac: program the FSM timeout timer https://git.kernel.org/netdev/net-next/c/ed3135d0881a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html