Skip to content

net: dsa: mv88e6xxx: prepare Wait Bit operation

Vivien Didelot netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net: dsa: mv88e6xxx: wait for 88E6185 PPU disableddrivers/net/dsa/mv88e6xxx/global1.c+1 -10 replies
2/7net: dsa: mv88e6xxx: introduce wait mask routinedrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/chip.h drivers/net/dsa/mv88e6xxx/global1.c +1 more+41 -520 replies
3/7net: dsa: mv88e6xxx: introduce wait bit routinedrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/chip.h drivers/net/dsa/mv88e6xxx/global1.c +5 more+73 -500 replies
4/7net: dsa: mv88e6xxx: wait for AVB Busy bitdrivers/net/dsa/mv88e6xxx/global2_avb.c+27 -20 replies
5/7net: dsa: mv88e6xxx: remove wait and update routinesdrivers/net/dsa/mv88e6xxx/chip.c drivers/net/dsa/mv88e6xxx/chip.h drivers/net/dsa/mv88e6xxx/global1.c +4 more+22 -670 replies
6/7net: dsa: mv88e6xxx: fix SMI bit checkingdrivers/net/dsa/mv88e6xxx/smi.c+1 -10 replies
7/7net: dsa: mv88e6xxx: add delay in direct SMI waitdrivers/net/dsa/mv88e6xxx/smi.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/7] net: dsa: mv88e6xxx: prepare Wait Bit operation

The Remote Management Interface has its own implementation of a Wait Bit operation, which requires a bit number and a value to wait for.

In order to prepare the introduction of this implementation, rework the code waiting for bits and masks in mv88e6xxx to match this signature.

This has the benefit to unify the implementation of wait routines while removing obsolete wait and update functions and also reducing the code.

Vivien Didelot (7):
net: dsa: mv88e6xxx: wait for 88E6185 PPU disabled
net: dsa: mv88e6xxx: introduce wait mask routine
net: dsa: mv88e6xxx: introduce wait bit routine
net: dsa: mv88e6xxx: wait for AVB Busy bit
net: dsa: mv88e6xxx: remove wait and update routines
net: dsa: mv88e6xxx: fix SMI bit checking
net: dsa: mv88e6xxx: add delay in direct SMI wait

 drivers/net/dsa/mv88e6xxx/chip.c            | 76 ++++++++---------
 drivers/net/dsa/mv88e6xxx/chip.h            |  7 +-
 drivers/net/dsa/mv88e6xxx/global1.c         | 95 ++++++---------------
 drivers/net/dsa/mv88e6xxx/global1.h         |  5 +-
 drivers/net/dsa/mv88e6xxx/global1_atu.c     |  7 +-
 drivers/net/dsa/mv88e6xxx/global1_vtu.c     |  6 +-
 drivers/net/dsa/mv88e6xxx/global2.c         | 72 +++++++++-------
 drivers/net/dsa/mv88e6xxx/global2.h         | 12 +--
 drivers/net/dsa/mv88e6xxx/global2_avb.c     | 29 ++++++-
 drivers/net/dsa/mv88e6xxx/global2_scratch.c |  3 +-
 drivers/net/dsa/mv88e6xxx/smi.c             |  4 +-
 11 files changed, 155 insertions(+), 161 deletions(-)
Signature · 1 line
2.22.0