🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26151

Re: [PATCH net-next v6] net: stmmac: program the FSM timeout timer

#26151
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 04:40
29 lines
9173 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

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
Technical Details
Message-ID: <179627281225.2359732.9107720601263513136.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376293-linux-kernel-netdev=dewy.ru
References: <20261126115912.3145086-1-zxyan0222@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376293-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6] net: stmmac: program the FSM timeout timer
Date: Thu, 03 Dec 2026 04:40:12 +0000
Organization: Usenet Network
Message-ID: <179627281225.2359732.9107720601263513136.git-patchwork-notify@kernel.org>
References: <20261126115912.3145086-1-zxyan0222@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network; logging-data="2143749"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:OJVLWP5QuecNDBjqDw/q57HNPss= sha256:QeCOJ17rwG/Hd7HcKeb7VOlZ2PMvQ6FXzbjy7aUPcmA= sha1:UkQY/Tj1bIa87UGgAVu2PBw1+mM= sha256:LZ0NOUSyd8OqHyzip4lXTe0sXkMQDz6nnEgw7boNXvE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id AA5E9117820; Thu,  3 Dec 2026 07:40:48 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jC8fedXbhHNO; Thu,  3 Dec 2026 07:40:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376293-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 673E1117816; Thu,  3 Dec 2026 07:40:37 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 34A5628D82; Thu,  3 Dec 2026 04:40:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796272820; b=Xx3P7LXtz1WtlbIk9bCfLaYRdYbKBT4cRG9YOdhLATdBNRtlvr6vG3Xr//QQuZRsZ6xu GGwuCkSPEngTEp+2jcV8qKbp6NKVhIvO3GhmpIVy8OtW6Hzo48w7iddJhUopiXFvncNFd CFz0/tUFKNURxaURcqPbxaDqvAiH2gImWKjsdQONjaMjrBvD1ynDUbwfs0+1JqHCCBl6J U8i5UPUoW3nE+5ZyDM6f8u9ttVeW4L3Cw75glPYYSnaKMigdHOmMpC+lbC1whQ8honaXg RQqQLdh5YxDYUji6+Pqmrbk8CSa6sTZj0ewefucvPDfIzP6bl9kYD15aGvMGjXlX9ww==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796272820; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=73qDVcwNXmp5ILIp7FwPL9lhXLa4+cCK4Q5ADLaFXew=; b=Cr7GNiaQBh9AwHuADGk5P2iImcqjEwUGEj6tZW644lVWg1Bz7UWXkOLXhn5SbABduq2i Vi9IC5oYHUo3s4kfLYljou8tnoXG/fN4bCaBhK4BnGQj/V6RUMq5r+XDG6zoyXlxC8i3c pbGyeLSoDHroGAe4o6gmba1H51src515q/AyBCqDhU+k9kAX9K+oXpOjyASg2z81rudwA 9drlt+lIPighOdxBagCaxQ92fqEWdDE3oWzHq/hEU6v38pfjUGQjSKqQCh7vVqeFTlB54 4wWzgeLFKuICyGHOJeTZmE4+5nOD87ENFRE1J9+7+U9dcfXHmMgOEBX83eAPu/YhHCw==
X-ARC-Authentication-Results: i=2; 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=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04CCF60A2611; Thu,  3 Dec 2026 04:40:20 +0000 (UTC)
X-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
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-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==
X-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==
X-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
X-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)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B72051F000C1; Thu,  3 Dec 2026 04:40:13 +0000 (UTC)
X-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==
X-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)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261126115912.3145086-1-zxyan0222@gmail.com>
X-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-Received-Bytes: 8976