public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [net PATCH v2 0/5] net: dsa: qca8k: multiple fix on mdio read/write
@ 2022-12-29 16:33 Christian Marangi
  2022-12-29 16:33 ` [net PATCH v2 1/5] net: dsa: qca8k: fix wrong length value for mgmt eth packet Christian Marangi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Christian Marangi @ 2022-12-29 16:33 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Christian Marangi,
	Russell King (Oracle), netdev, linux-kernel

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(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-01-01 12:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-29 16:33 [net PATCH v2 0/5] net: dsa: qca8k: multiple fix on mdio read/write Christian Marangi
2022-12-29 16:33 ` [net PATCH v2 1/5] net: dsa: qca8k: fix wrong length value for mgmt eth packet Christian Marangi
2022-12-29 16:33 ` [net PATCH v2 2/5] net: dsa: tag_qca: fix wrong MGMT_DATA2 size Christian Marangi
2022-12-29 16:33 ` [net PATCH v2 3/5] Revert "net: dsa: qca8k: cache lo and hi for mdio write" Christian Marangi
2022-12-29 16:33 ` [net PATCH v2 4/5] net: dsa: qca8k: introduce single mii read/write lo/hi Christian Marangi
2022-12-29 16:33 ` [net PATCH v2 5/5] net: dsa: qca8k: improve mdio master read/write by using single lo/hi Christian Marangi
2023-01-01 12:00 ` [net PATCH v2 0/5] net: dsa: qca8k: multiple fix on mdio read/write patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox