From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98F2D606A31A for ; Wed, 2 Dec 2026 15:31:06 +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=GKuYSkRJ Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 146F11122AC; Wed, 2 Dec 2026 15:31:01 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id C23EC1122AC for ; Wed, 2 Dec 2026 15:30:54 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id F3DBB62180; Wed, 2 Dec 2026 15:30:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E58791F00899; Wed, 2 Dec 2026 15:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796225453; bh=q2R8tIFRJrq9JGzFT6kMOhaVbomaCIgpB1IIDySlkJs=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=GKuYSkRJJ8rKDqK4+hzgqHbVAZ/CEYJP2+PqvuUbwhjnichhIZ71HFFZvH9QID6VY 6Prrb0rr7ENG6p0S00jBWTX+LZlRGuR3evicfqunEUlImwg9yJADGG+XhU2rrOWhZF c/Pq5EaI3i+QPtcUXNh6nid70k77nrWCAP1mfR6Dz11hhX9ihBKuitTcZetxbxHDfp DOtNz4XLvsYd/7BbFw0IjHr93jnSDVNC49B0oDPV5zxGpcw28JwZTuJ4z9rHOzQJrH kfckpIgLxoSNzAleRid9uwbTDH2NJepmS3Ua53czFbC0ZqKYOIObveoOdFz0+KWZMB hSfG4ShcwgpuA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 22/22] phy: cadence-torrent: support 8 lanes on the sd0801 PHY To: "Benjamin Robin" Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-phy@lists.infradead.org, robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org, olteanv@gmail.com In-Reply-To: <20261202-phy-cadence-torrent-ng-v2-22-0b493387347b@bootlin.com> References: <20261202-phy-cadence-torrent-ng-v2-0-0b493387347b@bootlin.com> <20261202-phy-cadence-torrent-ng-v2-22-0b493387347b@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 15:30:52 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] phy: cadence-torrent: mask_available_lanes 0x0F blocks 8-lane support -- commit 4cd07b2392984febe0d7ed29322fdd4014b9aee3 Author: Benjamin Robin phy: cadence-torrent: support 8 lanes on the sd0801 PHY This commit raises MAX_NUM_LANES from 4 to 8 to support up to 8 lanes on the Cadence Torrent SD0801 PHY. > diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cade= nce/phy-cadence-torrent.c > index 21ad6c30a3f20..5a3e307f6c969 100644 > --- a/drivers/phy/cadence/phy-cadence-torrent.c > +++ b/drivers/phy/cadence/phy-cadence-torrent.c > @@ -22,7 +22,7 @@ > #include > =20 > #define DEFAULT_NUM_LANES 4 > -#define MAX_NUM_LANES 4 > +#define MAX_NUM_LANES 8 [Severity: High] Does cdns_map_torrent.mask_available_lanes also need to be updated from 0x0F to 0xFF? tp_set_used_lanes() checks mask_lanes against tp_data->init_data->mask_available_lanes, which is still 0x0F in cdns_map_torrent, so probing any subnode that uses lanes 4..7 will fail with -EINVAL. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202-phy-cadenc= e-torrent-ng-v2-0-0b493387347b@bootlin.com?part=3D22