From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796225454; b=rjcdr91OWoRBxQwN11hCsbzZeXsUcI7pIBqpLvClYRBIw0Lz44c+3jTtzX78jTL8toTE tpKQC636AzqEs5b9pYo6bANK9SX9DfiWGNv79QIFhWfWmOr/t0AIJheJJUHKugkD2GlN1 874cZxZNno3l0p6xFAHKtHIHRFf88lnOWCwnEOfkIJpGLpSTXJYT+fQJaTQFVScFw5M+3 heOUD3YVkjoPSDCDnTmXXIeIyKuMPZRJHBtpLju4PIEsnwFpsdUfX0CXjV1SZwbgPO44T EKhKPsosFHwS1hNb9z60KgQBmr0VbF2D3k/Q3/W7iXJdbR3XUo4N5vjUOr9p9e0NFrw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796225454; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=q2R8tIFRJrq9JGzFT6kMOhaVbomaCIgpB1IIDySlkJs=; b=TtlOCjN5ifoAzAovaxQTLAjgrSo53Lgm4+W+7YvmrLVg5ohqok1GrHJFH6QVYAbJ3nEp 8MkySxDbO7t5S+LsPHQI4L1IEEyho0QiaCUvYh8p3C48EE4wtnygSZ6856m3ubQ0/j/Ff aqGILeqcKz7ZtabZ/Wpvqyb5BpvMeeUyc1zeP4GegOKPlGG2LXKzrkFsjH7ICPQFG7yxY p8PMhzVTqNmJTMrasI5ayYf94Hjf+0PdD5fNx0tEj+af9X73cuV5n8HXF6t5nis9veYX3 uSsjZDIkWnw1XesuIh4MsIo7LMZGFF62ymrq6f7L1vN0Z+k6bqDqjrpqxzR36MBSjCA== 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=GKuYSkRJ; arc=none smtp.remote-ip=100.103.45.18 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 1656D606A330 for ; Wed, 2 Dec 2026 15:30:53 +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: 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 Reply-To: sashiko-reviews@lists.linux.dev 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-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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