net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 1 replyIn review
- v32 patches 3 repliesSuperseded
- v21 patch 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 0 replies | Superseded |
Changes in v4 from the cover letter
- Use dev_dbg() instead of dev_info() in the fixup, quirks do not print anything (Andrew Lunn).
- Collect Reviewed-by on patch 1.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: sfp: move sfp_strlen() above the quirk fixupsdrivers/ | +14 | 0 replies | |
| 2/2 | net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T revisions A and Bdrivers/ | +25 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v4 0/2] net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T
Some "OEM SFP-10G-T" copper modules have no RollBall I2C-to-MDIO bridge, but the SFP-10G-T quirk forces RollBall on all of them. The PHY probe then retries for over nine minutes under rtnl_lock before the module links up without a PHY. This series skips the PHY probe for the bridge-less revisions A and B, and leaves other revisions, which do have a bridge, unchanged.
Patch 1 moves sfp_strlen() so the fixup can use it, with no functional change. Patch 2 adds the fixup.
This does not re-introduce the generic RollBall bridge probe reverted in commit b521003c27eb ("Revert "net: phy: sfp: probe for RollBall I2C-to-MDIO bridge in mdio-i2c""): the probe path, its timeouts and the MDIO bus creation for genuine RollBall modules are untouched. Further bridge-less revisions of this part number may exist; they can be added once their lack of a bridge is confirmed on hardware.
This series is based on net-next. Patch 2 has a trivial context conflict in the quirk table with the pending "net: sfp: add ODI quirk and sort SFP quirk entries" series [1]; I can rebase whichever lands second.
[1] https://lore.kernel.org/netdev/[email protected]/
Changes in v4:
- Use dev_dbg() instead of dev_info() in the fixup, quirks do not print anything (Andrew Lunn).
- Collect Reviewed-by on patch 1.
Changes in v3:
- Target net-next and drop the Fixes: tag: rev A never worked without the stall, so this is not a regression (Andrew Lunn).
- Split the sfp_strlen() move into its own patch (Andrew Lunn).
Changes in v2:
- Match the vendor revision with sfp_strlen(), so NUL-padded revisions are accepted like the rest of the quirk matching.
- Spell out in the commit message how the rev B module reaches this quirk entry (its part number depends on the peer speed).
v3: https://lore.kernel.org/netdev/[email protected]/
v2: https://lore.kernel.org/netdev/[email protected]/
v1: https://lore.kernel.org/netdev/[email protected]/
Daniel Pawlik (2):
net: sfp: move sfp_strlen() above the quirk fixups
net: sfp: skip PHY probe on bridge-less OEM SFP-10G-T revisions A and
B
drivers/net/phy/sfp.c | 54 +++++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 15 deletions(-)
Signature · 1 line
2.56.1