summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-09-25 16:56:24 -0700
committerJakub Kicinski <kuba@kernel.org>2026-09-25 16:58:26 -0700
commit23d937de306d428ee2a459b250ae891c8795fb00 (patch)
tree3716edcdae643eaaa3030ec0a22e962d46dedfba /tools/lib/python
parenta529f9258da5cbfe6d313651ceabda23892e5027 (diff)
parentf342b1208f8df6c6b4c45d0702e6f150357d0143 (diff)
Merge branch 'net-macb-1000base-x-on-internal-pcs'
Nathan Whitehorn says: ==================== net: macb: 1000BASE-X on internal PCS This series adds support for 1000BASE-X autonegotiation to the Cadence macb driver when using the MAC-internal PCS. The existing driver code is oriented toward the PCS being used with an on-board SGMII PHY, so uses Cisco SGMII-style autonegotiation exclusively and does not anticipate e.g. link state changes arising from fiber attach/detach events since the SGMII endpoint is permanently attached in such cases. The first patch changes the driver to monitor the PCS's link by polling, following the approach used currently by this driver for fixed links when the PCS is enabled since the driver does not currently monitor PCS link state otherwise and this had not come up with permanently-attached SGMII PHYs that report link state out of band. The second extends the existing SGMII autonegotiation code to also support 1000BASE-X autonegotiation. Tested on Microchip PolarFire SoC with a variety of SFPs (copper, fiber, GPON) attached to the I/O Bank-5 PCS lines. Thanks to Charles Perry, Andrew Lunn, Paolo Abeni, Théo Lebrun, and Jakub Kicinski for helpful suggestions and discussion on this patch series. As a brief summary of that discussion, there are a few areas near this patch that are existing non-idealities in the macb driver, in particular that it uses polling to monitor link-state with the internal PCS and the driver does not currently have support for using the link-state change interrupt. The intention is to address this in a later patch that would remove polling from both this case and the fixed-link one. Other discussion in earlier rounds of the patches was related to handling some ZynqMP-specific code that is related to specific SGMII-only hardware that is not relevant in the 1000BASE-X case. ==================== Link: https://patch.msgid.link/20260922151429.23272-1-nwhitehorn@pa.msu.edu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions