Add support for mv88e6393x family of Marvell
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v17 Latest4 patches 4 repliesApplied 4/4
- v166 patches 3 repliesSuperseded
- v156 patches 8 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v14 | 6 patches | 12 replies | Superseded |
Changes in v17 from the cover letter
- dropped patches adding 5gbase-r, since they are already merged
- rebased onto net-next/master
- driver API renamed set_egress_flood() method into 2 methods for ucast/mcast floods, so this is fixed
Patches in v17 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: dsa: mv88e6xxx: change serdes lane parameter type from u8 type to intdrivers/ drivers/ drivers/ +2 more | +99 | 0 replies | Applied |
| 2/4 | net: dsa: mv88e6xxx: wrap .set_egress_port methoddrivers/ drivers/ | +33 | 3 replies | Applied |
| 3/4 | net: dsa: mv88e6xxx: add support for mv88e6393x familydrivers/ drivers/ drivers/ +5 more | +771 | 0 replies | Applied |
| 4/4 | net: dsa: mv88e6xxx: implement .port_set_policy for Amethystdrivers/ drivers/ drivers/ | +99 | 1 reply | Applied |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn | Vladimir Oltean | Pavana Sharma |
|---|---|---|---|
| 1/4 | R-b | R-b | |
| 2/4 | R-b | R-b | |
| 3/4 | |||
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next v17 0/4] Add support for mv88e6393x family of Marvell
Hello,
after 2 months I finally had time to send v17 of Amethyst patches.
This series is tested on Marvell CN9130-CRB.
Changes since v16:
- dropped patches adding 5gbase-r, since they are already merged
- rebased onto net-next/master
- driver API renamed set_egress_flood() method into 2 methods for ucast/mcast floods, so this is fixed
Changes from v15:
- put 10000baseKR_Full back into phylink_validate method for Amethyst, it seems I misunderstood the meaning behind things and removed it from v15
- removed erratum 3.7, since the procedure is done anyway in mv88e6390_serdes_pcs_config
- renumbered errata 3.6 and 3.8 to 4.6 and 4.8, according to newer version of the errata document
- refactored errata code a little and removed duplicate macro definitions (for example MV88E6390_SGMII_CONTROL is already called MV88E6390_SGMII_BMCR)
Changes from v14:
- added my Signed-off-by tags to Pavana's patches, since I am sending them (as suggested by Andrew)
- added documentation to second patch adding 5gbase-r mode (as requested by Russell)
- added Reviewed-by tags
- applied Vladimir's suggestions:
- reduced indentation level in mv88e6xxx_set_egress_port and
mv88e6393x_serdes_port_config
- removed 10000baseKR_Full from mv88e6393x_phylink_validate
- removed PHY_INTERFACE_MODE_10GKR from mv88e6xxx_port_set_cmode
Changes from v13:
- added patch that wraps .set_egress_port into mv88e6xxx_set_egress_port, so that we do not have to set chip->*gress_dest_port members in every implementation of this method
- for the patch that adds Amethyst support:
- added more information into commit message
- added these methods for mv88e6393x_ops:
.port_sync_link
.port_setup_message_port
.port_max_speed_mode (new implementation needed) .atu_get_hash
.atu_set_hash
.serdes_pcs_config
.serdes_pcs_an_restart
.serdes_pcs_link_up
- this device can set upstream port per port, so implement .port_set_upstream_port
instead of
.set_cpu_port
- removed USXGMII cmode (not yet supported, working on it)
- added debug messages into mv88e6393x_port_set_speed_duplex
- added Amethyst errata 4.5 (EEE should be disabled on SERDES ports)
- fixed 5gbase-r serdes configuration and interrupt handling
- refactored mv88e6393x_serdes_setup_errata
- refactored mv88e6393x_port_policy_write
- added patch implementing .port_set_policy for Amethyst
Marek
Marek Behún (2):
net: dsa: mv88e6xxx: wrap .set_egress_port method
net: dsa: mv88e6xxx: implement .port_set_policy for Amethyst
Pavana Sharma (2):
net: dsa: mv88e6xxx: change serdes lane parameter type from u8 type to
int
net: dsa: mv88e6xxx: add support for mv88e6393x family
drivers/net/dsa/mv88e6xxx/chip.c | 233 +++++++++++++--- drivers/net/dsa/mv88e6xxx/chip.h | 20 +- drivers/net/dsa/mv88e6xxx/global1.c | 19 +- drivers/net/dsa/mv88e6xxx/global1.h | 2 + drivers/net/dsa/mv88e6xxx/global2.h | 8 + drivers/net/dsa/mv88e6xxx/port.c | 397 +++++++++++++++++++++++++--- drivers/net/dsa/mv88e6xxx/port.h | 48 ++++ drivers/net/dsa/mv88e6xxx/serdes.c | 338 ++++++++++++++++++++--- drivers/net/dsa/mv88e6xxx/serdes.h | 98 ++++--- 9 files changed, 1002 insertions(+), 161 deletions(-)
Signature · 1 line
2.26.2