Skip to content

net: dsa: qca8k: multiple fix on mdio read/write

Christian Marangi lkml netdev stable 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesApplied 5/5
  2. v15 patches 1 replySuperseded

Changes in v2 from the cover letter

- Add cover letter
- Fix typo in revert patch

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: dsa: qca8k: fix wrong length value for mgmt eth packetdrivers/net/dsa/qca/qca8k-8xxx.c+35 -100 repliesApplied
2/5net: dsa: tag_qca: fix wrong MGMT_DATA2 sizeinclude/linux/dsa/tag_qca.h+2 -20 repliesApplied
3/5Revert "net: dsa: qca8k: cache lo and hi for mdio write"drivers/net/dsa/qca/qca8k-8xxx.c drivers/net/dsa/qca/qca8k.h+12 -540 repliesApplied
4/5net: dsa: qca8k: introduce single mii read/write lo/hidrivers/net/dsa/qca/qca8k-8xxx.c+84 -220 repliesApplied
5/5net: dsa: qca8k: improve mdio master read/write by using single lo/hidrivers/net/dsa/qca/qca8k-8xxx.c+6 -60 repliesApplied

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchRonald Wahl
1/5T-b
2/5T-b
3/5
4/5T-b
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [net PATCH v2 0/5] net: dsa: qca8k: multiple fix on mdio read/write

Due to some problems in reading the Documentation and elaborating it some wrong assumption were done. The error was reported and notice only now due to how things are setup in the code flow.

First 2 patch fix mgmt eth where the lenght calculation is very confusing and in step of word size. (the related commit description have an extensive description about how this mess works)

Last 3 patch revert the broken mdio cache and apply a correct version that should still save some extra mdio in phy poll secnario.

These 5 patch fix each related problem and apply what the Documentation actually say.

Changes v2:
- Add cover letter
- Fix typo in revert patch

Christian Marangi (5):
net: dsa: qca8k: fix wrong length value for mgmt eth packet
net: dsa: tag_qca: fix wrong MGMT_DATA2 size
Revert "net: dsa: qca8k: cache lo and hi for mdio write"
net: dsa: qca8k: introduce single mii read/write lo/hi
net: dsa: qca8k: improve mdio master read/write by using single lo/hi

 drivers/net/dsa/qca/qca8k-8xxx.c | 164 ++++++++++++++++++++-----------
 drivers/net/dsa/qca/qca8k.h      |   5 -
 include/linux/dsa/tag_qca.h      |   4 +-
 3 files changed, 109 insertions(+), 64 deletions(-)
Signature · 1 line
2.37.2