From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3B62331A61; Fri, 7 Aug 2026 15:23:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786116238; cv=none; b=DSCC3We2JUjfwoJu6DM6cV+8MMS87YnX6o3UZr70CImnZbD4krr6t/dGYtv2bjiUoxN0U75wE2n97iI/VtjQBQPiMQsyKKbh+M6wOB2pOSQoTX9SUSB+w2ZNFUltTrwTR8kyL1Zpt0bUEinOMt5baDrI5/I/2f0CLAa3fLFtYeM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786116238; c=relaxed/simple; bh=2kTF3am7C4S9pl/GxZSd6+bAEzgHRLTBjtTDO8KaIDo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UwdMopzgjb9upVp4Vfn7YuIjkj6QrJ7KXMUK6zBMIYn/dZSjTpcT7q0Bfj7asn+oAI2P60YszKthIlYAGv5pQVNgZOYdi+142bc5m/CnSJ/98E4lN+hh/kugA+LA5T6xZYvDgXJWz2io4CvuQjtYLXy6IQOkJqFwUGS1Q+p0czE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AzvX2K5l; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="AzvX2K5l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2410B1F000E9; Fri, 7 Aug 2026 15:23:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786116237; bh=0ysIrOiH1+Ruq7T1aRH/Icch4QN3Ffwiqou9TvkE9fA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AzvX2K5ljsO7iuoFMDYzIq4prHmqMjT/+vO1EeMfkCRKshMFd1UU/JaZ3g1Hp2gK4 xIrG6OiCVP1mRTHhVdWo3JXKkcEzKtcFcBL5e/wuNt+ryAIzvnOnmzIzyF2o0JvVZu mBpEQ78Gc3+cNXSWQY7pgqrL4lwbmb087j+2mXfM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Nava kishore Manne , Radhey Shyam Pandey , Michal Simek , Vinod Koul Subject: [PATCH 6.6 159/261] phy: zynqmp: fix L0_TM_DISABLE_SCRAMBLE_ENCODER mask Date: Fri, 7 Aug 2026 16:38:36 +0200 Message-ID: <20260807143418.798389352@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260807143415.358597922@linuxfoundation.org> References: <20260807143415.358597922@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nava kishore Manne commit 6cb22477929489a412df8d153e550e77a012e701 upstream. The L0_TX_DIG_61 register bit 2 is a reserved read-only field. The previous mask value 0x0f incorrectly included bit 2, causing unintended writes to a reserved bit on every scrambler bypass operation. Correct the mask to (BIT(3) | GENMASK(1, 0)) to cover only the valid scramble bypass control bits. Fixes: 4a33bea00314 ("phy: zynqmp: Add PHY driver for the Xilinx ZynqMP Gigabit Transceiver") Cc: stable@vger.kernel.org Signed-off-by: Nava kishore Manne Signed-off-by: Radhey Shyam Pandey Acked-by: Michal Simek Link: https://patch.msgid.link/20260627155229.2791113-2-radhey.shyam.pandey@amd.com Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/phy/xilinx/phy-zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/phy/xilinx/phy-zynqmp.c +++ b/drivers/phy/xilinx/phy-zynqmp.c @@ -52,7 +52,7 @@ #define L0_TM_DIG_6 0x106c #define L0_TM_DIS_DESCRAMBLE_DECODER 0x0f #define L0_TX_DIG_61 0x00f4 -#define L0_TM_DISABLE_SCRAMBLE_ENCODER 0x0f +#define L0_TM_DISABLE_SCRAMBLE_ENCODER (BIT(3) | GENMASK(1, 0)) /* PLL Test Mode register parameters */ #define L0_TM_PLL_DIG_37 0x2094