Article View: linux.kernel.netdev
Article #6243Re: [PATCH net] net: lan969x: fix DSM calendar for empty taxis
From: patchwork-bot+netdevbpf
Date: Thu, 22 Oct 2026 00:30
Date: Thu, 22 Oct 2026 00:30
28 lines
8941 bytes
8941 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 20 Oct 2026 10:58:35 +0200 you wrote:
> lan969x_dsm_calendar_calc() computes the DSM calendar schedule of one
> taxi. sparx5_config_dsm_calendar() calls it for each taxi, reusing the
> same sparx5_calendar_data.
>
> Before this patch, the schedule is only cleared after the n_devs == 0
> early return. For a taxi with no active ports, the function writes
> SPX5_DSM_CAL_EMPTY only to schedule[0] and leaves the remaining slots
> at whatever they held before. For the first taxi that is zero from
> kzalloc(), so sparx5_dsm_cal_len() returns a bogus length and
> sparx5_dsm_calendar_check() fails, which fails the probe:
>
> [...]
Here is the summary with links:
- [net] net: lan969x: fix DSM calendar for empty taxis
https://git.kernel.org/netdev/net/c/a031ec9ff5a2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179262901535.1378903.9048135017181445808.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350322-linux-kernel-netdev=dewy.ruReferences:
<20261020-lan969x-dsm-empty-taxi-v1-1-14790f1e7430@microchip.com>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-350322-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: lan969x: fix DSM calendar for empty taxis Date: Thu, 22 Oct 2026 00:30:15 +0000 Organization: Usenet Network Message-ID: <179262901535.1378903.9048135017181445808.git-patchwork-notify@kernel.org> References: <20261020-lan969x-dsm-empty-taxi-v1-1-14790f1e7430@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="94787"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:qgVg+6m+Otmg+8kKi3J1op0GwlE= sha256:fg/QOBX+ygqgwm0U472UP/4D+id1RieXmjnLJMn1fAY= sha1:NewNStfSXIFpga/FK5vpzAG3K7M= sha256:cWP+5nCmRI38SXW5Otl5PtPoqJWX9TlX1+Ko7rtbIVE= 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 A86A911112C; Thu, 22 Oct 2026 03:31:19 +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 LVwb6QUYKpfp; Thu, 22 Oct 2026 03:31:12 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-350322-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 D69A211112F; Thu, 22 Oct 2026 03:31:02 +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 0542060D190; Thu, 22 Oct 2026 00:30:27 +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=1792629023; b=OnJheHBdtXKG1kEmDhbGMOf2tC6EUwGpxPY6Wqgwphtn/ujXE56C+ZDoMIJZrafflzAV K+XNTxP1kUM0tQ6UFWbUkSC+k3UcjPY24IedRIR9oR+WfFiMtLgTliraXXPdDHpxSOJ8S IM2VrrRc46aVlieXJknte6RWfup4/dGlnZl2DwZT+6LLMOc5DnMckos8kuo6GdP5XZBy0 U4LIR4ZgVabVW76RD+bhYWCYv7guShv1MGQwa3t5/vx+hQvrLUj53nWToevQgZQRPd8BU LZ415lAIuGjfQpbZxJILEOLnXZe44CT0kZ0xY8d3TzvZVI3p5T5R28iSuHrO3zZmoDQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792629023; 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=QtjVuPQ7kn36ZSPJwBclqThMAgXwOY5mVnGvm7BncAQ=; b=ZheUuEw0KeGC6XI6YsUAu31jXNdMNHlWSl2HBpRBGPf31UKY/aAC5YErew+gQj3UGIb4 aEebzyE3+dpQYGi3LXcOKpBSPCVY7zxQ2FqsogXBwKsqqZ2sF9U2wZY5aMwFiK1uVAyvr 1IkKeK7u/xEGPEgb+iNZNjkxscKDxnYjYGyTG9Yu7Yk6V7YKY470mPlRFqw+doK0X0+43 vDmFxAdiScPFWTeDh6DyfN5qfYNxzMfiRe++AE4O3z41GLQzTp47rg0eaVIiPZb3ztYmb WfLf40Cw7g/Xoa8vf92Uoyz4HkpXixFQbFwOx+v/J7u7M4U/dPpqjt+FtdE8q5jW3EA== 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=kfqR6qkx; 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 3F302606A32D; Thu, 22 Oct 2026 00:30:23 +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=kfqR6qkx 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=1792629017; b=5K/yM/0eo/7D/Dg1OwlUPGyZtvVBLnyXZUs3Mvsn8XTZC+9CuPtMClz/8suMTMnfq0Hk qotHTtdrkLkJygDnysCg3cU/0TBy8dhoEkEuJmwp0SGoIQJUK2k69Pw2tCCHV82CfLNnF BSKefQxOlOeqFEf+Hn7jNhyH3mDpGJHXxtC9YnOPzGxOVZyBnH+6yLMplrwtpVNNhaGL/ IqaNHCCUEKziDz8JQ3gCxFPO5VuFNA8I3KNRs0Jw3WqDcW4LwzOY4fZRGqXUydxHoDuKt uqKqPSTJQBjjjb+dr6aDdFfzrqOlsjk90u8jPKx5gu6888MN4qFWdfYpYRvOleQoOyA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792629017; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=QtjVuPQ7kn36ZSPJwBclqThMAgXwOY5mVnGvm7BncAQ=; b=xjwEHeEsT7e1UF175dB8T/prjEBlRccwlXNjsNHXq6JYq49n7GoF5vRm8B0CeSt2eFh4 OVHnMRTo73sEV802xPJL0d5NbsW03Z54YIaKbkHAIODf1+S2+FHZwg/947fL+WewvsiWv 7gDpX5eamCi/vAFiobchns1+7xHrlzPimSQ9ma9rLmkE9EeR1oshQmW5f9f9J1x1VqE4i S9yqAIzLfIzx+gkVuhq/Q8uwxPRv3EROO8wTee3j0OU/fhjLYNm0kmmQleopwrJvF5l75 CSQ7KldNDfWOhz35Y2cCNEt3kCOi8KOI52CISaLVMPpbHXa96KkIzZB8M87ZoEm2azA== 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=kfqR6qkx; 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 25311606A31E; Thu, 22 Oct 2026 00:30:16 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF2071F000C5; Thu, 22 Oct 2026 00:30:16 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792629016; bh=QtjVuPQ7kn36ZSPJwBclqThMAgXwOY5mVnGvm7BncAQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=kfqR6qkxczncMYElE4BFVnPnI+W2MBigg4WNj/sN7Xf7KYaCbop0JoygzdEpJvI2Z 1PjaOLIo/djkdiBvtyX/4p3/Q4MZVQmNZGYJ1cOrIAVmK513u+AKPE7AE44R8uizI8 u8shg3eMO1XMFOBbVNlxTEjSiIuvnaV/pf+Zdc2KTujryjArKRaEwrlkxCJuDAVwB2 JVa8YyxubTfYBYxqmgF0BOYNeF/1Wz+wP8QjiYeBEyu0xDFATbjIE+HFY6IrcRywln TZn0/VhP4rXq5e74Un6QY2dbPgRfYVrX5l98FqioJWsiPXx9+TDTHRdQ2mkBH8wQAn inPTpvGtxsnmA== 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 B427E380A963; Thu, 22 Oct 2026 00:30:16 +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: <20261020-lan969x-dsm-empty-taxi-v1-1-14790f1e7430@microchip.com> X-Cc: UNGLinuxDriver@microchip.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, Steen.Hegelund@microchip.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org