Article View: linux.kernel.netdev
Article #10236Re: [PATCH] mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure
From: Krzysztof Kozlowski
Date: Tue, 03 Nov 2026 10:40
Date: Tue, 03 Nov 2026 10:40
61 lines
10264 bytes
10264 bytes
On Tue, 03 Nov 2026 10:28:51 +0000, Wentao Liang 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.
>
> Fixes: c6b36bdd04b5 ("mlxsw: spectrum_ptp: Increase parsing depth when PTP is enabled")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
> drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)
>
Multiple things here:
1. Your team ignored completely previous feedback. Multiple times.
2. You use multiple identities with this email address, thus I doubt that we
speak with an actual person.
3. Your bot does not even bother running checkpatch, right?
4. Nothing of this was reproduced nor tested.
5. Finally, the same feedback:
You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.
More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.
This is on the verge of hostile patch: bomb us with so many
contributions, we won't be able to handle them in efficient manner,
like responding ONCE to ask you to slow down. Considering all this
is untested and LLM generated, I have even more doubts whether this
should be considered for review.
Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.
Best regards,
Krzysztof
Technical Details
Message-ID:
<20261103-convivial-prehistoric-deer-bcec5f@quoll>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355469-linux-kernel-netdev=dewy.ruReferences:
<20261103102851.1340480-1-vulab@iscas.ac.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355469-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] mlxsw: spectrum_ptp: release parsing depth on MTPPPC write failure Date: Tue, 3 Nov 2026 11:40:53 +0100 Organization: Usenet Network Message-ID: <20261103-convivial-prehistoric-deer-bcec5f@quoll> References: <20261103102851.1340480-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3147699"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:p2Pk/Wt08G1vItEPS9z8dMZ3Hns= sha256:dYjgv85oz2GGWb7fN01Nmf62wUutEw+7+ZMiHIFFWw4= sha1:fITG0iuLF3vezceQ6YqO1YBySPc= sha256:mdFDF0KfqAUtEQkzwHt+OH//4G1aEymVctYjb9A8dDs= Content-Disposition: inline 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 27FB511280A; Tue, 3 Nov 2026 14:02:37 +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 w4n81SL1mAde; Tue, 3 Nov 2026 14:02:30 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355469-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id AABFB1127BE; Tue, 3 Nov 2026 14:02:22 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id CF09B610576; Tue, 3 Nov 2026 10:51:01 +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=1793702458; b=5lWHl4LFGKa6FYGRY0vud9hscLBFr4IJj7L+0e+/uEFde/dDBzLrfkNepOFU+AXGnq3V 1z0HIa6Xffivj6nLo3uDir/7Jp7/qX+MVDyu1PH6JpNqdDK0mc2n/NJ3R5LHmYjaAzMwo o2aJIfW5v1RUAVmBxE0kpqv22EeWVx1xFccpL9VG8kdwm4z2426WBNTuEG/Ba28SJQR1l lQIJcM2OwLOsX1CFZdtFtf9db6ema8/e3kYPsdfl+q6HEpv7/hdzTkGVii6wV14e91c5x +8eFyaZoxm+trC2CsbQjL+hSLqdVMQ8V3ozyBJ2h+uviVk7K2lYCw7APFaZGipP5+ww== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793702458; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=9gRTKDN36/4ozZWtGoP7ulX2aHNkplmVxuLYjJ9WOe4=; b=Z1syhQSATSsW2yn/fFcRH430/XbSW0xEaKSEuRr2UY2vWfwSW4wgnp84dxo7bP/Cx2+N 8WVw+EcKs4qykmFF9mTTGNySSrg8+aeAlFjRmqCDQZxEYrAskGoZ2sWuEBm1EZ+l7xxpB Fkxqt2aJP3ysGl5Aj8kZskB5beZtiHwRsrP4OqtYuuv9haO4C3z3knF8YgTjgBhMFrY+0 kO/CwoPQ1th1pAmNTDl0edcs0DOVqP9F7ATjTwhCNttTMuGM0oY1CiOBWnEBirNyeEozr Am4KgaRvqJn+KIMp9yrQZE6PIuVRCeSA5FtcowOn0FqDZotSdCUeCJjqc3phljDrZDA== 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=YfSxmpnK; 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 0E4B560784AE; Tue, 3 Nov 2026 10:40:58 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=YfSxmpnK 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=1793702457; b=RvBEqPKFn4ixS8UEiIv3NzQJCyKalpe8lViJ2Bui7vC33QgCfgsB6+oaGFMTPQlS7057 xb/h87D6wg9bATEOgvyDhZ78dStjDOZAFTP7luDHbEcxWpS63DqvhGEha6KO6Hw6Ty8ve Smbqeb7mxkuDd/eotAyM9jKQdwik2+bt7yMHRSlHDDYv14+3bWcEBqh7F1+04keARJmLv pZesyt+CPgv7bAv5qncW5F790ylhpxqSPinnxicCu2jJyUiLklItfKdLmwxGq+9LsppjO l0pwvPDxMi8IgMZcq3KIbyyvmV6gBjpyeni6VkfV5FMbFF/4wMkEYFDhCJo9+zHkobQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793702457; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=9gRTKDN36/4ozZWtGoP7ulX2aHNkplmVxuLYjJ9WOe4=; b=Jou7Cn+IY0/AFACoE7/jraspaGXw3AGwzzN8PcxjWt66kve0/rLF4XojPZDa+CaEHJ07 VoenTfbl45dNXRnzboxuleRskb6XGXFtWxBf4/JAygBICRrQ5LJbGr8ILeaFUtO4XL2mx 5zbR8u9uE9VrfGg2axAl4JUENk14zpOWILVV2dmBCesLoMSE9w/nPkFKcAERI4NT4jA4m QQ8mZah5gEMudOo4y1B62UPgK81kNx3GsPFRCBFc82xUhM51MjREbLZjYhP/2jhlCNHEl 75ZhqGNd+Uulq26mPQge9xzpcUfPUeOLa3LKDHiy3bUpamnCC2QWYgVVqbTYfKxHcSQ== 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=YfSxmpnK; 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 E2EA4606B110; Tue, 3 Nov 2026 10:40:56 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFC241F000C1; Tue, 3 Nov 2026 10:40:55 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793702456; bh=9gRTKDN36/4ozZWtGoP7ulX2aHNkplmVxuLYjJ9WOe4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YfSxmpnKzw8lVduPpGEe9IlP7yT+QWryAJnxeEvZwSNINJPlapwroyoNjgrOFvbEc qhU/jXX1kKETv51KmLCq9a/Py3zICATatDpqBTfCEqxPesRZTVpAa+tdZqLH/fg5by YyJyQOLmooBvt7jwYXDSRIjPuFgymMY/ghi4QceCZB95FMwxlOV3+mitX61ynitpJB Fv3Q9jLRknCRRKLn8Iub50+QnEKakZ9zXqjXAaREykRg8Fj9snH1qPphG1RHQvGnK/ me3UhCvEIZLfphpk5LjQPKc3MH8chrZwXaBk2EzqRyD7ETMywUjQngC3REq9TBqWIp e5YHFgaBm5avg== X-Cc: Petr Machata <petrm@nvidia.com>, Eric Dumazet <edumazet@kernel.org>, Andrew Lunn <andrew+netdev@lunn.ch>, Paolo Abeni <pabeni@redhat.com>, stable@vger.kernel.org, "David S. Miller" <davem@davemloft.net>, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Ido Schimmel <idosch@nvidia.com>, Jakub Kicinski <kuba@kernel.org> 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>