]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
amd-xgbe: align CL37 AN sequence as per databook
authorRaju Rangoju <Raju.Rangoju@amd.com>
Mon, 30 Jun 2025 19:26:36 +0000 (00:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:11 +0000 (16:03 +0200)
commita133683c05677c8ade96d85d6c0027c4d535dc81
tree3f0e7908ae7d6a175c54ef6ed9fbc4ce4e36343f
parentf2ca04cbf01db8cf56cdc9b14edd1042024a2dcf
amd-xgbe: align CL37 AN sequence as per databook

[ Upstream commit 42fd432fe6d320323215ebdf4de4d0d7e56e6792 ]

Update the Clause 37 Auto-Negotiation implementation to properly align
with the PCS hardware specifications:
- Fix incorrect bit settings in Link Status and Link Duplex fields
- Implement missing sequence steps 2 and 7

These changes ensure CL37 auto-negotiation protocol follows the exact
sequence patterns as specified in the hardware databook.

Fixes: 1bf40ada6290 ("amd-xgbe: Add support for clause 37 auto-negotiation")
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20250630192636.3838291-1-Raju.Rangoju@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-common.h
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
drivers/net/ethernet/amd/xgbe/xgbe.h