From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796272814; b=kfOi8ENX80YmGZvhiAaknNtq/6OUUAWzTE4YTvfUh7BRvgJik8SvGp9COF0uE7rhBbQ8 LE+0NUXgh1lgsV1lIBnqv73uTkYg9vLeYfh+CcczzQ+c7Qwa1t5dwTZtiAZJWsMpSUitl GUmbKV9hz1r1PlS0kA23EYA/OQKOtQrnrv+aeORgNNRpzbae7V9UHZ6YlGFVcIPgZzwBk H3K1w3PK0r1rjiymcDJbrvvkTWqXXmLM9sOnIkVxi52WijxoE+5XqxHlvK/FLjiRquaF/ BMDuFiuCAq7O8VrqNnd4RgdmphPdjYhOwt/sMFdFeiOdIaq6fNW0tOwm3IOzh/3PPPA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796272814; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=73qDVcwNXmp5ILIp7FwPL9lhXLa4+cCK4Q5ADLaFXew=; b=EpLTakCj7b+doBzgiG7ZVgiPuADDQ5LCkCddjxrGAwAPksZJWg8+RWrnHtW24sPzAy3n FuEGM4/Rvw2JTnwrqoh6Zyz4FGwFCF42/i+GnsJIOVIYKH33I54pWQw69KmCllHKiy0wm UMsUvqvPDDG5ZdCRPS7C70UTqI5hA66JmUj4eEouygH47bdiB2CPPnDNV6iCCgtpg/REP bR55wkDIuzP6hYMCfDlo3uj1S0cx4ZorxbtwFYGP4PG6/QZxJUMZ4kWWL0lLq+Gj506Kq lElnTwUrrt8tMO1AfvflDPh8jU8vFdjXidi3/O/j5BGKpHsyG50LvQO54X6ldoG32wg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DvRWBb1O; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26CCE606A32D; Thu, 3 Dec 2026 04:40:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DvRWBb1O 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-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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