Article View: linux.kernel.netdev
Article #14114Re: [PATCH] mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 18:23
Date: Tue, 10 Nov 2026 18:23
27 lines
8872 bytes
8872 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 3 Nov 2026 10:28:51 +0000 you wrote:
> mlxsw_sp1_ptp_mtpppc_update() increases the global parsing depth
> reference count before writing the MTPPPC register when timestamping
> is enabled for the first time. If the register write fails, the
> reference count remains elevated even though no timestamping
> configuration was installed, and nothing will ever release it.
>
> Drop the reference count again when the write fails. Also only drop it
> when disabling timestamping after the write succeeded, so that the
> reference count always matches the programmed state.
>
> [...]
Here is the summary with links:
- mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure
https://git.kernel.org/netdev/net-next/c/1dadb4afc18c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179433499317.4118637.15079674330639490953.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360518-linux-kernel-netdev=dewy.ruReferences:
<20261103102851.1340480-1-vulab@iscas.ac.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360518-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure Date: Tue, 10 Nov 2026 18:23:13 +0000 Organization: Usenet Network Message-ID: <179433499317.4118637.15079674330639490953.git-patchwork-notify@kernel.org> References: <20261103102851.1340480-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="675148"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:YXr+eLpJNe2BqOWM5cmh4dZ4/c4= sha256:Vtk5a61O79yBfai1N7Q+m+0eF2rMis/MG6w4dfSX0dU= sha1:FuXcbUDSmy/yqOveBA8V/QCoQSo= sha256:JtQVL66RVIWSiP7JWILYmTS6x+8NMl4pzYN4uPzuIsU= 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 51C57113CC3; Tue, 10 Nov 2026 21:44:48 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 F4G3rGajcPqe; Tue, 10 Nov 2026 21:44:40 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360518-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 F1097113CBD; Tue, 10 Nov 2026 21:44:31 +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 24C13162F81; Tue, 10 Nov 2026 18:24:32 +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=1794335001; b=rFcAWCXqPtePpwxhqwVHzhZogA5kwYnY8C/tzTlM9kQVT96PGlApcq/3CAq7VZqG3pYB NlwB13ICuOhk9PNyAtoOArXirIWW9d46mhV7JT2QIQAnSwX/Gta4EIU0vwmWjex9bSwrO 6hhzQD/B5RiYRRvIlQqK0MKMBtDHaxabupcTtWoVhGLFxrcWHHYvtGOf1hwewPrjplYSV 997loUGPnpbDuT04e3fozJI8V/dTjB+Y0bEDYgZaKmJZZeb9jR1ry4A4FhBOz6k70R8Nb z4q0eGa7J3FaUsuGIxVKpImUJAwU+eIZ3UM4QFndhuw3XJwlI1pYOulxDvXzLLc4Ruw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794335001; 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=We72cBQExcEry0dpzv58lEZ3IS/nG1fvq2tyV0GkB9A=; b=1Bmycll7BZy8aSKVKH5n6+EsNWXdsP7bLDCyoPTs6/RpoE4b6FibImYcEgTlMRjgNh26 EqbF5tGG7QFOD/n8zeAlzB16aL0AdudTXuwTzKbqGJivqxHr+N1fJR8fpZEH+BFQ6ou7d zhhdEjpwNElRpoiQccGRKGEc2P37XDgaQ7o0PlmsrsCORJyGWlQtKi2U3XPpftOZ2wqlI 6lnUliwScmrkZYHncm0Kl9KDNE9iB9Hx00GAqjmcnE4kRbpRIjnjgqPpbu2lGla2G2rvG qPpewf6Cx2oOwcXuKBiH1RpUnV4LlYyQgFhG2UR/ktW//UX5Ne8P+kSvUAIfI5iCa0w== 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=cldSBui0; 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 344F060A6F47; Tue, 10 Nov 2026 18:23:21 +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=cldSBui0 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=1794334995; b=MtMVXfZIv3dFYRA97NJjNqpJMKD7oBcS/FTXZDoss8kNJd8HDo65T6xBnPwHdvFxEYlJ Q0qmw+C4EpF9M/NGEZLrUlWbOdr+ywIiW/EbxylELm+f+ltW+VF51WAPE3u7e6YS2GBrS 7hWgq78HBRaVcOy7xpvvg/2DbMQiZLSaw/j4cz2aCAd6ssX/vYSZSOlU4qV7aVii/YDez kXhGvZ7E9DwBTtqzq00PaF8Ed/Nfopf2geXQNMH58IY9QIlVDUF/U2YQE9G2ayL44rIIp lSkbb3m2C+xttYycMz7HHVarQth3GUDdt6cU9QpXCIoYtAZitfe1LByS+1Lbaa8kNEg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794334995; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=We72cBQExcEry0dpzv58lEZ3IS/nG1fvq2tyV0GkB9A=; b=lf3oZ2iscooMpuzQQ5U9bqo3V/J4gye4fKwkdhrDzHYT8f3f9AnAvVQqEz5wXP45kIoU fDAXZ2AeIYKpNmGyE03PLoBShU2FSONiKGbL7Sjrq2xScTqZEPTs9YPgmNCCDfnWyTeRP cZ3a7R7IleyGWfXb414AS3jFUZK34sQCOOVTwCkrM1ZfcF8b2A6Ch6EGQeskxxYx+OrYs 2JdkHy2D+9gHoGNhibdL7ll3pG66MagTD8jRYOdxEn8T2B5eFhtC4W2GpKv1Ms5hdxj0F +zgGGYK2hDA8r5HstwGcgohvVBGxNbb5ADsusMasuD3tH+SlzdIRnXO256UqWcZ5yig== 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=cldSBui0; 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 1809C606A327; Tue, 10 Nov 2026 18:23:14 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A50161F008AB; Tue, 10 Nov 2026 18:23:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794334994; bh=We72cBQExcEry0dpzv58lEZ3IS/nG1fvq2tyV0GkB9A=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=cldSBui0L+HHGmkjZa92Gf5hoKSc5DFfJZjU0c6UovfrDp6NPzQwQOIWk7kZvAcSs XE8eO7P/CxBGNvZMX1tja06MFooyZahbp2OpR5saavkr+nEo8pvru+t0pmQt1n+lqu 5pBiyUa4Uuf6WYe0Ex8ec41UHZdVzI9QPoLtzSRaW5tTA20QEr4qZZoD0LE6dYz+rf PHguTH0KW6JtalXRTvusX1tIj2a+uQUt9Nl+ssM4o0Cc6r/RqeDmCosa8TtFVG4OL8 No1MOiqt6+epjWfDyIVw7nUS7H3kVHXa1iRN2JNSsjywD7ktUFUFKZ6U+G1EK7ISJR FYbQhk7+8fo3A== 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 9B0D039D608B; Tue, 10 Nov 2026 18:23:14 +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: <20261103102851.1340480-1-vulab@iscas.ac.cn> X-Cc: idosch@nvidia.com, petrm@nvidia.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org